File: apertium-is-sv.is-sv.t2x

package info (click to toggle)
apertium-is-sv 0.1.0~r76450-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 12,180 kB
  • sloc: xml: 469; makefile: 209; sh: 116
file content (128 lines) | stat: -rw-r--r-- 2,958 bytes parent folder | download | duplicates (3)
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
<?xml version="1.0" encoding="UTF-8"?>

<!-- From Nepali -->


<interchunk>

  <section-def-cats>
    <def-cat n="SN">
      <cat-item tags="SN"/>
      <cat-item tags="SN.*"/>
    </def-cat>
    <def-cat n="SN_GEN">
      <cat-item tags="SN.*.gen"/>
      <cat-item tags="SN.*.gen.*"/>
    </def-cat>
    <def-cat n="SV">
      <cat-item tags="SV"/>
      <cat-item tags="SV.*"/>
    </def-cat>
    <def-cat n="SA">
      <cat-item tags="SA"/>
      <cat-item tags="SA.*"/>
    </def-cat>
    <def-cat n="SNUM">
      <cat-item tags="SNUM"/>
      <cat-item tags="SNUM.*"/>
    </def-cat>
    <def-cat n="SVCOP">
      <cat-item tags="SVCOP"/>
      <cat-item tags="SVCOP.*"/>
    </def-cat>

  </section-def-cats>

  <section-def-attrs>
    <def-attr n="gen">
      <attr-item tags="f"/>
      <attr-item tags="m"/>
      <attr-item tags="nt"/>
      <attr-item tags="GD"/>
    </def-attr>
    <def-attr n="nbr">
      <attr-item tags="sg"/>
      <attr-item tags="pl"/>
      <attr-item tags="sp"/>
      <attr-item tags="ND"/>
    </def-attr>
  </section-def-attrs>

  <section-def-vars>
    <def-var n="nombre"/>
    <def-var n="genere"/>
  </section-def-vars>

  <section-rules>

    <rule comment="REGLA: SN">
      <pattern>
        <pattern-item n="SN"/>
      </pattern>
      <action>
        <out>
          <chunk>
            <clip pos="1" part="lem"/>
            <clip pos="1" part="tags"/>
            <clip pos="1" part="chcontent"/>
          </chunk>
        </out>
      </action>
    </rule>


<!-- 

    <rule comment="REGLA: SNUM SN_GEN">     
	      <pattern>
	        <pattern-item n="SN"/>
	        <pattern-item n="SN_GEN"/>
	      </pattern>
	      <action>
	        <out>
	          <chunk>
	            <clip pos="2" part="lem"/>
	            <clip pos="2" part="tags"/>
	            <clip pos="2" part="chcontent"/>
	          <b pos="1"/>
	          <clip pos="2" part="lem"/>
	          <clip pos="2" part="tags"/>
	          <clip pos="2" part="chcontent"/>
	          <b pos="2"/>
	          <clip pos="3" part="lem"/>
	          <clip pos="3" part="tags"/>
	          <clip pos="3" part="chcontent"/>
	          </chunk>
	        </out>
	      </action>
	    </rule>     -->


<!--     <rule comment="REGLA: SN SVCOP ADJ">     ???? 
      <pattern>
        <pattern-item n="SN"/>
        <pattern-item n="SVCOP"/>
        <pattern-item n="ADJ"/>
      </pattern>
      <action>
        <out>
          <chunk>
            <clip pos="1" part="lem"/>
            <clip pos="1" part="tags"/>
            <clip pos="1" part="chcontent"/>
          <b pos="1"/>
          <clip pos="2" part="lem"/>
          <clip pos="2" part="tags"/>
          <clip pos="2" part="chcontent"/>
          <b pos="2"/>
          <clip pos="3" part="lem"/>
          <clip pos="3" part="tags"/>
          <clip pos="3" part="chcontent"/>
          </chunk>
        </out>
      </action>
    </rule>     -->


  </section-rules>
</interchunk>