Adding a bit
[apertium.git] / apertium-fr-nl / apertium-fr-nl.trules-nl-fr.xml
blobeead4f4feda4f73ba761a8edac21f60ed8a0ca88
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.mf"/>
41    <attr-item tags="n.nt"/>
42 </def-attr>
44 </section-def-attrs>
46 <section-def-vars>
47   <def-var n="number"/>
48   <def-var n="genere"/>
49 </section-def-vars>
51 <section-rules>
52 <rule>
53    <pattern>
54      <pattern-item n="nom"/>
55    </pattern>
56    <action>
57      <out>
58        <lu>
59          <clip pos="1" side="tl" part="lem"/>
60          <clip pos="1" side="tl" part="a_nom"/>
61  <!--    <clip pos="1" side="tl" part="gen"/> -->
62          <clip pos="1" side="tl" part="nbr"/>
63        </lu>
64      </out>
65    </action>
66 </rule>
68   </section-rules>
70 </transfer>