iTRANSLIT
iTRANSLIT is a deep learning based transliteration package for indic language
Installation
pip install itranslit
Dependency
pytorch 1.7.0 or 1.7.0+
NB: No GPU need. It's CPU based.
Supported Language and Language Code
| Language Name | Langauage Code |
|---|---|
| Bangla | bn |
| Gujarati | gu |
| Hindi | hi |
| Punjabi | pa |
| Sindhi | sd |
| Urdu | ur |
| Malayalam | ml |
| Tamil | ta |
API
from itranslit import Translit
translit = Translit('bn')
word = "aami"
output = translit.predict(word, topk=10)
print(output)
Datasets and Training Details
- We used Google Dakshina Dataset
- Thanks to AI4Bharat for providing training notebook with details explanation
- We trained Google Dakshina lexicons train datasets for 10 epochs with batch size 128, 1e-3, embedding dim = 300, hidden dim = 512, lstm, used attention
- We evaluated our trained model with Google Dakshina lexicon test data using AI4Bharat evaluation script
- You can find evaluation summary here
Metadata
Release files for itranslit 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| itranslit-1.0.2.tar.gz | 10.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| itranslit-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.9 kB
Release files / itranslit-1.0.2.tar.gz
| Download URL | itranslit-1.0.2.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0037839eb6ac2a5ed7c6261c7a25887985f011f2cea47d37843d3d9860308a3f
|
|
BLAKE2b-256 checksum How to use checksums |
95c1dce6f2fa0445fb7f010616a0e796227b584a9099f74583f0247c1499febd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|
Release files / itranslit-1.0.2-py3-none-any.whl
| Download URL | itranslit-1.0.2-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff6cb7d38c221b81eddd427828c82fce4fa7bcb10c57dc4530077ec58c4627da
|
|
BLAKE2b-256 checksum How to use checksums |
7c4436f4146a92fab63d922596e5fa2826b332ef6bece1b14ee7fc625cd5aa31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|