Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

PyBacktrans: Python library for backtranslation

Project description


Python library for backtranslation


$ pip install pybacktrans


Basic Usage

>>> from pybacktrans import BackTranslator
>>> translator = BackTranslator()
>>> result = translator.backtranslate('Good Morning', src='en', mid='fr')
>>> result
# <BackTranslated src=en, mid=fr, text=Hello>
>>> result.src_text
# 'Good Morning'
>>> result.mid_text
# 'Bonjour'
>>> result.text
# 'Hello'


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pybacktrans, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size pybacktrans-0.1.4-py3-none-any.whl (6.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page