File: apertium-is-sv.sv-is.rlx

package info (click to toggle)
apertium-is-sv 0.1.0~r76450-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 12,180 kB
  • sloc: xml: 469; makefile: 209; sh: 116
file content (78 lines) | stat: -rw-r--r-- 1,705 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
DELIMITERS = "<.>" "<!>" "<?>" "<...>" "<¶>";
 
SETS

LIST N = (n) ;
LIST A = (adj) ;
LIST CS = (cnjsub) ;
LIST Adv = (adv) ;
LIST V = (vblex) (vbser) (vbmod) ;
LIST Vbser = (vbser)  ;
LIST PREP = (pr) ;
LIST Interj = (ij) ;
LIST Pron = (prn) ;
LIST Pcle = (part) ;
LIST Copula = (vbser);
LIST Itg = (itg);

LIST Pers = (pers) ;
LIST Num = (num) ;

LIST TV = (tv) ;
LIST IV = (iv) ;

LIST Imprt = (imp) ;
LIST Pii = (pii) ;
LIST Aor = (aor) ;
LIST Prs = (pres) ;
LIST Past = (past) ;

LIST Sg = (sg) ;
LIST Pl = (pl) ;
LIST Count = (ct) ;

LIST Sg1 = (p1 sg) ;
LIST Sg2 = (p2 sg) ;
LIST Sg3 = (p3 sg) ;
LIST Pl1 = (p1 pl) ;
LIST Pl2 = (p2 pl) ;
LIST Pl3 = (p3 pl) ;

LIST Nom = (nom) ;
LIST Acc = (acc) ;
LIST Gen = (gen) ;
LIST Dat = (dat) ;
LIST Voc = (voc) ;

LIST Def = (def) ;
LIST Ind = (ind) ;


LIST NUMBER = sg pl ;
LIST GENDER = m f nt mfn ;
LIST PERSON = (p1 sg) (p2 sg) (p3 sg) (p1 pl) (p2 pl) (p3 pl) ;
LIST NAGDV = nom acc dat gen voc ;

SET V-IND-FIN = Prs OR Aor OR Pii ;
SET V-COP = Copula ;
SET SG2-OR-SG3 = Sg2 OR Sg3 ;
SET REL-OR-ITG = (prn rel) OR (prn itg) ;
SET S-BOUNDARY  = (prn itg) OR (prn rel) OR ("\;") OR (":") OR ("-") OR ("–") OR CS ;

###############################################################################
#  Morphological disambiguation
#

SECTION


SELECT:r1 Def IF (0 A) (0 Pl) (1C N) (1C Def) 
SELECT:r2 Num IF (0 ("sex")) (1 N) ;
SELECT:r3 Vbser IF (0 ("<vara>")) (NOT -1 ("<en>")) ;
#SELECT:r4 Itg IF (0 ("<var>")) (1 V) ;
SELECT:r4 Vbser IF (0 ("<var>")) (NOT 1 V) ;
SELECT:r5 Pers IF (0 ("<det>")) (1 V) ;
SELECT:r6 Pers IF (0 ("<den>")) (1 V) ;
SELECT:r7 Pers IF (0 ("<de>")) (1 V) ;
SELECT:r8 Past IF (0 ("<var>")) ((-1 N) OR (-1 Pron));
SELECT (n);