-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabba.xml
187 lines (187 loc) · 9.74 KB
/
abba.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<?xml version="1.0" encoding="UTF-8"?>
<script xmlns="http://www.xstep.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<variables>
<variable type="execution-file" name="execute">file:///C:/Users/Gerrit/txstep/ueb/txstep.tu</variable>
<variable type="permanent-file" name="a8-x" code="utf8">file:///C:/Users/Gerrit/txstep/txt/a8.xml</variable>
<variable type="permanent-file" name="a8z1" format="tustep" option="erase"
>file:///C:/Users/Gerrit/txstep/txt/a8z1.tf</variable>
<variable type="permanent-file" name="a8-t" format="tustep" option="erase"
>file:///C:/Users/Gerrit/txstep/txt/a8.tf</variable>
<variable type="permanent-file" name="b9-x" code="utf8">file:///C:/Users/Gerrit/txstep/txt/b9.xml</variable>
<variable type="permanent-file" name="b9-t" format="tustep" option="erase"
>file:///C:/Users/Gerrit/txstep/txt/b9.tf</variable>
<variable type="permanent-file" name="ba9-x" code="utf8">file:///C:/Users/Gerrit/txstep/txt/ba9.xml</variable>
<variable type="permanent-file" name="ba9-t" format="tustep" option="erase"
>file:///C:/Users/Gerrit/txstep/txt/ba9.tf</variable>
<variable type="permanent-file" name="diff" option="erase" format="tustep"
>file:///C:/Users/Gerrit/txstep/ve/diff</variable>
<variable type="permanent-file" name="diff-listing" option="erase" format="tustep"
>file:///C:/Users/Gerrit/txstep/va/diff.list</variable>
<char-group name="ti">?{-}{{!/}}%</char-group>
<char-group name="ok">?{-}{{}}%</char-group>
<variable type="scratch-file" name="par"/>
</variables>
<transform source="$a8-x" destination="$a8z1" save-params="$par">
<define-text-units>
<text-unit-start>
<comparison-table>
<exclusion-string>{{/</exclusion-string>
<comparison-string>{{</comparison-string>
</comparison-table>
</text-unit-start>
</define-text-units>
<pass>
<modify>
<exchange>
<exchange-table>
<exception-string>%{%}</exception-string>
<exception-string>#.?</exception-string>
<string-pair>
<search-string>{1-0} }}</search-string>
<replacement-string>}}</replacement-string>
</string-pair>
<string-pair>
<search-string>{{\?oxygen RNGSchema="https://faustedition.uni-wuerzburg.de/xml/schema/printed_editions_neu.rng" type="xml"\?}}</search-string>
<replacement-string/>
</string-pair>
<string-pair>
<search-string>xmlns{00}{c:ok}"{00}{c:ok}"</search-string>
<replacement-string/>
</string-pair>
<string-pair>
<search-string>#\[2019\]</search-string>
<replacement-string>'</replacement-string>
</string-pair>
<string-pair>
<search-string>#\[2013\]</search-string>
<replacement-string>--</replacement-string>
</string-pair>
<string-pair>
<search-string>#\[2014\]</search-string>
<replacement-string>--</replacement-string>
</string-pair>
<string-pair>
<search-string>#.,</search-string>
<replacement-string>"</replacement-string>
</string-pair>
<string-pair>
<search-string>#.'</search-string>
<replacement-string>"</replacement-string>
</string-pair>
<string-pair>
<search-string>{{{0}/seg}}</search-string>
<replacement-string/>
</string-pair>
<string-pair>
<search-string>{{{00}{c:ti}{[} {]}{00}{c:ti}}}</search-string>
<replacement-string>+</replacement-string>
</string-pair>
</exchange-table>
</exchange>
</modify>
</pass>
<pass>
<modify>
<exchange>
<exchange-table>
<exception-string>%{%}</exception-string>
<exception-string>#.?</exception-string>
<exception-string>{{{0}/abbr}}</exception-string>
<exception-string>{{{0}/emph}}</exception-string>
<exception-string>{{{0}/hi}}</exception-string>
<exception-string>{{{0}/sic}}</exception-string>
<exception-string>{{{0}/unclear}}</exception-string>
<string-pair>
<search-string>}}</search-string>
<replacement-string>}} </replacement-string>
</string-pair>
<string-pair>
<search-string>{{</search-string>
<replacement-string> {{</replacement-string>
</string-pair>
</exchange-table>
</exchange>
</modify>
</pass>
<remove-blanks where="both"/>
<suppress-blank-lines/>
<output-records max-length="120"/>
</transform>
<transform source="$a8z1" destination="$a8-t">
<define-text-units>
<text-unit-start>
<comparison-table>
<exclusion-string>{{abbr}}</exclusion-string>
<exclusion-string>{{emph}}</exclusion-string>
<exclusion-string>{{hi}}</exclusion-string>
<exclusion-string>{{hi+</exclusion-string>
<exclusion-string>{{l}}</exclusion-string>
<exclusion-string>{{l+</exclusion-string>
<exclusion-string>{{s}}</exclusion-string>
<exclusion-string>{{sic}}</exclusion-string>
<exclusion-string>{{stage}}</exclusion-string>
<exclusion-string>{{stage+</exclusion-string>
<exclusion-string>{{unclear}}</exclusion-string>
<comparison-string>{{</comparison-string>
</comparison-table>
</text-unit-start>
</define-text-units>
<new-line-before>
<search-table>
<exception-string>{{abbr}}</exception-string>
<exception-string>{{emph}}</exception-string>
<exception-string>{{hi}}</exception-string>
<exception-string>{{hi+</exception-string>
<exception-string>{{s}}</exception-string>
<exception-string>{{seg}}</exception-string>
<exception-string>{{unclear}}</exception-string>
<exception-string>{{sic}}</exception-string>
<exception-string>{{/</exception-string>
<search-string>{{lg*}} {{l</search-string>
<search-string>{{move*}} {{</search-string>
<search-string>{{</search-string>
</search-table>
</new-line-before>
</transform>
<transform source="$b9-x" destination="$b9-t" take-params="$par"/>
<transform source="$ba9-x" destination="$ba9-t" take-params="$par"/>
<compare versiona="$a8-t" versionb="$b9-t" variants="$diff" type="corrections" listing="-">
<compare-units mode="word"/>
<locations abbreviate="no" word-number="always"/>
<add-context>
<omission length-before="0" length-lemma="5" length-after="0"/>
<replacement length-before="0" length-lemma="5" length-after="0"/>
<insertion length-before="1" length-after="0"/>
</add-context>
<pos-ind-b value="yes"/>
<version-id>B</version-id>
<version-sort-val value="1"/>
</compare>
<compare versiona="$a8-t" versionb="$ba9-t" variants="$diff" option="append" type="corrections" listing="-">
<compare-units mode="word"/>
<locations abbreviate="no" word-number="always"/>
<add-context>
<omission length-before="0" length-lemma="5" length-after="0"/>
<replacement length-before="0" length-lemma="5" length-after="0"/>
<insertion length-before="1" length-after="0"/>
</add-context>
<pos-ind-b value="yes"/>
<version-id>Ba</version-id>
<version-sort-val value="2"/>
</compare>
<sort source="$diff" destination="$diff">
<sort-field num="1" start="1" length="17" order="ascending"/>
<sort-field num="2" start="37" length="2"/>
<!-- 1-17: starting pos. of lemma ,18-34: end position of lemma, 35: type of reference (whole line or words in a line),
36: 2 = omission, 3 = replacement, 4 = insertion, 37-38: version number for sorting,
39-41: continuation lines for long variants,42-44: Pointer to 1st character after context info -->
</sort>
<collate source="$a8-t" mode="cumulated" diff-file="$diff" listing="$diff-listing" special="glyph">
<list lines="with-variants"/>
<version-sort-val value="1"/>
<version-id>B</version-id>
<version-sort-val value="2"/>
<version-id>Ba</version-id>
</collate>
<display file="$diff-listing" type="listing" mode="ps-landscape"/>
</script>