<?xml version="1.0" encoding="UTF-8"?> <!-- -*- nxml -*- --> <!-- Tests are run by './qa t2x' command. INPUT is the output of t1x, OUTPUT is the expected output of this transfer module. Also make sure to run './qa' (with no arguments) before committing to svn. --> <interchunk> <section-def-cats> <def-cat n="SN"> <cat-item tags="SN"/> <cat-item tags="SN.*"/> </def-cat> </section-def-cats> <section-def-attrs> <def-attr n="a_nbr"> <attr-item tags="sg"/> </def-attr> </section-def-attrs> <section-def-vars> <def-var n="number"/> </section-def-vars> <section-def-macros> <def-macro n="test1" npar="1"> <let> <var n="number"/> <lit v=""/> </let> </def-macro> </section-def-macros> <section-rules> <rule comment="REGLA: SN"> <pattern> <pattern-item n="SN"/> </pattern> <action> <out> <chunk> <clip pos="1" part="lem"/> <clip pos="1" part="tags"/> <clip pos="1" part="chcontent"/> </chunk> </out> </action> </rule> </section-rules> </interchunk> <!-- Resources: https://wiki.apertium.org/wiki/Chunking:_A_full_example https://wiki.apertium.org/wiki/Chunking https://wiki.apertium.org/wiki/Apertium_New_Language_Pair_HOWTO#Transfer_rules https://wiki.apertium.org/wiki/A_long_introduction_to_transfer_rules https://wiki.apertium.org/wiki/Transfer#Adding_structural_transfer_.28grammar.29_rules -->