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.1.1.tar.gz
(14.2 kB
view hashes)
Built Distribution
Close
Hashes for pangeamt_tea-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8268601d17d6ce760402736cb0d62caaf873dc724480a08d9d00a4d53ca7e253 |
|
MD5 | c2eaee23b573dfe147e26d5bf039f9f5 |
|
BLAKE2b-256 | 8d76cbce90819cea1fa504c1cba878fecf0670e870a7142a77bb0a00c8bdb152 |