-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapertium-ron-cat.cat-ron.t3x
70 lines (57 loc) · 1.49 KB
/
apertium-ron-cat.cat-ron.t3x
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
<?xml version="1.0" encoding="UTF-8"?>
<postchunk>
<section-def-cats>
<def-cat n="sent">
<cat-item name="punt"/>
</def-cat>
</section-def-cats>
<section-def-attrs>
<def-attr n="a_def">
<attr-item tags="def"/>
<attr-item tags="ind"/>
</def-attr>
<def-attr n="a_cas">
<attr-item tags="nom"/>
<attr-item tags="dg"/>
</def-attr>
<def-attr n="a_gen">
<attr-item tags="m"/>
<attr-item tags="f"/>
<attr-item tags="mf"/>
<attr-item tags="mn"/>
<attr-item tags="fn"/>
<attr-item tags="mfn"/>
<attr-item tags="nt"/>
</def-attr>
<def-attr n="a_nbr">
<attr-item tags="sg"/>
<attr-item tags="pl"/>
<attr-item tags="sp"/>
</def-attr>
</section-def-attrs>
<section-def-vars>
<def-var n="paraula"/>
</section-def-vars>
<section-rules>
<rule comment="CHUNK: sent">
<pattern>
<pattern-item n="sent"/>
</pattern>
<action>
<out>
<lu>
<clip pos="1" part="whole"/>
</lu>
</out>
</action>
</rule>
</section-rules>
</postchunk>
<!--
Resources:
https://wiki.apertium.org/wiki/Chunking:_A_full_example
https://wiki.apertium.org/wiki/Chunking
https://wiki.apertium.org/wiki/Apertium_New_Language_Pair_HOWTO#Transfer_rules
https://wiki.apertium.org/wiki/A_long_introduction_to_transfer_rules
https://wiki.apertium.org/wiki/Transfer#Adding_structural_transfer_.28grammar.29_rules
-->