Hi, is it possible to use <choose> inside an <out> or <lu>? I was trying to
output some attributes of a lexical unit only when the person attribute is p1
or p3. I was trying this:
<action>
<out>
<chunk name="verb_cnt" case="caseFirstWord">
<tags>..............</tags>
<lu>
..............
<choose>
<when>
<test>
<or>
<equal>..............</equal> <!-- test if person=p1 -->
<equal>..............</equal> <!-- test if person=p3 -->
</or>
</test>
<!-- Optional attributes -->
<out>
...................
</out>
</when>
</choose>
</lu>
</chunk>
</out>
</action>
Full code is here: http://pastebin.com/GnjnxX1E
But I am getting validation error, it seems that <choose> cannot be used within
<out> or <lu>. What will be the best way to achieve this?
Thanks
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff