Northern Sámi and Norwegian/Commands

From Apertium
< Northern Sámi and Norwegian
Revision as of 07:12, 2 April 2010 by Trondtr (talk | contribs) (first aid)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The commands for Northern Sámi to Norwegian partly deviates from other apertium pairs, because of the intermediate status of the hfst tools.

  • cat text.txt | preprocess | apertium -f none -d . sme-nob

... where preprocess is short for any process giving one word at a line. The part -d . indicates that the command is given in the apertium-sme-nob catalogue, otherwise replace "." with a path to this catalogue.

In addition to the full mode sme-nob, there are several other modes. The string sme-nob above may be replaced by any of these, each one doing less of the translation.

  1. sme-nob
  2. sme-nob-postchunk
  3. sme-nob-interchunk2
  4. sme-nob-interchunk1
  5. sme-nob-chunker
  6. sme-nob-lex
  7. sme-nob-tagger
  8. sme-nob-morph