Difference between revisions of "North Saami and Lule Saami"

From Apertium
Jump to navigation Jump to search
Line 1: Line 1:
{{TOCD}}
{{TOCD}}


This page gives some details about the North Sámi to Lule Sámi translator.
==Files==

*<code>apertium-sme-smj.sme.dix</code> &mdash; Northern Sami transducer
*<code>apertium-sme-smj.sme-smj.dix</code> &mdash; Transfer lexicon
*<code>apertium-sme-smj.smj.dix</code> &mdash; Lule Sami transducer
*<code>apertium-sme-smj.sme-smj.rlx</code> &mdash; Constraint grammar
*<code>apertium-sme-smj.sme-smj.t1x</code> &mdash; Transfer rule file (level 1 -- Local re-ordering, chunking)
*<code>apertium-sme-smj.sme-smj.t2x</code> &mdash; Transfer rule file (level 2 -- Phrase and chunk re-ordering)
*<code>apertium-sme-smj.sme-smj.t3x</code> &mdash; Transfer rule file (level 3 -- Final touches)


==TODO==
==TODO==

Revision as of 00:05, 17 June 2010

This page gives some details about the North Sámi to Lule Sámi translator.

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