blob: 68c13b15694d9c3335fb86fc8ab92f09dbf9fe7e [file] [log] [blame]
<?xml version="1.0"?>
<transfer>
<section-def-cats>
<def-cat n="punct">
<cat-item lemma="," tags="cm"/>
<cat-item lemma="." tags="sent"/>
<cat-item lemma=";" tags="sent"/>
<cat-item lemma=":" tags="sent"/>
</def-cat>
<def-cat n="any">
<cat-item tags=""/> <!-- unknown words -->
<cat-item tags="*"/>
</def-cat>
</section-def-cats>
<section-def-attrs>
<def-attr n="a_punct">
<attr-item tags="sent"/>
<attr-item tags="cm"/>
</def-attr>
</section-def-attrs>
<section-def-vars>
<def-var n="last_punct"/>
</section-def-vars>
<section-rules>
<rule>
<pattern>
<pattern-item n="any"/>
<pattern-item n="punct"/>
</pattern>
<action>
<choose>
<when>
<test>
<equal>
<b pos="1"/>
<lit v=" "/>
</equal>
</test>
<out>
<lu><clip pos="1" side="tl" part="whole"/></lu>
<lu><clip pos="2" side="tl" part="whole"/></lu>
</out>
</when>
<otherwise>
<out>
<lu><clip pos="1" side="tl" part="whole"/></lu>
<b pos="1"/>
<lu><clip pos="2" side="tl" part="whole"/></lu>
</out>
</otherwise>
</choose>
</action>
</rule>
</section-rules>
</transfer>