Translate Tajik texts to Persian with the help of a seq2seq model
Project description
tg2fa_translit
A Tajik-to-Persian transliteration model. It shows a Levenshtein ratio of 0.988.
Installation
pip install tg2fa_translit
Dependency
numpytorch
API
from tg2fa_translit import convert
tg_text = 'То ғами фардо нахӯрем!'
fa_text = convert(text)
print(fa_text)
'تا غم فردا نخوریم!'
# Depending on your setup, the resulting string can be displayed incorrectly.
Datasets and Training Details
For more details visit https://github.com/stibiumghost/tajik-persian-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
tg2fa_translit-1.0.tar.gz
(3.5 MB
view details)
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-1.0.tar.gz.
File metadata
- Download URL: tg2fa_translit-1.0.tar.gz
- Upload date:
- Size: 3.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
928a437abf67b5806351481b86c0c41b047bb0bab2240df07aa1e76d892af6f7
|
|
| MD5 |
55b3e1aafcc7bfc6cda4489ca1ef85ee
|
|
| BLAKE2b-256 |
49587cfe683c6dfc9493f3b607c6a1f352036841f8cdae055e0c98dabd54236a
|
File details
Details for the file tg2fa_translit-1.0-py3-none-any.whl.
File metadata
- Download URL: tg2fa_translit-1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e67991b19b9faf33492a12accb3b91713e83265ca5a7e2b6a0bc81ecfbdcf464
|
|
| MD5 |
c86b51749167ccee355efebf59f2abc5
|
|
| BLAKE2b-256 |
6a4dd115ffe897476102ec22ccdd8fa4d36f86b6f6120558fa7c994791e74313
|