File: lin.twoc

package info (click to toggle)
lexd 1.3.5-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 880 kB
  • sloc: cpp: 2,889; makefile: 91; sh: 29
file content (39 lines) | stat: -rw-r--r-- 1,469 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
Alphabet

 %[%+sg%]:0 %[%+pl%]:0 %[%+abs%]:0 %[%+def%]:0 %[%+inst%]:0 %[%+p1%]:0 %[%+p2%]:0 %[%+p3%]:0 %[%+aa%]:0 %[%+nn%]:0 %[%+fut%]:0 %[%+ref%]:0 %[%+inf%]:0 %[%+imp%]:0 %[%+cl1%]:0 %[%+cl5%]:0 %[%+cl6%]:0 %[%+cl7%]:0 %[%+cl8%]:0

 %[%-sg%]:0 %[%-pl%]:0 %[%-abs%]:0 %[%-def%]:0 %[%-inst%]:0 %[%-p1%]:0 %[%-p2%]:0 %[%-p3%]:0 %[%-aa%]:0 %[%-nn%]:0 %[%-fut%]:0 %[%-ref%]:0 %[%-inf%]:0 %[%-imp%]:0 %[%-cl1%]:0 %[%-cl5%]:0 %[%-cl6%]:0 %[%-cl7%]:0 %[%-cl8%]:0


;

Rules

"Match prefix"
Sx:0 /<= _ ;
   except
       _ (:*) Sy:0 ;
   where Sx in ( %[%-sg%] %[%-pl%] %[%-abs%] %[%-def%] %[%-inst%] %[%-p1%] %[%-p2%] %[%-p3%] %[%-aa%] %[%-nn%] %[%-fut%] %[%-ref%] %[%-inf%] %[%-imp%] %[%-cl1%] %[%-cl5%] %[%-cl6%] %[%-cl7%]  %[%-cl8%])
         Sy in ( %[%+sg%] %[%+pl%] %[%+abs%] %[%+def%] %[%+inst%] %[%+p1%] %[%+p2%] %[%+p3%] %[%+aa%] %[%+nn%] %[%+fut%] %[%+ref%] %[%+inf%] %[%+imp%] %[%+cl1%] %[%+cl5%] %[%+cl6%] %[%+cl7%]  %[%+cl8%])
   matched ;

"Inverse of Match prefix for use with mismatched tags"
Sx:0 /<= _ ;
   except
       Sy:0 :* _ ;
   where Sy in ( %[%-abs%] %[%-def%] %[%-inst%] %[%-fut%] %[%-ref%] %[%-sg%] %[%-pl%])
         Sx in ( %[%+abs%] %[%+def%] %[%+inst%] %[%+fut%] %[%+ref%] %[%+sg%] %[%+pl%])
matched ;



!Sets
!
!Features = %[%+sg%] %[%+pl%] %[%+abs%] %[%+def%] %[%+inst%] %[%+p1%] %[%+p2%] %[%+p3%] %[%+aa%] %[%+nn%];
!
!Rules
!
!"Match prefixes with agreement tags"
!Fx:0 <=> _ :* Fx:0 ;
!         Fx:0 :* _ ;
!     where Fx in Features ;