Some parts of this website may do not work correctly, because your browser doesn't support JavaScript or you have disabled it. In order to use all features please enable JavaScript in your browser.

Specification for annotator > lexicon > bilexicon

bilexicon

Simple bilingual lexicon for machine translation.

Languages

de, en, es, fr, it, pl, pl, pl, pl, pl

Examples

tp-tokenizer --lang pl ! morfologik ! bilexicon --lang pl --trg-lang en ! simple-writer --tags bilexicon

Read text, tokenize, produce morphologic interpretations of eachword, generate translations for all morphological interpetations,return simplified output: filtered to show only translations.

in:
powieść o kosmitach
out:
novel+subst|conduct+subst|succeed+verb
about+prep|of+prep|on+prep|for+prep|against+prep|at+prep
spaceman+subst|alien+subst|extraterrestrial+subst

Options

Allowed options:
  --lang arg (=guess)                   language
  --force-language                      force using specified language even if 
                                        a text was resognised otherwise
  --trg-lang arg                        target language
  --binary-lexicon arg (=%ITSDATA%/%LANG%%TRGLANG%.bin)
                                        path to the lexicon in the binary 
                                        format
  --plain-text-lexicon arg              path to the lexicon in the plain text 
                                        format
  --save-binary-lexicon arg             as a side effect the lexicon in the 
                                        binary format is generated

Other help resources