Machine translation for Everyone
Project description
@TexTra
Machine translation for Everyone
Install
pip install textra
Usage
$ trans --help
usage: trans [-h] [--name NAME] [--key KEY] [--secret SECRET] [--engine ENGINE] [-s SOURCE] [-t TARGET] text
positional arguments:
text
options:
-h, --help show this help message and exit
--name NAME User ID
--key KEY
--secret SECRET
-e ENGINE, --engine ENGINE
-s SOURCE, --source SOURCE
-t TARGET, --target TARGET
Examples
$ trans 'I am God. You are Dog.'
私は神だお前は犬だ
$ trans -s ja -t en 吾輩は猫である
I am the cat
You can get the key and secret from here.
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
textra-0.6.tar.gz
(3.2 kB
view details)
Built Distribution
textra-0.6-py3-none-any.whl
(3.4 kB
view details)
File details
Details for the file textra-0.6.tar.gz
.
File metadata
- Download URL: textra-0.6.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d5307cba0ce735a89aed655eead5bdb53e602bd93f532c307cc8810ff1e479d |
|
MD5 | a60af3db65581fa11521637f2e3795a9 |
|
BLAKE2b-256 | f84f190d995df844547e17fc417b34cab5310c308f59d27faec72cd6ba6ea67a |
File details
Details for the file textra-0.6-py3-none-any.whl
.
File metadata
- Download URL: textra-0.6-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc358daa41cb32455d51027e4fd0ec41f3da9f29f72d4533485786344699cc89 |
|
MD5 | c7dc8799e2cf2c9b0cb6cf73feba051a |
|
BLAKE2b-256 | 5200061becb9d52923c51af0d512ca91b04b2fbe38ee1ab89c7a5ad15c067194 |