File: IndirectConjoin.rtx

package info (click to toggle)
apertium-recursive 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,132 kB
  • sloc: cpp: 8,682; python: 178; makefile: 30; sh: 9
file content (22 lines) | stat: -rw-r--r-- 614 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
prn: _.prn_type.person.gender.number ;
vblex: _.tense;
Clt: _.prn_type.person.gender.number ;
SV: _.vb_type.vb_cnj.tense.person.gender.number ;

gender = (GD m) m f nt @mf GD ;
number = (ND sg) sg pl @sp ND ;
person = (PD p3) p1 p2 p3 PD ;
prn_type = tn itg pro enc ;
tense = pri fti cni imp prs pis fts pii ifi inf ger pp ;
vb_type = vbhaver vblex vbmod vbser ;
vb_cnj = cnj impers ;

Clt ->  1: %prn.enc
                { %1 } ;

SV ->   2: %vblex.inf
                [$vb_cnj=impers]
                { (if($lu-count="2") [%1 + >2] else %1 ) } |

        2: %SV.*.impers.inf Clt.enc
                { %1 < 2 } ;