Skip to main content

Translate Tajik texts to Persian with the help of a seq2seq model

Reason this release was yanked:

Misleading documentation

Project description

tg2fa_translit

A Tajik-to-Persian transliteration model.

Installation

pip install tg2fa

Dependency

  • numpy
  • keras

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


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-0.1.tar.gz (9.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tg2fa_translit-0.1-py3-none-any.whl (9.1 MB view details)

Uploaded Python 3

File details

Details for the file tg2fa_translit-0.1.tar.gz.

File metadata

  • Download URL: tg2fa_translit-0.1.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

Hashes for tg2fa_translit-0.1.tar.gz
Algorithm Hash digest
SHA256 abf9e65e0a2c180baca7565d92a52eafdfc9284fac64340e9ce560ab4f1b5418
MD5 919af23c728590b345584ea46b1e0548
BLAKE2b-256 10bb7072aac9e12875e3277f2023dd2424061fe27ca461ca400c72d1c500d037

See more details on using hashes here.

File details

Details for the file tg2fa_translit-0.1-py3-none-any.whl.

File metadata

  • Download URL: tg2fa_translit-0.1-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

Hashes for tg2fa_translit-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 37db6da4668cae95a19279caa49f9cef2c37f7aa2aeef294c1531fb3607b61e2
MD5 1ce2cb3e29f7fc50371c130c97bdcc74
BLAKE2b-256 563e5b9b961a5814859a6b8877d3218a8926cd8ce5b812135dc8f545f4e961fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page