-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmatxin-spa-eus.interchunk_move3.xml
112 lines (96 loc) · 4.36 KB
/
matxin-spa-eus.interchunk_move3.xml
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
<transfer>
<!-- trans='DIO'/'[ERG]' si='subj'/cas down overwrite -->
<def-rule id="ST_InterchunkMove3: (trans='DIO' and si='subj') '[ERG]'→cas" comment="">
<template match="//CHUNK[@si='subj' and ancestor::CHUNK[1][@trans='DIO']]">
<copy>
<attribute name="cas">[ERG]</attribute>
<apply-templates select="@*[name()!='cas'] | *"/>
</copy>
</template>
</def-rule>
<!-- trans='DU'/'[ERG]' si='subj'/cas down overwrite -->
<def-rule id="ST_InterchunkMove3: (trans='DU' and si='subj') '[ERG]'→cas" comment="">
<template match="//CHUNK[@si='subj' and ancestor::CHUNK[1][@trans='DU']]">
<copy>
<attribute name="cas">[ERG]</attribute>
<apply-templates select="@*[name()!='cas'] | *"/>
</copy>
</template>
</def-rule>
<!-- trans='ZAIO'/'[ABS]' si='subj'/cas down overwrite -->
<def-rule id="ST_InterchunkMove3: (trans='ZAIO' and si='subj') '[ABS]'→cas" comment="">
<template match="//CHUNK[@si='subj' and ancestor::CHUNK[1][@trans='ZAIO']]">
<copy>
<attribute name="cas">[ABS]</attribute>
<apply-templates select="@*[name()!='cas'] | *"/>
</copy>
</template>
</def-rule>
<!-- trans='DA'/'[ABS]' si='subj'/cas down overwrite -->
<def-rule id="ST_InterchunkMove3: (trans='DA' and si='subj') '[ABS]'→cas" comment="">
<template match="//CHUNK[@si='subj' and ancestor::CHUNK[1][@trans='DA']]">
<copy>
<attribute name="cas">[ABS]</attribute>
<apply-templates select="@*[name()!='cas'] | *"/>
</copy>
</template>
</def-rule>
<!-- -->
<!-- type=~'emen'/cas type='is'/cas down overwrite -->
<def-rule id="ST_InterchunkMove1: (type=~'emen' and type='is') cas→cas" comment="">
<template match="//CHUNK[@type='is' and ancestor::CHUNK[1][contains(@type, 'emen') and @cas!='']]">
<copy>
<attribute name="cas"><value-of select="ancestor::CHUNK[1]/@cas"/></attribute>
<apply-templates select="@*[name()!='cas'] | *"/>
</copy>
</template>
</def-rule>
<!-- -->
<!-- /'[MG]' type!='adi-kat' and def='' and num='[NUMS]' and cas='[INS]'/mi down overwrite -->
<def-rule id="ST_InterchunkMove3: (type!='adi-kat' and def='' and num='[NUMS]' and cas='[INS]') '[MG]'→mi" comment="">
<template match="//CHUNK[@type!='adi-kat' and not(boolean(@def)) and @num='[NUMS]' and @cas='[INS]']">
<copy>
<attribute name="mi">[MG]</attribute>
<apply-templates select="@*[name()!='mi'] | *"/>
</copy>
</template>
</def-rule>
<!-- /'[MG]' type!='adi-kat' and def='' and num='[NUMS]' and cas='[INS][GEL]'/mi down overwrite -->
<def-rule id="ST_InterchunkMove3: (type!='adi-kat' and def='' and num='[NUMS]' and cas='[INS][GEL]') '[MG]'→mi" comment="">
<template match="//CHUNK[@type!='adi-kat' and not(boolean(@def)) and @num='[NUMS]' and @cas='[INS][GEL]']">
<copy>
<attribute name="mi">[MG]</attribute>
<apply-templates select="@*[name()!='mi'] | *"/>
</copy>
</template>
</def-rule>
<!-- -->
<!-- /'+[DEK][GEL]' type='adi-inf' and rel='+n[ERL][MEN][MOS]'/cas down overwrite -->
<def-rule id="ST_InterchunkMove3: (type='adi-inf' and rel='+n[ERL][MEN][MOS]') '+[DEK][GEL]'→cas" comment="">
<template match="//CHUNK[@type='adi-inf' and @rel='+n[ERL][MEN][MOS]']">
<copy>
<attribute name="mi">+[DEK][GEL]</attribute>
<apply-templates select="@*[name()!='mi'] | *"/>
</copy>
</template>
</def-rule>
<!-- -->
<!-- type=~'adi-kat'/'[ABS][NUMS]' si='att' and cas='[GEL]'/cas down concat -->
<def-rule id="ST_InterchunkMove3: (type=~'adi-kat' and (si='att' and cas='[GEL]')) '[ABS][NUMS]'→cas" comment="">
<template match="//CHUNK[@si='att' and @cas='[GEL]' and ancestor::CHUNK[1][contains(@type, 'adi-kat')]]">
<copy>
<attribute name="cas">[ABS][NUMS]</attribute>
<apply-templates select="@*[name()!='cas'] | *"/>
</copy>
</template>
</def-rule>
<!-- type=~'adi-kat'/'[ABS][NUMS]' si='att' and cas='[GEN]'/cas down concat -->
<def-rule id="ST_InterchunkMove3: (type=~'adi-kat' and (si='att' and cas='[GEN]')) '[ABS][NUMS]'→cas" comment="">
<template match="//CHUNK[@si='att' and @cas='[GEN]' and ancestor::CHUNK[1][contains(@type, 'adi-kat')]]">
<copy>
<attribute name="cas">[ABS][NUMS]</attribute>
<apply-templates select="@*[name()!='cas'] | *"/>
</copy>
</template>
</def-rule>
</transfer>