GiellaLT provides an infrastructure for rule-based language technology aimed at minority and indigenous languages, and streamlines building anything from keyboards to speech technology. Read more about Why. See also How to get started and our Privacy document.
apertium-sme-smn.sme-smX.metalrx
, and make a rule.apertium-sme-smn.sme-smX.metalrx
does not exist, use apertium-sme-smn.sme-smX.lrx
Omd.
<e><p><l>láhčit<s n="n"/><s n="tv"/></l><r>orniđ<s n="n"/></r></p></e>
<e><p><l>láhčit<s n="n"/><s n="tv"/></l><r>lääččiđ<s n="n"/></r></p></e>
Sátneválljennjulgadusat čálát dan fiilii:
apertium-sme-smn.sme-smn.metalrx
Dáppe lea metalrx-fiilla ovdamearka. Default lea
láhčit = orniđ (1.0 > 0.5).
Jos láhčit-vearbba máŋŋel boahtá sem_furn
, de mis lea
lääččiđ (0.5 + 0.6 = 1.1 > 1.0).
Dáppe njuolgadusat:
<rule weight="1.0">
<match lemma="láhčit">
<select lemma="orniđ"/>
</match>
</rule>
<rule weight="0.5">
<match lemma="láhčit">
<select lemma="lääččiđ"/>
</match>
</rule>
<rule weight="0.6">
<match lemma="láhčit">
<select lemma="lääččiđ"/>
</match>
<or>
<match tags="n.sem_furn.*"/>
</or>
</rule>