Debian Codegraph @

tests/SetEmptyClip.trx

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <transfer>
3 <section-def-cats>
4 <def-cat n="adj">
5 <cat-item tags="adj"/>
6 <cat-item tags="adj.*"/>
7 </def-cat>
8 <def-cat n="n">
9 <cat-item tags="n"/>
10 <cat-item tags="n.*"/>
11 </def-cat>
12 <def-cat n="n_sg">
13 <cat-item tags="n.sg"/>
14 <cat-item tags="n.sg.*"/>
15 </def-cat>
16 </section-def-cats>
17 <section-def-attrs>
18 <def-attr n="gender">
19 <attr-item tags="m"/>
20 <attr-item tags="f"/>
21 <attr-item tags="mf"/>
22 </def-attr>
23 <def-attr n="number">
24 <attr-item tags="sg"/>
25 <attr-item tags="pl"/>
26 <attr-item tags="sp"/>
27 </def-attr>
28 <def-attr n="tense">
29 <attr-item tags="past"/>
30 <attr-item tags="pres"/>
31 <attr-item tags="fut"/>
32 </def-attr>
33 </section-def-attrs>
34 <section-rules>
35 <rule weight="0" firstChunk="NP">
36 <pattern>
37 <pattern-item n="adj"/>
38 <pattern-item n="n"/>
39 </pattern>
40 <action>
41 <let>
42 <clip pos="1" part="gender" side="tl"/>
43 <clip pos="2" part="tense" side="sl"/>
44 </let>
45 <out>
46 <chunk>
47 <source><clip pos="2" part="whole" side="sl"/></source>
48 <contents>
49 <lu>
50 <clip pos="2" part="lemh" side="tl"/>
51 <lit-tag v="n"/>
52 <clip pos="2" part="gender" side="tl"/>
53 <clip pos="2" part="number" side="sl"/>
54 <clip pos="2" part="lemq" side="tl"/>
55 </lu>
56 <b pos="1"/>
57 <lu>
58 <clip pos="1" part="lemh" side="tl"/>
59 <lit-tag v="adj"/>
60 <clip pos="1" part="gender" side="tl"/>
61 <clip pos="2" part="number" side="sl"/>
62 <clip pos="1" part="lemq" side="tl"/>
63 </lu>
64 </contents>
65 </chunk>
66 </out>
67 </action>
68 </rule>
69 </section-rules>
70 </transfer>