Skip to main content

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.




pip install text-translator


  1. Loading Library

    from translator import Translator
    translator = Translator()
  2. Model Loading(Pretrained models for multiple language conversion can be found here)

  3. Prediction

    translator.translate("What is your name?")  
    आपका नाम क्या है?
    translator.translate(["What is your name?","What is your age?"])
    आपका नाम क्या है?
    आपकी उम्र क्या है?

Pretrained Models



This project is licensed under the Apache License - see the file for details


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 hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page