PyBacktrans: Python library for backtranslation
Project description
Py-Backtrans
Python library for backtranslation
Installation
$ pip install pybacktrans
Usage
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'
Reference
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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 pybacktrans-0.1.4-py3-none-any.whl.
File metadata
- Download URL: pybacktrans-0.1.4-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.27.0 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc39d351c5dfdca8af940d4c68faeae013199dc374dacf1c85787d1d9d31f63f
|
|
| MD5 |
9bd35c124a1644aac0a48fbd0d0f5fc8
|
|
| BLAKE2b-256 |
5cd3dbdfdf124e72d4c33876e486d32d47799d31adb779267c58637da574e158
|