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
|
<?xml version="1.0" encoding="UTF-8"?>
<transfer>
<section-def-cats>
<def-cat n="adj">
<cat-item tags="adj"/>
<cat-item tags="adj.*"/>
</def-cat>
<def-cat n="n">
<cat-item tags="n"/>
<cat-item tags="n.*"/>
</def-cat>
<def-cat n="vblex">
<cat-item tags="vblex"/>
<cat-item tags="vblex.*"/>
</def-cat>
</section-def-cats>
<section-def-attrs>
<def-attr n="gender">
<attr-item tags="m"/>
<attr-item tags="f"/>
<attr-item tags="mf"/>
</def-attr>
<def-attr n="number">
<attr-item tags="sg"/>
<attr-item tags="pl"/>
<attr-item tags="sp"/>
</def-attr>
</section-def-attrs>
<section-def-vars>
<def-var n="number"/>
</section-def-vars>
<section-rules>
<rule weight="0" firstChunk="NP">
<pattern>
<pattern-item n="adj"/>
<pattern-item n="n"/>
</pattern>
<action>
<let><var n="number"/><clip pos="2" part="number" side="tl"/></let>
<out>
<chunk>
<source><clip pos="2" part="whole" side="sl"/></source>
<contents>
<lu>
<clip pos="2" part="lemh" side="tl"/>
<lit-tag v="n"/>
<clip pos="2" part="gender" side="tl"/>
<clip pos="2" part="number" side="sl"/>
<clip pos="2" part="lemq" side="tl"/>
</lu>
<b pos="1"/>
<lu>
<clip pos="1" part="lemh" side="tl"/>
<lit-tag v="adj"/>
<clip pos="1" part="gender" side="tl"/>
<clip pos="2" part="number" side="sl"/>
<clip pos="1" part="lemq" side="tl"/>
</lu>
</contents>
</chunk>
</out>
</action>
</rule>
<rule weight="1" firstChunk="V">
<pattern>
<pattern-item n="vblex"/>
</pattern>
<action>
<choose>
<when>
<test><equal><var n="number"/><lit v=""/></equal></test>
<let><var n="number"/><lit-tag v="sg"/></let>
</when>
</choose>
<out>
<chunk>
<source><clip pos="1" part="whole" side="sl"/></source>
<contents>
<lu>
<clip pos="1" part="lemh" side="tl"/>
<lit-tag v="vblex"/>
<var n="number"/>
<clip pos="1" part="lemq" side="tl"/>
</lu>
</contents>
</chunk>
</out>
</action>
</rule>
</section-rules>
</transfer>
|