iTRANSLIT is a deep learning based transliteration package for indic language
Project description
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
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
itranslit-1.0.2.tar.gz
(10.8 kB
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
itranslit-1.0.2-py3-none-any.whl
(10.1 kB
view details)
File details
Details for the file itranslit-1.0.2.tar.gz.
File metadata
- Download URL: itranslit-1.0.2.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0037839eb6ac2a5ed7c6261c7a25887985f011f2cea47d37843d3d9860308a3f
|
|
| MD5 |
dc1b999d39b4bc7eee6836f98b4206ef
|
|
| BLAKE2b-256 |
95c1dce6f2fa0445fb7f010616a0e796227b584a9099f74583f0247c1499febd
|
File details
Details for the file itranslit-1.0.2-py3-none-any.whl.
File metadata
- Download URL: itranslit-1.0.2-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff6cb7d38c221b81eddd427828c82fce4fa7bcb10c57dc4530077ec58c4627da
|
|
| MD5 |
2e01677c9b8a4ee8edd6ef0fbb0c07fb
|
|
| BLAKE2b-256 |
7c4436f4146a92fab63d922596e5fa2826b332ef6bece1b14ee7fc625cd5aa31
|