Skip to main content

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.9.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

pangeamt_tea-0.2.9-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file pangeamt-tea-0.2.9.tar.gz.

File metadata

  • Download URL: pangeamt-tea-0.2.9.tar.gz
  • Upload date:
  • Size: 15.9 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

Hashes for pangeamt-tea-0.2.9.tar.gz
Algorithm Hash digest
SHA256 d9f8e7015eb2d2d854b837682f5656ecf1fa5a24008a2dc29bc785b64268f772
MD5 bb4aebe359929a737b11b364bb152366
BLAKE2b-256 da280518d0ed645bc96969d4f308062efb12d7451245c8e999d1a8fb38fbd7aa

See more details on using hashes here.

File details

Details for the file pangeamt_tea-0.2.9-py3-none-any.whl.

File metadata

  • Download URL: pangeamt_tea-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 21.8 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

Hashes for pangeamt_tea-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 e8876c7f31786d27e8619cf8e30dead8555a11f5a2ed7c22f81b6c2193f3ace1
MD5 78735c6d7ea62a25fb46cb663e15b414
BLAKE2b-256 cd37f19fab805501d98540bfb97db3b37ccdabc60dec9d64a6a2cea26e5b7c20

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page