Multilingual text translation
Project description
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
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
text-translator-1.5.tar.gz
(3.5 kB
view details)
File details
Details for the file text-translator-1.5.tar.gz
.
File metadata
- Download URL: text-translator-1.5.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20cd7886fe3b83f084608f5a80b30316e77bbda81f34b540824ec871aa7117ce |
|
MD5 | 76287db95b776b00c28d24a63b607b91 |
|
BLAKE2b-256 | 1bbbe4d09125cba7100df3d2d408ec9a178f27c26ec31c0bdbfe3e301560603c |