TEA - Translation Engine Architect
Project description
TEA - Translation Engine Architect
A command line tool to create translation engine.
Install
First install pipx then:
pipx install pangeamt-tea
Usage
Step 1: Create a new project
tea new --customer customer --srcLang es --tgtLang en --flavor automotion --version 0.0.1
This command will create the project directory structure:
├── customer_es_en_automotion_0.0.1
│ ├── config.yml
│ └── data
Then enter in the directory
cd customer_es_en_automotion_0.0.1
Step 2: Configuration
Tokenizer
A tokenizer can be applied to source and target
tea tokenizer --src mecab --tgt moses
To list all available tokenizer:
tea tokenizer --list
Truecaser
tea truecaser --src --tgt
BPE
tea bpe -s -t
data['processors'], data['tokenizer'], data['truecaser'], data['bpe'], data['trainer'])
Step 3:
Copy some multilingual ressources (.tmx, bilingual files, .af ) into the 'data' directory
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 Distribution
pangeamt-tea-0.2.14.tar.gz
(16.7 kB
view details)
Built Distribution
File details
Details for the file pangeamt-tea-0.2.14.tar.gz
.
File metadata
- Download URL: pangeamt-tea-0.2.14.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0.post20200511 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b8743be30f1c4ec7fb4abdd2a4d3003989989992787ce2e8bd198fddc08903f |
|
MD5 | 3abf0d476606a9b89dc360073298b0c8 |
|
BLAKE2b-256 | bb2616fad4d14e7a3970e6a730eeb09383cadc03268e3b2b1b2e9766f6fc65c4 |
File details
Details for the file pangeamt_tea-0.2.14-py3-none-any.whl
.
File metadata
- Download URL: pangeamt_tea-0.2.14-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0.post20200511 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c898821207b0c14ea78d1e0e5f010ad6c61284ce808020eafdc182acdc5dcf03 |
|
MD5 | 2945bacb633966a67ed1afa153de990f |
|
BLAKE2b-256 | 2e47c119ff4f47fbf7cea48b6c7f44ea37665b8d2f68d838a2de78a708353da7 |