Apertium bilingual data for Finnish–German machine translation
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.*> <np.*> |
adj | <adj.*> |
num | <num.*> |
negverb | <vaux.neg.*> <vblex.neg.*> |
verb | <vblex.*> <vaux.*> <vbmod.*> <vbser.*> |
someprn | <prn.rel.*> <prn.dem.*> <det.def.*> |
inf | <vblex.*.infa.*> <vaux.*.infa.*> <vbmod.*.infa.*> <vbser.*.infa.*> <vblex.*.infma.*> <vaux.*.infma.*> <vbmod.*.infma.*> <vbser.*.infma.*> |
pastverb | <vblex.*.past.*> <vaux.*.past.*> <vbmod.*.past.*> <vbser.*.past.*> |
sent | <sent> |
These are the morphological analysis value (tag) sets that can be processed in the transfer.
Attribute set name | Tags |
---|---|
a_case | <nom> <ine> <ela> <ill> <ade> <abl> <all> <par> <gen> <acc> <tra> <lat> <ess> <dat> |
a_noun | <n> <np> <n.abbr> <n.acr> <np.abbr> <np.acr> |
a_prn | <prn> <prn.dem> <prn.rel> <det.def> |
a_adj | <adj> |
a_num | <num> |
a_gender | <m> <f> <nt> <mf> |
a_number | <sg> <pl> <sp> |
a_verb | <vblex> <vblex.neg> <vblex.sep> <vaux> <vbser> <vbmod> |
a_voice | <actv> <pasv> |
a_tense | <pri> <pii> <ifi> <pres> <past> |
a_prsnum | <p1.sg> <p2.sg> <p3.sg> <p1.pl> <p2.pl> <p3.pl> |
Macros are helper functions in apertium transfer files.
Parametres: 1
$number
≔ “”Parametres: 1
sl[1]['lem']
≟ “yksi” then:tl[1]['a_number']
≔ <sg>
tl[1]['a_number']
≔ <pl>
Parametres: 1
sl[1]['a_case']
≟ <ela>
sl[1]['a_case']
≟ <ill>
sl[1]['a_case']
≟ <abl>
sl[1]['a_case']
≟ <all>
sl[1]['a_case']
≟ <par>
sl[1]['a_case']
≟ <acc>
then:tl[1]['a_case']
≔ <acc>
sl[1]['a_case']
≟ <ine>
sl[1]['a_case']
≟ <ade>
then:tl[1]['a_case']
≔ <dat>
sl[1]['a_case']
≟ <ins>
sl[1]['a_case']
≟ <tra>
sl[1]['a_case']
≟ <ess>
then:tl[1]['a_case']
≔ <nom>
Parametres: 1
sl[1]['a_tense']
≟ <past>
then:tl[1]['a_tense']
≔ <pii>
sl[1]['a_tense']
≟ <pri>
then:tl[1]['a_tense']
≔ <pri>
The actual rules concerning stuff.
<VP>
1. tl[2]['lem']
tl[2]['a_verb']
tl[2]['a_tense']
tl[1]['a_prsnum']
1. blank
1
1. “nicht”<adv>
<VP.PAST>
1. “haben”<vbhaver.pri>
tl[1]['a_prsnum']
1. blank
0
1. tl[1]['lem']
tl[1]['a_verb']
<pp>
<VP>
1. tl[1]['lem']
tl[1]['a_verb']
<inf>
<VP>
1. tl[1]['lem']
tl[1]['a_verb']
tl[1]['a_tense']
tl[1]['a_prsnum']
<NP>
1. tl[1]['lem']
tl[1]['a_prn']
tl[1]['a_gender']
tl[1]['a_number']
tl[1]['a_case']
<NP>
1. tl[1]['lem']
tl[1]['a_noun']
tl[1]['a_gender']
tl[1]['a_number']
tl[1]['a_case']
<AP>
1. tl[1]['lem']
tl[1]['a_adj']
<sint.attr>
<NumP>
1. tl[1]['lem']
tl[1]['a_num']
tl[1]['a_number']
<SENT>
1. tl[1]['whole']
Documentation for apertium-deu-fin. Generated with Flammie’s apevis-xslt.