Debian Codegraph @

tests/Reordering.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 </section-def-attrs>
29 <section-rules>
30 <rule weight="0" firstChunk="NP">
31 <pattern>
32 <pattern-item n="adj"/>
33 <pattern-item n="n"/>
34 </pattern>
35 <action>
36 <out>
37 <chunk>
38 <source><clip pos="2" part="whole" side="sl"/></source>
39 <contents>
40 <lu>
41 <clip pos="2" part="lemh" side="tl"/>
42 <lit-tag v="n"/>
43 <clip pos="2" part="gender" side="tl"/>
44 <clip pos="2" part="number" side="sl"/>
45 <clip pos="2" part="lemq" side="tl"/>
46 </lu>
47 <b pos="1"/>
48 <lu>
49 <clip pos="1" part="lemh" side="tl"/>
50 <lit-tag v="adj"/>
51 <clip pos="1" part="gender" side="tl"/>
52 <clip pos="2" part="number" side="sl"/>
53 <clip pos="1" part="lemq" side="tl"/>
54 </lu>
55 </contents>
56 </chunk>
57 </out>
58 </action>
59 </rule>
60 </section-rules>
61 </transfer>