Difference between revisions of "Northern Sámi and Norwegian/Commands"

From Apertium
Jump to navigation Jump to search
(explanations)
(meh)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The '''commands for Northern Sámi to Norwegian''' partly deviates from other apertium pairs, because of the intermediate status of the hfst tools.
The '''commands for Northern Sámi to Norwegian''' are listed here. The standard one is:


* <nowiki>cat text.txt | preprocess | apertium -f none -d . sme-nob</nowiki>
* <nowiki>cat text.txt | apertium -d . sme-nob</nowiki>


... 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.
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 more of the translation.
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 more of the translation.


* '''sme-nob-morph'''
* '''sme-nob-morph'''
** Files: ''sme-nob.automorf.hfst''
** Files: sme-nob.automorf.hfst
** gives all the morphological readings ("fst")
** FST, gives all the morphological readings
* '''sme-nob-tagger'''
* '''sme-nob-tagger'''
** Files: ''sme-nob.rlx.bin sme-nob.prob''
** Files: sme-nob.mor.rlx.bin sme-nob.syn.rlx.bin
** disambiguates and adds syntactic tags ("dis")
** disambiguates and adds syntactic tags ("dis")
* '''sme-nob-biltrans'''
** Files: sme-nob.autobil.bin
** translates disambiguated analyses from sme to nob
** bidix apertium-sme-nob.sme-nob.dix
* '''sme-nob-lex'''
* '''sme-nob-lex'''
** Files: ''sme-nob.lex.bin''
** Files: sme-nob.lex.bin
** selects the right nob-analysis
** replaces wordform/lexeme pair with lexeme only
** lexical selection according to CG file sme-nob.lex
** lexical selection according to CG file sme-nob.lex
* '''sme-nob-chunker'''
* '''sme-nob-chunker'''
** Files: apertium-sme-nob.sme-nob.t1x sme-nob.autobil.bin
** Files: apertium-sme-nob.sme-nob.t1x sme-nob.t1x.bin
** Norwegian lexemes and grammatical properties
* '''sme-nob-interchunk1'''
* '''sme-nob-interchunk1'''
** Files: apertium-sme-nob.sme-nob.t2x sme-nob.t2x.bin
** Files: apertium-sme-nob.sme-nob.t2x sme-nob.t2x.bin

Latest revision as of 11:31, 13 June 2014

The commands for Northern Sámi to Norwegian are listed here. The standard one is:

  • cat text.txt | apertium -d . sme-nob

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 more of the translation.

  • sme-nob-morph
    • Files: sme-nob.automorf.hfst
    • FST, gives all the morphological readings
  • sme-nob-tagger
    • Files: sme-nob.mor.rlx.bin sme-nob.syn.rlx.bin
    • disambiguates and adds syntactic tags ("dis")
  • sme-nob-biltrans
    • Files: sme-nob.autobil.bin
    • translates disambiguated analyses from sme to nob
    • bidix apertium-sme-nob.sme-nob.dix
  • sme-nob-lex
    • Files: sme-nob.lex.bin
    • selects the right nob-analysis
    • lexical selection according to CG file sme-nob.lex
  • sme-nob-chunker
    • Files: apertium-sme-nob.sme-nob.t1x sme-nob.t1x.bin
  • sme-nob-interchunk1
    • Files: apertium-sme-nob.sme-nob.t2x sme-nob.t2x.bin
  • sme-nob-interchunk2
    • Files: apertium-sme-nob.sme-nob.t3x sme-nob.t3x.bin
  • sme-nob-postchunk
    • Files: apertium-sme-nob.sme-nob.t4x sme-nob.t4x.bin
  • sme-nob
    • Files: sme-nob.autogen.bin