-
Notifications
You must be signed in to change notification settings - Fork 1
/
apertium-tat-rus.tat-rus.t3x
84 lines (70 loc) · 2.04 KB
/
apertium-tat-rus.tat-rus.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?xml version="1.0" encoding="UTF-8"?>
<!-- -*- nxml -*- -->
<!-- Tests are run by './qa t3x' command.
INPUT is the output of t2x,
OUTPUT is the expected output of this transfer module.
Also make sure to run './qa' (with no arguments)
before committing to svn. -->
<interchunk>
<section-def-cats>
<def-cat n="SN">
<cat-item tags="SN"/>
<cat-item tags="SN.*"/>
</def-cat>
<def-cat n="C-OBJ">
<cat-item tags="*.C.OBJ"/>
</def-cat>
<def-cat n="SV">
<cat-item tags="SV"/>
<cat-item tags="SV.*"/>
</def-cat>
</section-def-cats>
<section-def-attrs>
<def-attr n="a_stub">
<attr-item tags="stub"/>
</def-attr>
</section-def-attrs>
<section-def-vars>
<def-var n="varstub"/>
</section-def-vars>
<section-rules>
<rule comment="REGLA: SN C-OBJ SV">
<!--
INPUT: ^n<SN><nom>{^Я<prn><pers><p1><mf><sg><2>$}$ ^sn_sv<SN><nom><C><OBJ>{^ты<prn><pers><p2><mf><sg><2>$ ^кричать<vblex><impf><past><m><sg>$}$ ^v<SV><tv>{^слышать<vblex><impf><past><m><sg>$}$
OUTPUT: ^n<SN><nom>{^Я<prn><pers><p1><mf><sg><2>$}$ ^v<SV><tv>{^слышать<vblex><impf><past><m><sg>$}$^cs{^,<cm>$ ^что<cnjsub>$}$ ^sn_sv<SN><nom><C><OBJ>{^ты<prn><pers><p2><mf><sg><2>$ ^кричать<vblex><impf><past><m><sg>$}$
-->
<pattern>
<pattern-item n="SN"/>
<pattern-item n="C-OBJ"/>
<pattern-item n="SV"/>
</pattern>
<action>
<out>
<chunk>
<clip pos="1" part="whole"/>
</chunk>
<b/>
<chunk>
<clip pos="3" part="whole"/>
</chunk>
<chunk>
<lit v="cs"/>
<lit v="{"/>
<lit v="^,"/>
<lit-tag v="cm"/>
<lit v="$"/>
<b/>
<lit v="^что"/>
<lit-tag v="cnjsub"/>
<lit v="$"/>
<lit v="}"/>
</chunk>
<b/>
<chunk>
<clip pos="2" part="whole"/>
</chunk>
</out>
</action>
</rule>
</section-rules>
</interchunk>