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

Uploaded Source

Built Distribution

pangeamt_tea-0.1.0-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pangeamt-tea-0.1.0.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

File hashes

Hashes for pangeamt-tea-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c42fb52ef42ee189937ba700e968b32dd24151f78284f8255435ce8c31325785
MD5 69e8f93b2b61e17f48d304148157131f
BLAKE2b-256 117218793eff4a00b6da1603c5269992e1866574d27ccae646f5ffd275261b8d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pangeamt_tea-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

File hashes

Hashes for pangeamt_tea-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a294a4e719175ab01a2e8c419809881b19aaf0325f5cc25045d26fc4346dae57
MD5 f671a3223a53de226653b401a442b34a
BLAKE2b-256 dbc83b1eac42127e4337bd300fd5c174a83abf183c606f755778daaeaf143fd6

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