Adding python version
[apertium.git] / apertium-tg-en / apertium-tg-en.tg-en.t1x
blobfa383c02a0b37092feb9796ae5c5ed50fddd90fa
1 <?xml version="1.0" encoding="utf-8"?>
2 <transfer>
4 <section-def-cats>
5 <def-cat n="nom">
6 <cat-item tags="n.*"/>
7 <cat-item tags="np.*"/>
8 </def-cat>
9 <def-cat n="adj">
10 <cat-item tags="adj"/>
11 <cat-item tags="adj.*"/>
12 </def-cat>
13 <def-cat n="izafet">
14 <cat-item tags="enc.*"/>
15 <cat-item tags="enc.iza"/>
16 </def-cat>
17 <def-cat n="num_ind">
18 <cat-item tags="num.sg.ind"/>
19 <cat-item tags="num.pl.ind"/>
20 </def-cat>
21 </section-def-cats>
23 <section-def-attrs>
24 <def-attr n="gen">
25 <attr-item tags="m"/>
26 <attr-item tags="f"/>
27 <attr-item tags="nt"/>
28 </def-attr>
29 <def-attr n="nbr">
30 <attr-item tags="sg"/>
31 <attr-item tags="pl"/>
32 </def-attr>
33 <def-attr n="a_nom">
34 <attr-item tags="n"/>
35 <attr-item tags="np.loc"/>
36 </def-attr>
37 <def-attr n="a_num">
38 <attr-item tags="num"/>
39 </def-attr>
40 <def-attr n="a_adj">
41 <attr-item tags="adj"/>
42 </def-attr>
43 </section-def-attrs>
45 <section-def-vars>
46 <def-var n="number"/>
47 <def-var n="genere"/>
48 </section-def-vars>
50 <section-rules>
51 <rule>
52 <pattern>
53 <pattern-item n="nom"/>
54 <pattern-item n="izafet"/>
55 <pattern-item n="adj"/>
56 </pattern>
57 <action>
58 <out>
59 <lu>
60 <clip pos="3" side="tl" part="lem"/>
61 <clip pos="3" side="tl" part="a_adj"/>
62 </lu>
63 <b/>
64 <lu>
65 <clip pos="1" side="tl" part="lem"/>
66 <clip pos="1" side="tl" part="a_nom"/>
67 <clip pos="1" side="tl" part="nbr"/>
68 </lu>
69 </out>
70 </action>
71 </rule>
73 <rule>
74 <pattern>
75 <pattern-item n="nom"/>
76 <pattern-item n="izafet"/>
77 <pattern-item n="nom"/>
78 </pattern>
79 <action>
80 <out>
81 <lu>
82 <clip pos="1" side="tl" part="lem"/>
83 <clip pos="1" side="tl" part="a_nom"/>
84 <clip pos="1" side="tl" part="nbr"/>
85 </lu>
86 <b/>
87 <lu>
88 <lit v="of"/>
89 <lit-tag v="pr"/>
90 </lu>
91 <b/>
92 <lu>
93 <clip pos="3" side="tl" part="lem"/>
94 <clip pos="3" side="tl" part="a_nom"/>
95 <clip pos="3" side="tl" part="nbr"/>
96 </lu>
97 </out>
98 </action>
99 </rule>
101 <rule>
102 <pattern>
103 <pattern-item n="nom"/>
104 <pattern-item n="izafet"/>
105 <pattern-item n="nom"/>
106 <pattern-item n="izafet"/>
107 <pattern-item n="nom"/>
108 </pattern>
109 <action>
110 <out>
111 <lu>
112 <clip pos="1" side="tl" part="lem"/>
113 <clip pos="1" side="tl" part="a_nom"/>
114 <clip pos="1" side="tl" part="nbr"/>
115 </lu>
116 <b/>
117 <lu>
118 <lit v="of"/>
119 <lit-tag v="pr"/>
120 </lu>
121 <b/>
122 <lu>
123 <clip pos="3" side="tl" part="lem"/>
124 <clip pos="3" side="tl" part="a_nom"/>
125 <clip pos="3" side="tl" part="nbr"/>
126 </lu>
127 <b/>
128 <lu>
129 <lit v="of"/>
130 <lit-tag v="pr"/>
131 </lu>
132 <b/>
133 <lu>
134 <clip pos="5" side="tl" part="lem"/>
135 <clip pos="5" side="tl" part="a_nom"/>
136 <clip pos="5" side="tl" part="nbr"/>
137 </lu>
139 </out>
140 </action>
141 </rule>
144 <rule>
145 <pattern>
146 <pattern-item n="nom"/>
147 </pattern>
148 <action>
149 <out>
150 <lu>
151 <clip pos="1" side="tl" part="lem"/>
152 <clip pos="1" side="tl" part="a_nom"/>
153 <clip pos="1" side="tl" part="nbr"/>
154 </lu>
155 </out>
156 </action>
157 </rule>
159 <rule>
160 <pattern>
161 <pattern-item n="num_ind"/>
162 </pattern>
163 <action>
164 <out>
165 <lu>
166 <lit v="a"/>
167 <lit-tag v="det"/>
168 <lit-tag v="ind"/>
169 <lit-tag v="sg"/>
170 </lu>
171 <b/>
172 <lu>
173 <clip pos="1" side="tl" part="lem"/>
174 <clip pos="1" side="tl" part="a_num"/>
175 <clip pos="1" side="tl" part="nbr"/>
176 </lu>
177 </out>
178 </action>
179 </rule>
182 </section-rules>
184 </transfer>