mariantranslate
Simple translator using Marian NMT.
installation
$ pip install mariantranslate
or install from source:
$ git clone https://github.com/galuhsahid/mariantranslate
$ cd mariantranslate
$ make install_src
usage
View the list of available languages here.
from mariantranslate import Translator
lang_from = "en" # source language
lang_to = "id" # target language
en_id_translator = Translator(lang_from, lang_to)
en_id_translator.translate("Due to the limited vegetation cover of the Faroe Islands, it is relatively easy to follow the history of geology.")
>>> Karena tumbuhan terbatas menutupi Kepulauan Faroe, relatif mudah untuk mengikuti sejarah geologi.
Metadata
Release files for mariantranslate 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mariantranslate-0.1.8.tar.gz | 2.8 kB | Without provenance | Details for mariantranslate-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mariantranslate-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for mariantranslate-0.1.8-py3-none-any.whl |
Total release size: 6.3 kB
Release files / mariantranslate-0.1.8.tar.gz
| Download URL | mariantranslate-0.1.8.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f2ec3fc6bde7c4490e94a0162faf3b8177be8a847cf4c711a3faba3c1394458
|
|
BLAKE2b-256 checksum How to use checksums |
2cb4beacb33339b7157e5b9e4eff1c769aa8760bb806b9384d598e82c02e8063
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
|
Release files / mariantranslate-0.1.8-py3-none-any.whl
| Download URL | mariantranslate-0.1.8-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ceef3ded283007585b5378732deaea829bd3f392f227374e6192a75c289e0fb
|
|
BLAKE2b-256 checksum How to use checksums |
00133f8f3be7290dab5cd9b6412a49d77953ec56a79c19539ffbce97aeeb48f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
|
Security for mariantranslate 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.