/usr/share/apertium/apertium-ca-it/apertium-ca-it.it-ca.t2x is in apertium-ca-it 0.1.1~r57554-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- nxml -*- -->
<interchunk>
<section-def-cats>
<def-cat n="SN">
<cat-item tags="SN.*"/>
</def-cat>
<def-cat n="NUM">
<cat-item tags="NUM.*"/>
</def-cat>
</section-def-cats>
<section-def-attrs>
<def-attr n="pers">
<attr-item tags="p1"/>
<attr-item tags="p2"/>
<attr-item tags="p3"/>
<attr-item tags="PD"/>
</def-attr>
<def-attr n="gen">
<attr-item tags="m"/>
<attr-item tags="f"/>
<attr-item tags="mf"/>
<attr-item tags="GD"/>
<attr-item tags="nt"/>
</def-attr>
<def-attr n="nbr">
<attr-item tags="sg"/>
<attr-item tags="pl"/>
<attr-item tags="sp"/>
<attr-item tags="ND"/>
<attr-item tags="NN"/>
</def-attr>
</section-def-attrs>
<section-def-vars>
<def-var n="uno"/>
</section-def-vars>
<section-rules>
<rule comment="REGLA: SN">
<pattern>
<pattern-item n="SN"/>
</pattern>
<action>
<!-- <call-macro n="assigna_gen_nbr">
<with-param pos="1"/>
</call-macro>-->
<out>
<chunk>
<clip pos="1" part="lem"/>
<clip pos="1" part="tags"/>
<clip pos="1" part="chcontent"/>
</chunk>
</out>
</action>
</rule>
<rule comment="REGLA: NUM (per assignar gènere si hi ha GD)">
<pattern>
<pattern-item n="NUM"/>
</pattern>
<action>
<choose>
<when>
<test>
<equal>
<clip pos="1" part="gen"/>
<lit-tag v="GD"/>
</equal>
</test>
<let>
<clip pos="1" part="gen"/>
<lit-tag v="m"/>
</let>
</when>
</choose>
<choose>
<when>
<test>
<equal>
<clip pos="1" part="nbr"/>
<lit-tag v="ND"/>
</equal>
</test>
<let>
<clip pos="1" part="nbr"/>
<lit-tag v="sg"/>
</let>
</when>
</choose>
<out>
<chunk>
<clip pos="1" part="whole"/>
</chunk>
</out>
</action>
</rule>
</section-rules>
</interchunk>
|