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
|
<?xml version="1.0" encoding="UTF-8"?>
<!-- From Nepali -->
<!-- -*- nxml -*- -->
<postchunk>
<section-def-cats>
<def-cat n="nom">
<cat-item name="nom"/>
</def-cat>
</section-def-cats>
<section-def-attrs>
<def-attr n="nbr">
<attr-item tags="sg"/>
<attr-item tags="sp"/>
<attr-item tags="pl"/>
<attr-item tags="ND"/>
</def-attr>
<def-attr n="a_nom">
<attr-item tags="n"/>
<attr-item tags="np"/>
</def-attr>
</section-def-attrs>
<section-def-vars>
<def-var n="paraula"/>
</section-def-vars>
<section-rules>
<rule comment="CHUNK: nom">
<pattern>
<pattern-item n="nom"/>
</pattern>
<action>
<choose>
<when>
<test>
<equal>
<clip pos="1" part="nbr"/>
<lit-tag v="ND"/>
</equal>
</test>
<let>
<clip pos="1" part="nbr"/>
<lit-tag v="sg"/>
</let>
</when>
</choose>
<out>
<lu>
<clip pos="1" part="whole"/>
</lu>
</out>
</action>
</rule>
</section-rules>
</postchunk>
|