Text Translator
This project provide a python package along with pre-trained models to perform machine translation on text
Getting Started
Below instructions will get you a copy of the project up and running your local machine for development and testing purposes.
Prerequisites
python>=3.6
Installing
pip install text-translator
Usage
-
Loading Library
from translator import Translator translator = Translator() -
Model Loading(Pretrained models for multiple language conversion can be found here)
translator.load_model(MODEL_PATH) -
Prediction
translator.translate("What is your name?") आपका नाम क्या है?translator.translate(["What is your name?","What is your age?"]) आपका नाम क्या है? आपकी उम्र क्या है?
Pretrained Models
Authors
License
This project is licensed under the Apache License - see the LICENSE.md file for details
Acknowledgments
Metadata
Release files for text-translator 1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| text-translator-1.5.tar.gz | 3.5 kB | Details |
Release files / text-translator-1.5.tar.gz
| Download URL | text-translator-1.5.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20cd7886fe3b83f084608f5a80b30316e77bbda81f34b540824ec871aa7117ce
|
|
BLAKE2b-256 checksum How to use checksums |
1bbbe4d09125cba7100df3d2d408ec9a178f27c26ec31c0bdbfe3e301560603c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.3
|