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.10.tar.gz
(16.0 kB
view details)
Built Distribution
File details
Details for the file pangeamt-tea-0.2.10.tar.gz
.
File metadata
- Download URL: pangeamt-tea-0.2.10.tar.gz
- Upload date:
- Size: 16.0 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.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a495453576f1dba44d7e1b90ba455796573802bfad9c640780e09e849ed43596 |
|
MD5 | 733f656b45dc2a4a5e4504d493183275 |
|
BLAKE2b-256 | 50896bb473ab65f843d9153df35b9c75a0681b69686d297a6d479fab73dff181 |
File details
Details for the file pangeamt_tea-0.2.10-py3-none-any.whl
.
File metadata
- Download URL: pangeamt_tea-0.2.10-py3-none-any.whl
- Upload date:
- Size: 21.9 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.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5379007188baf34fdab06c58a19dc6de38d7a41b51baa5f49b2f0c37411a98aa |
|
MD5 | d5015e6a6f40b0e0d027248c6de1d034 |
|
BLAKE2b-256 | 61bfb36339b1cd0d63b8150c738bb95dfb89a851b0bececa542ebc289bf1034e |