North Saami and Lule Saami

From Apertium
Jump to navigation Jump to search

Files

  • apertium-sme-smj.sme.dix — Northern Sami transducer
  • apertium-sme-smj.sme-smj.dix — Transfer lexicon
  • apertium-sme-smj.smj.dix — Lule Sami transducer
  • apertium-sme-smj.sme-smj.rlx — Constraint grammar
  • apertium-sme-smj.sme-smj.t1x — Transfer rule file (level 1 -- Local re-ordering, chunking)
  • apertium-sme-smj.sme-smj.t2x — Transfer rule file (level 2 -- Phrase and chunk re-ordering)
  • apertium-sme-smj.sme-smj.t3x — Transfer rule file (level 3 -- Final touches)

TODO

Tagset mismatches=

eará -- ietjá
$ echo "eará" | osme
191480 0
eará	eará+Pron+Indef+Sg+Nom
eará	eará+Pron+Indef+Sg+Gen
eará	eará+Pron+Indef+Sg+Acc
eará	eará+Pron+Indef+Attr

$ echo "ietjá+Pron+Indef+Attr" | dsmj
0%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>100%
ietjá+Pron+Indef+Attr	ietjá+Pron+Indef+Attr	+?
buot -- divnna
$ echo "buot" | osme
0%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>100%
buot	buot+Adv
buot	buot+Pron+Indef

$ echo "divnna" | osmj
0%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>100%
divnna	divnna+Pron+Indef+Sg+Nom
divnna	divnna+Pron+Indef+Attr

Reminders

  • In the transfer rule files, don't forget to escape the '+' character in tags, for example:
no: <attr-item tags="@+FMAINV"/> ,
yes: <attr-item tags="@\+FMAINV"/>

Testing

$ echo "Wikipedia lea máŋggagielat prošeakta man ulbmilin lea ráhkadit almmolaš diehtosátnegirjji \
  gosa gii beare sáhttá čállit artihkkaliid." | apertium -d . sme-smj
#Wikipedia la moattegielak prosjækta/prosjäkta #mij #ulmme la dahkat almulasj #diehtobáhkogirjje 
  #masi guhti beru máhttá tjállet artihkkalijt.

See also

External links