Metadata-Version: 2.1
Name: tg2fa_translit
Version: 1.0
Summary: Translate Tajik texts to Persian with the help of a seq2seq model
Author: stibiumghost
Description-Content-Type: text/markdown

# tg2fa_translit

A Tajik-to-Persian transliteration model.
It shows a Levenshtein ratio of 0.988.

## Installation
```pip install tg2fa_translit```

## Dependency
- `numpy`
- `torch`

## API

```py
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

