-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapertium-eng-deu.eng-deu.t3x
111 lines (99 loc) · 1.92 KB
/
apertium-eng-deu.eng-deu.t3x
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- nxml -*- -->
<postchunk>
<section-def-cats>
<def-cat n="nom">
<cat-item name="nom"/>
</def-cat>
<def-cat n="det_nom">
<cat-item name="det_nom"/>
</def-cat>
<def-cat n="prn">
<cat-item name="prn"/>
</def-cat>
<def-cat n="verb">
<cat-item name="verb"/>
</def-cat>
</section-def-cats>
<section-def-attrs>
<def-attr n="a_gen"> <!-- Gender -->
<attr-item tags="m"/>
<attr-item tags="f"/>
<attr-item tags="nt"/>
<attr-item tags="mf"/>
<attr-item tags="mfn"/>
<attr-item tags="un"/>
<attr-item tags="GD"/>
</def-attr>
<def-attr n="a_nbr"> <!-- Number -->
<attr-item tags="sg"/>
<attr-item tags="pl"/>
<attr-item tags="sp"/>
<attr-item tags="ND"/>
</def-attr>
<def-attr n="a_nom">
<attr-item tags="n"/>
<attr-item tags="np"/>
</def-attr>
<def-attr n="a_prn">
<attr-item tags="prn"/>
</def-attr>
</section-def-attrs>
<section-def-vars>
<def-var n="v_gen"/>
<def-var n="v_nbr"/>
</section-def-vars>
<section-rules>
<rule comment="CHUNK: det_nom">
<pattern>
<pattern-item n="det_nom"/>
</pattern>
<action>
<out>
<lu>
<clip pos="1" part="whole"/>
</lu>
<b pos="1"/>
<lu>
<clip pos="2" part="whole"/>
</lu>
</out>
</action>
</rule>
<rule comment="CHUNK: nom">
<pattern>
<pattern-item n="nom"/>
</pattern>
<action>
<out>
<lu>
<clip pos="1" part="whole"/>
</lu>
</out>
</action>
</rule>
<rule comment="CHUNK: prn">
<pattern>
<pattern-item n="prn"/>
</pattern>
<action>
<out>
<lu>
<clip pos="1" part="whole"/>
</lu>
</out>
</action>
</rule>
<rule comment="CHUNK: verb">
<pattern>
<pattern-item n="verb"/>
</pattern>
<action>
<out>
<lu>
<clip pos="1" part="whole"/>
</lu>
</out>
</action>
</rule>
</section-rules>
</postchunk>