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
ieš#guhtet -- iesj#guhtik
$ echo "iešguđetge" | osme
0%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>100%
iešguđetge	ieš#guhtege+Pron+Indef+Pl+Nom
iešguđetge	ieš#guhtet+Pron+Indef+Acc+Foc/ge
iešguđetge	ieš#guhtet+Pron+Indef+Gen+Foc/ge
iešguđetge	ieš#guđet+Pron+Indef+Foc/ge

$ echo "iesj#guhtik+Pron+Indef+Gen+Foc/ge" | dsmj
0%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>100%
iesj#guhtik+Pron+Indef+Gen+Foc/ge	iesj#guhtik+Pron+Indef+Gen+Foc/ge	+?

$ echo "iesj#guhtik+Pron+Indef+Foc/ge" | dsmj
0%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>100%
iesj#guhtik+Pron+Indef+Foc/ge	iesj#guhtik#ge
iesj#guhtik+Pron+Indef+Foc/ge	iesj#guhtikge
iesj#guhtik+Pron+Indef+Foc/ge	iesjguhtik#ge
iesj#guhtik+Pron+Indef+Foc/ge	iesjguhtikge

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