And one more
[apertium.git] / attic / apertium-fr-nl / apertium-fr-nl.trules-fr-nl.xml
blobcaccb63a0a5e439493641d664d83b3c0e852284b
1 <?xml version="1.0" encoding="UTF-8"?>
2 <transfer>
3 <section-def-cats>
4  <def-cat n="nom">
5       <cat-item tags="n.*"/>
6       <cat-item tags="np.*"/>
7     </def-cat>
8 </section-def-cats>
11 <section-def-attrs>
14     <def-attr n="pers">                 <!-- Person -->
15        <attr-item tags="p1"/>
16        <attr-item tags="p2"/>
17        <attr-item tags="p3"/>
18     </def-attr>
20  <def-attr n="a_det">                   <!-- Determiners -->
21       <attr-item tags="det.ind"/>
22       <attr-item tags="det.def"/>
23     </def-attr>
25 <def-attr n="nbr">                      <!-- Number -->
26    <attr-item tags="sg"/>
27    <attr-item tags="pl"/>
28    <attr-item tags="sp"/>
29 </def-attr>
31  <def-attr n="gen">                     <!-- Gender -->
32       <attr-item tags="m"/>
33       <attr-item tags="f"/>
34       <attr-item tags="mf"/>
35  </def-attr>
36 <def-attr n="a_nom">
37    <attr-item tags="n"/>
38    <attr-item tags="n.f"/>
39    <attr-item tags="n.m"/>
40    <attr-item tags="n.nt"/>
41 </def-attr>
43 </section-def-attrs>
45 <section-def-vars>
46   <def-var n="number"/>
47   <def-var n="genere"/>
48 </section-def-vars>
50 <section-rules>
51 <rule>
52    <pattern>
53      <pattern-item n="nom"/>
54    </pattern>
55    <action>
56      <out>
57        <lu>
58          <clip pos="1" side="tl" part="lem"/>
59          <clip pos="1" side="tl" part="a_nom"/>
60  <!--    <clip pos="1" side="tl" part="gen"/> -->
61          <clip pos="1" side="tl" part="nbr"/>
62        </lu>
63      </out>
64    </action>
65 </rule>
67   </section-rules>
69 </transfer>