File: apertium-en-es.en-es.genitive.t1x

package info (click to toggle)
apertium-en-es 0.8.0~r57502-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 22,500 kB
  • sloc: xml: 792; makefile: 149; sh: 24; perl: 14
file content (186 lines) | stat: -rw-r--r-- 5,183 bytes parent folder | download | duplicates (2)
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<?xml version="1.0"?>
<transfer>
  <section-def-cats>
    <def-cat n="apos">
      <cat-item lemma="&apos;" tags="apos"/>
    </def-cat>

    <def-cat n="aposgen">
      <cat-item lemma="'s" tags="gen"/>
    </def-cat>


    <def-cat n="apos_aposgen">
      <cat-item lemma="&apos;" tags="apos"/>
      <cat-item lemma="'s" tags="gen"/>
    </def-cat>


    <def-cat n="any">
      <cat-item tags=""/>        <!-- unknown words -->
      <cat-item tags="*"/>
    </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="dummy"/>
  </section-def-vars>

  <section-rules>
    <rule>
      <pattern>
        <pattern-item n="apos"/>
        <pattern-item n="any"/>
        <pattern-item n="aposgen"/>
      </pattern>
      <action>
	    <out>
	      <lu><clip pos="1" side="tl" part="whole"/></lu>
	      <b pos="1"/>
	      <lu><clip pos="2" side="tl" part="whole"/></lu>
              <!-- Remove the space - it was added by pretransfer -->
	      <lu><lit v="&apos;"/><lit-tag v="apos"/></lu>
	    </out>
      </action>
    </rule>

    <rule>
      <pattern>
        <pattern-item n="apos"/>
        <pattern-item n="any"/>
        <pattern-item n="any"/>
        <pattern-item n="aposgen"/>
      </pattern>
      <action>
	    <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>
              <!-- Remove the space - it was added by pretransfer -->
	      <lu><lit v="&apos;"/><lit-tag v="apos"/></lu>
	    </out>
      </action>
    </rule>

    <rule>
      <pattern>
        <pattern-item n="apos"/>
        <pattern-item n="any"/>
        <pattern-item n="any"/>
        <pattern-item n="any"/>
        <pattern-item n="aposgen"/>
      </pattern>
      <action>
	    <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>
	      <b pos="3"/>
	      <lu><clip pos="4" side="tl" part="whole"/></lu>
              <!-- Remove the space - it was added by pretransfer -->
	      <lu><lit v="&apos;"/><lit-tag v="apos"/></lu>
	    </out>
      </action>
    </rule>

    <rule>
      <pattern>
        <pattern-item n="apos"/>
        <pattern-item n="any"/>
        <pattern-item n="any"/>
        <pattern-item n="any"/>
        <pattern-item n="any"/>
        <pattern-item n="aposgen"/>
      </pattern>
      <action>
	    <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>
	      <b pos="3"/>
	      <lu><clip pos="4" side="tl" part="whole"/></lu>
	      <b pos="4"/>
	      <lu><clip pos="5" side="tl" part="whole"/></lu>
              <!-- Remove the space - it was added by pretransfer -->
	      <lu><lit v="&apos;"/><lit-tag v="apos"/></lu>
	    </out>
      </action>
    </rule>

    <rule>
      <pattern>
        <pattern-item n="apos"/>
        <pattern-item n="any"/>
        <pattern-item n="any"/>
        <pattern-item n="any"/>
        <pattern-item n="any"/>
        <pattern-item n="any"/>
        <pattern-item n="aposgen"/>
      </pattern>
      <action>
	    <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>
	      <b pos="3"/>
	      <lu><clip pos="4" side="tl" part="whole"/></lu>
	      <b pos="4"/>
	      <lu><clip pos="5" side="tl" part="whole"/></lu>
	      <b pos="5"/>
	      <lu><clip pos="6" side="tl" part="whole"/></lu>
              <!-- Remove the space - it was added by pretransfer -->
	      <lu><lit v="&apos;"/><lit-tag v="apos"/></lu>
	    </out>
      </action>
    </rule>

    <rule>
      <pattern>
        <pattern-item n="apos"/>
        <pattern-item n="any"/>
        <pattern-item n="any"/>
        <pattern-item n="any"/>
        <pattern-item n="any"/>
        <pattern-item n="any"/>
        <pattern-item n="any"/>
        <pattern-item n="aposgen"/>
      </pattern>
      <action>
	    <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>
	      <b pos="3"/>
	      <lu><clip pos="4" side="tl" part="whole"/></lu>
	      <b pos="4"/>
	      <lu><clip pos="5" side="tl" part="whole"/></lu>
	      <b pos="5"/>
	      <lu><clip pos="6" side="tl" part="whole"/></lu>
	      <b pos="6"/>
	      <lu><clip pos="7" side="tl" part="whole"/></lu>
              <!-- Remove the space - it was added by pretransfer -->
	      <lu><lit v="&apos;"/><lit-tag v="apos"/></lu>
	    </out>
      </action>
    </rule>
  </section-rules>
</transfer>