Skip to main content

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

Release files for pybacktrans 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pybacktrans 0.1.4
File Interpreter ABI Platform
pybacktrans-0.1.4-py3-none-any.whl Python 3 none any Details

Release files / pybacktrans-0.1.4-py3-none-any.whl

Download URL pybacktrans-0.1.4-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cc39d351c5dfdca8af940d4c68faeae013199dc374dacf1c85787d1d9d31f63f
BLAKE2b-256 checksum
How to use checksums
5cd3dbdfdf124e72d4c33876e486d32d47799d31adb779267c58637da574e158
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file

0.1.3

1 release file

0.1.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page