This file is indexed.

/usr/share/apertium/apertium-eu-es/apertium-eu-es.ordinals.t1x is in apertium-eu-es 0.3.1-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
<?xml version="1.0"?>
<transfer>
  <section-def-cats>
    <def-cat n="nom">
      <cat-item tags="n"/>
    </def-cat>
    <def-cat n="num">
      <cat-item tags="num"/>
    <!--  <cat-item tags="num.*"/>-->
    </def-cat>
    <def-cat n="punt">
      <cat-item lemma="." tags="sent"/>
    </def-cat>
  </section-def-cats>
  <section-def-attrs>
    <def-attr n="nbr">
      <attr-item tags="sp"/>
      <attr-item tags="sg"/>
      <attr-item tags="pl"/>
    </def-attr>
  </section-def-attrs>
  <section-def-vars>
    <def-var n="numero"/>
  </section-def-vars>

<section-def-macros>

   <def-macro n="f_bcond" npar="1"><!--Per mirar si el blanc conté o no format. Cal posar aquesta funció en les regles en què desaparegui alguna paraula, per tal de decidir si el blanc de la paraula eliminada s'ha d'eliminar o conservar. Si conté format cal conservar-la, si no en conté cal eliminar-la perquè no apareguin dos espais seguits. -->
      <choose>
	<when>
	  <test>
	    <not>
	      <equal>
		<b pos="1"/>
		<lit v=" "/>
	      </equal>
	    </not>
	  </test>
	  <out>
	    <b pos="1"/>
	  </out>
	</when>     	    
      </choose>
    </def-macro>
</section-def-macros>

  <section-rules>
    <rule>
      <pattern>
        <pattern-item n="num"/>
        <pattern-item n="punt"/>
        <pattern-item n="nom"/>
      </pattern>
      <action>
	<choose>
	  <when>
	    <test>
	      <equal>
		<case-of pos="3" side="sl" part="lem"/>
		<lit v="aa"/>
	      </equal>
	    </test>
	    <out>
	      <lu>
		<clip pos="1" side="tl" part="whole"/>
		<lit-tag v="ord"/>
	      </lu>
	      <b pos="2"/>
	      <lu>
		<clip pos="3" side="tl" part="whole"/>
	      </lu>
	    </out>	    
	    <call-macro n="f_bcond">
	      <with-param pos="1"/>
	    </call-macro>
	  </when>
	  <otherwise> 
	    <out>
	      <lu>
		<clip pos="1" side="tl" part="whole"/>
	      </lu>
	      <b pos="1"/>
	      <lu>
		<clip pos="2" side="tl" part="whole"/>
	      </lu>
	      <b pos="2"/>
	      <lu>
		<clip pos="3" side="tl" part="whole"/>
	      </lu>
	    </out>
	  </otherwise>
	</choose>    

      </action>
    </rule>
  </section-rules>
</transfer>