TEA - Translation Engine Architect
Project description
# TEA - Translation Engine Architect
A command line tool to create translation engine.
## Install First install [pipx](https://github.com/pipxproject/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
Built Distribution
Hashes for pangeamt_tea-0.0.103-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d18608d86263dd0ada4cb880e63e061c3024f6f688051ad93d48b72c948c699b |
|
MD5 | 3b4f4e427dc3e195e3ba093def27031a |
|
BLAKE2b-256 | 50c2cd3ce2961354c24c3fc05a34d471cf5cce675afaf269978e59b075794e37 |