File: apertium-eo-es.es-eo.t3x

package info (click to toggle)
apertium-eo-es 1%3A0.9.1~r60655-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,220 kB
  • sloc: makefile: 186; perl: 151; sh: 145; xml: 106
file content (137 lines) | stat: -rw-r--r-- 2,697 bytes parent folder | download | duplicates (4)
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
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- nxml -*- -->
<postchunk>

<section-def-cats>

	<def-cat n="SUBJ">
      <cat-item name="subj"/>
 	</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"/>
      </def-attr>


<def-attr n="a_verb">
	  <attr-item tags="vblex"/>
	  <attr-item tags="vbser"/>
	  <attr-item tags="vbhaver"/>
	  <attr-item tags="vbmod"/>
	  <attr-item tags="vaux"/>
</def-attr>


      <def-attr n="temps">
          <attr-item tags="inf"/>
          <attr-item tags="pres"/>
          <attr-item tags="past"/>
          <attr-item tags="pri"/>
	  <attr-item tags="prs"/>
	  <attr-item tags="imp"/>
	  <attr-item tags="pii"/>
	  <attr-item tags="cni"/>
	  <attr-item tags="ifi"/>
	  <attr-item tags="pis"/>
          <attr-item tags="pp"/>
          <attr-item tags="ger"/>
          <attr-item tags="pprs"/>
          <attr-item tags="subs"/>
          <attr-item tags="fti"/>
          <attr-item tags="fts"/>
      </def-attr>

 <def-attr n="a_SV">
          <attr-item tags="SVneg"/>
          <attr-item tags="SV"/>
</def-attr>     


  </section-def-attrs>

<section-def-vars>
    <def-var n="paraula"/>
    <def-var n="temps_aux"/>
  </section-def-vars>



  <section-rules>

<rule comment="CHUNK: SUBJ">
      <pattern>
        <pattern-item n="SUBJ"/>
      </pattern>
      <action>
	<choose>
	  <when>
	    <test>
	      <and>
		<equal>
		  <clip pos="1" part="pers"/>
		  <lit-tag v="p3"/>
		</equal>
		<equal>
		  <clip pos="1" part="nbr"/>
		  <lit-tag v="sg"/>
		</equal>
	      </and>
	    </test>
	    <let>
	      <clip pos="1" part="gen"/>
	      <lit-tag v="nt"/>
	    </let>
	  </when>
	  <when>
	    <test>
	      <equal>
		<clip pos="1" part="pers"/>
		<lit-tag v="p2"/>
	      </equal>
	    </test>
	    <let>
	      <clip pos="1" part="nbr"/>
	      <lit-tag v="sp"/>
	    </let>
	    <let>
	      <clip pos="1" part="gen"/>
	      <lit-tag v="mf"/>
	    </let>
	  </when>
	  <otherwise>
	    <let>
	      <clip pos="1" part="gen"/>
	      <lit-tag v="mf"/>
	    </let>
	  </otherwise>
	</choose>
	<out>
	  <lu>
	    <clip pos="1" part="whole"/>
	  </lu>
	</out>
      </action>
</rule>
  </section-rules>
</postchunk>