State of the art translation for Indic languages.
Project description
Anuvaad
State of the art translation models for Indic languages.
Installation
# CPU pytorch will be installed if torch is not installed
pip install --upgrade anuvaad
Usage
from anuvaad import Anuvaad
anu = Anuvaad("english-telugu")
# Single sentence translation
# beam_size is optional and defaults to 4
anu.anuvaad("YS Jagan is the chief minister of Andhra Pradesh.")
# "వైఎస్ జగన్ ఆంధ్రప్రదేశ్ ముఖ్యమంత్రి."
# Batch translation
anu.anuvaad(["YS Jagan is the chief minister of Andhra Pradesh.",
"Nara Lokesh suffered a humuliating defeat in Mangalagiri."])
# ['వైఎస్ జగన్ ఆంధ్రప్రదేశ్ ముఖ్యమంత్రి.', 'మంగళగిరిలో నారా లోకేష్కు ఘోర పరాజయం ఎదురైంది.']
| Available Models |
|---|
| english-telugu |
| english-tamil |
| english-malayalam |
| english-kannada |
| english-marathi |
| english-hindi |
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
anuvaad-1.0.1.tar.gz
(4.2 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
File details
Details for the file anuvaad-1.0.1.tar.gz.
File metadata
- Download URL: anuvaad-1.0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e373169275feec4c7959f9ee22a3279598f7958a97f24632545042ed8f986a32
|
|
| MD5 |
45152fcea7cc5296216c1fce0f9c8f70
|
|
| BLAKE2b-256 |
ed5ba25df1bf7fbdacec18ae34af6b63c5f9401ee7a855053307aba1622a4106
|
File details
Details for the file anuvaad-1.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: anuvaad-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c553d1cf5eb464ad0a2bfc258e4552829bdf01ac8b09bf98a85e886d032268ca
|
|
| MD5 |
f5f8f7d1597da9e81eea2f1ebb365cf1
|
|
| BLAKE2b-256 |
b09cad8a5feae6087431412ba65dd0cc9e0521d10438ee85d18501835ef86172
|