-
Notifications
You must be signed in to change notification settings - Fork 2
/
apertium-bn-en.bn-en.t1x
82 lines (74 loc) · 1.96 KB
/
apertium-bn-en.bn-en.t1x
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
<?xml version="1.0" encoding="utf-8"?>
<transfer default="chunk">
<section-def-cats>
<def-cat n="nom">
<cat-item tags="n.*"/>
<cat-item tags="np.*"/>
</def-cat>
<def-cat n="adj">
<cat-item tags="adj"/>
<cat-item tags="adj.*"/>
</def-cat>
<def-cat n="genitive">
<cat-item tags="gen"/>
</def-cat>
<def-cat n="vblex">
<cat-item tags="vblex.*"/>
</def-cat>
</section-def-cats>
<section-def-attrs>
<def-attr n="a_nom">
<attr-item tags="n"/>
<attr-item tags="np"/>
</def-attr>
<def-attr n="gen">
<attr-item tags="m"/>
<attr-item tags="f"/>
<attr-item tags="nt"/>
<attr-item tags="mf"/>
<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>
<def-attr n="temps">
<attr-item tags="pres"/>
<attr-item tags="past"/>
<attr-item tags="inf"/>
</def-attr>
</section-def-attrs>
<section-def-vars>
<def-var n="number"/>
<def-var n="case"/>
<def-var n="genere"/>
</section-def-vars>
<section-rules>
<!-- Sintagmas nominales -->
<rule comment="REGLA: NOM">
<pattern>
<pattern-item n="nom"/>
</pattern>
<action>
<out>
<chunk name="nom" case="caseFirstWord">
<tags>
<tag><lit-tag v="SN"/></tag>
<tag><clip pos="1" side="tl" part="gen"/></tag>
<tag><clip pos="1" side="tl" part="nbr"/></tag>
<tag><lit-tag v="nom"/></tag>
</tags>
<lu>
<clip pos="1" side="tl" part="lemh"/>
<clip pos="1" side="tl" part="a_nom"/>
<clip pos="1" side="tl" part="nbr" link-to="2"/>
<clip pos="1" side="tl" part="lemq"/>
</lu>
</chunk>
</out>
</action>
</rule>
</section-rules>
</transfer>