File: apertium-eo-en.en-eo.rlx

package info (click to toggle)
apertium-eo-en 1.0.0~r63833-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 28,044 kB
  • sloc: xml: 32,398; python: 364; sh: 318; makefile: 131
file content (42 lines) | stat: -rw-r--r-- 705 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
SOFT-DELIMITERS = "<,>" ;
DELIMITERS = "<.>" "<:>" "<!>" "<?>" "<|>" "<$.>" "<$:>" "<$!>" "<$?>" "<$|>";

LIST n = (n) ;
LIST num = (num)  ;
LIST prn = (prn)  ;
LIST person = (p1) (p2) (p3) ;
LIST p3sg = (p3 sg) ;
SET non-p3sg = person - p3sg ; # p1, p2 or non-singula p3
LIST fv = (vblex pres) (vblex pret) ;
LIST setn-gr = (<<<) (>>>) ;

CONSTRAINTS

REMOVE prn IF
	(0 ("<I>"))
	(-1 ("<[A-Z].*>"r))
#	(NOT -2 (>>>))   # la ĉi-suba estas pli klara
	(NOT -2 setn-gr)
	;

#SELECT num IF
#	(0 ("<I>"))
#	(-1 ("<[A-Z].*>"r))
#	; 

#REMOVE num IF
#	(0 ("<I>"))
#	(NOT -1 ("<[A-Z].*>"r))
#	;

#REMOVE num IF
#	(0 prn)
#	(NEGATE *-1 n)
#	;
# I walk

#SELECT fv IF
#	(NOT 0 p3sg)
#	(*-1 non-p3sg)
#	; 
# I walk