Translate Tajik texts to Persian with the help of a seq2seq model
Project description
tg2fa_translit
A Tajik-to-Persian transliteration model.
Installation
pip install tg2fa_translit
Dependency
numpykeras
API
from tg2fa_translit.conversion import convert
text = 'То ғами фардо нахӯрем'
print(convert(text)) # can be printed in reverse order; in this case copy-paste the output or write directly to a file
Datasets and Training Details
The model shows a Levenshtein ratio of 0.96. See the dataset here: https://github.com/stibiumghost/tajik-persian-transliteration
Acknowledgment
Based on https://github.com/bashartalafha/Arabizi-Transliteration.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tg2fa_translit-0.9.tar.gz.
File metadata
- Download URL: tg2fa_translit-0.9.tar.gz
- Upload date:
- Size: 9.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.13 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb3966d3545b8dbeb03d12c4345398857bbc3212a0134df98839db2f30f71cc3
|
|
| MD5 |
d2ceceff76e6866c27033c0b6a9399f5
|
|
| BLAKE2b-256 |
0432e4b08fa0283bc23a6a1d1b33389590960d77171037b8bf30ba68798bf6f3
|
File details
Details for the file tg2fa_translit-0.9-py3-none-any.whl.
File metadata
- Download URL: tg2fa_translit-0.9-py3-none-any.whl
- Upload date:
- Size: 9.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.13 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd1d2e352f5e6c57302443774fa5675e7d0fa4f377b596ae4cdb726ae6005a48
|
|
| MD5 |
5777315431cbab6aaaf57f2275b7451e
|
|
| BLAKE2b-256 |
433a4cd68054b561e317c75688d937a89b3707e0a5238af23851470142aa54d2
|