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.20.tar.gz
(18.0 kB
view details)
Built Distribution
File details
Details for the file pangeamt-tea-0.2.20.tar.gz
.
File metadata
- Download URL: pangeamt-tea-0.2.20.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19a9fcd711fe856d6aff036b332585646bbc9de9abdba593350dca6fa21e5520 |
|
MD5 | 3302a38bc8d0d14fb049f876acdc0dd7 |
|
BLAKE2b-256 | 5b7d44151dbd739cae7e43b409623db9168cbc343198ca889843ea6fb7410373 |
File details
Details for the file pangeamt_tea-0.2.20-py3-none-any.whl
.
File metadata
- Download URL: pangeamt_tea-0.2.20-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e164f2af4421cff48e9d279218d2aea53ccb66b46896aed03dd22ca36104c4b8 |
|
MD5 | 409787c182072c86f51999b7fbb4447c |
|
BLAKE2b-256 | 431dc2db36b0dfd7746764d0c70cc0d00bf4d575c9c3cb543556e0902d299197 |