Apertium translator between Finnish and Karelian (North / Vienankarjala / Karelian "proper")
This is a visualisation of some rules in apertium transfer.
These are the categories Apertium is using in order to chunk, re-order and transfer lexemes.
Category | Items |
---|---|
noun | <n.*> |
inf | <vblex.inf.*> <vaux.inf.*> |
infa | <vblex.inf> <vaux.inf> <vblex.inf.*> <vaux.inf.*> |
punct | <punct> |
These are the morphological analysis value (tag) sets that can be processed in the transfer.
Attribute set name | Tags |
---|---|
verbtype | <vblex> <vaux> |
case | <nom> <par> <gen> <ess> <acc> <tra> <ine> <ela> <ill> <ade> <abl> <all> |
number | <sg> <pl> <sp> <ND> |
infform | <inf> <infa> <infma> <infe> |
possessive | <px1sg> <px2sg> <px3sp> <px1pl> <px2pl> |
Macros are helper functions in apertium transfer files.
Parametres: 1
sl[1]['infform']
≟ <inf>
sl[1]['case']
≟ <ill>
then:tl[1]['infform']
≔ <infma>
sl[1]['infform']
≟ <inf>
sl[1]['case']
≟ <ine>
then:tl[1]['infform']
≔ <infe>
tl[1]['infform']
≔ <infa>
1. let tl[1]['number']
≔ <sg>
1. let tl[1]['case']
≔ <lat>
The actual rules concerning stuff.
<INFA>
1. tl[1]['lem']
tl[1]['verbtype']
<actv.infa.sg.lat>
<INF>
1. tl[1]['lem']
tl[1]['verbtype']
<actv>
tl[1]['infform']
<sg>
tl[1]['case']
tl[1]['possessive']
<PUNCT>
1. tl[1]['whole']
Documentation for apertium-fin-krl. Generated with Flammie’s apevis-xslt.