-
Notifications
You must be signed in to change notification settings - Fork 0
/
apertium-eng-sat.sat-eng.t2x
87 lines (77 loc) · 1.82 KB
/
apertium-eng-sat.sat-eng.t2x
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
<?xml version="1.0" encoding="UTF-8"?>
<!-- -*- nxml -*- -->
<interchunk>
<section-def-cats>
<def-cat n="SN-OBL">
<cat-item tags="SN.obl.kkd"/>
<cat-item tags="SN.obl.kkd.*"/>
</def-cat>
<def-cat n="POST">
<cat-item tags="POST"/>
</def-cat>
<def-cat n="SENT">
<cat-item tags="SENT"/>
</def-cat>
</section-def-cats>
<section-def-attrs>
<def-attr n="a_nbr">
<attr-item tags="sg"/>
<attr-item tags="pl"/>
<attr-item tags="sp"/>
<attr-item tags="ND"/>
</def-attr>
<def-attr n="a_cas">
<attr-item tags="nom"/>
<attr-item tags="acc"/>
<attr-item tags="dat"/>
<attr-item tags="gen"/>
<attr-item tags="ins"/>
<attr-item tags="loc"/>
<attr-item tags="abl"/>
</def-attr>
</section-def-attrs>
<section-def-vars>
<def-var n="number"/>
<def-var n="CUR-POST"/>
</section-def-vars>
<section-def-macros>
<def-macro n="test1" npar="1">
<let>
<var n="CUR-POST"/>
<lit v=""/>
</let>
</def-macro>
</section-def-macros>
<section-rules>
<rule comment="REGLA: SN-OBL">
<pattern>
<pattern-item n="SN-OBL"/>
</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: SN-OBL POST">
<pattern>
<pattern-item n="SN-OBL"/>
<pattern-item n="POST"/>
</pattern>
<action>
<out>
<chunk >
<lit-tag v="ADVL"/>
<clip pos="2" part="chcontent"/>
<b pos="1"/>
<clip pos="1" part="chcontent"/>
</chunk>
</out>
</action>
</rule>
</section-rules>
</interchunk>