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.18.tar.gz
(17.5 kB
view details)
Built Distribution
File details
Details for the file pangeamt-tea-0.2.18.tar.gz
.
File metadata
- Download URL: pangeamt-tea-0.2.18.tar.gz
- Upload date:
- Size: 17.5 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.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ae469262b41defce86f3cc58d5c2b5cdae0a8837861fe3a93cee7f256ae414a |
|
MD5 | 55552d83c0667bd9302ceea94828b027 |
|
BLAKE2b-256 | 628202315a08f8cc12e8c774c799b3623083ae391d747792c51202adbbc44c48 |
File details
Details for the file pangeamt_tea-0.2.18-py3-none-any.whl
.
File metadata
- Download URL: pangeamt_tea-0.2.18-py3-none-any.whl
- Upload date:
- Size: 23.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.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75de89ef90f998b06468ef4577ca93c923564e44af0ec23f5554e1130781399e |
|
MD5 | 84af7c3e8ac177d22863113d675aeb60 |
|
BLAKE2b-256 | 190aae381f7cc25a79acd53be2ff4cd26044ff642d603d50ddd9244792eeb043 |