-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfaustii.xml
319 lines (319 loc) · 15 KB
/
faustii.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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
<?xml version="1.0" encoding="UTF-8"?>
<script xmlns="http://www.xstep.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- xsi:schemaLocation="http://www.xstep.org file:///C:/users/Gerrit/txstep/schema/txstep.xsd" -->
<!-- Compare more than two (xml-)sources, output = diff-files with TEI inspired tags -->
<variables>
<!-- Ausgangsdaten -->
<variable type="execution-file" name="execute"
>file:///C:/Users/Gerrit/txstep/ueb/txstep.tu</variable>
<variable type="permanent-file" name="h-x" code="utf8"
>file:///C:/Users/Gerrit/txstep/texte/h.xml</variable>
<variable type="permanent-file" name="c1-41-x" code="utf8"
>file:///C:/Users/Gerrit/txstep/texte/c1-41.xml</variable>
<variable type="permanent-file" name="fa-x" code="utf8"
>file:///C:/Users/Gerrit/txstep/texte/fa.xml</variable>
<variable type="permanent-file" name="ma-x" code="utf8"
>file:///C:/Users/Gerrit/txstep/texte/ma.xml</variable>
<!-- Zeichen -->
<char-group name="ok">?{-}{{}}%</char-group>
<!-- ok für ohne Klammern -->
<!-- das sind alle Zeichen ("?") außer ("{-}") den Spitzklammern ("{{" und "}}") und außer % -->
<!-- Das % ist in die char-group als Ausnahme mit aufgenommen, damit nicht auch in der
Zeichenfolge "T%<est i%>st" (wo die Spitzklammern Bestandteil der TUSTEP-Codierung
für e mit Zirkumflex und s mit Hacek sind) das Blank ausgetauscht wird. -->
<!-- Grundtext permanent -->
<variable type="permanent-file" option="erase" name="h-t" format="tustep"
>file:///C:/Users/Gerrit/txstep/texte/h.tf</variable>
<!-- Scratch-Files -->
<variable type="scratch-file" name="c1-41-s"/>
<variable type="scratch-file" name="fa-s"/>
<variable type="scratch-file" name="ma-s"/>
<!-- par -->
<variable type="scratch-file" name="par"/>
<!-- XML-Vergleiche -->
<variable type="permanent-file" name="h-c1-41-x" option="erase"
>file:///C:/Users/Gerrit/txstep/vergleiche/h-c1-41.xml</variable>
<variable type="permanent-file" name="h-fa-x" option="erase"
>file:///C:/Users/Gerrit/txstep/vergleiche/h-fa.xml</variable>
<variable type="permanent-file" name="h-ma-x" option="erase"
>file:///C:/Users/Gerrit/txstep/vergleiche/h-ma.xml</variable>
<!-- TUSTEP-VERGLEICHE -->
<variable type="permanent-file" name="h-c1-41-t" option="erase" format="tustep"
>file:///C:/Users/Gerrit/txstep/vergleiche/h-c1-41.list</variable>
<variable type="permanent-file" name="h-fa-t" option="erase" format="tustep"
>file:///C:/Users/Gerrit/txstep/vergleiche/h-fa.list</variable>
<variable type="permanent-file" name="h-ma-t" option="erase" format="tustep"
>file:///C:/Users/Gerrit/txstep/vergleiche/h-ma.list</variable>
<!-- Listing -->
<variable type="permanent-file" name="faustii-k" option="erase" format="tustep"
>file:///C:/Users/Gerrit/txstep/vergleiche/faustii.list</variable>
</variables>
<transform source="$h-x" destination="$h-t" 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>
<!-- Akzente -->
<exception-string>#.?</exception-string>
<!-- frz. Anführungszeichen -->
<string-pair>
<search-string>{{join*/}}</search-string>
<replacement-string/>
</string-pair>
<string-pair>
<search-string>{{{0}/orig*}}</search-string>
<replacement-string/>
</string-pair>
<string-pair>
<search-string>{{{0}/unclear*}}</search-string>
<replacement-string/>
</string-pair>
<string-pair>
<search-string>{{pb*/}}</search-string>
<replacement-string/>
</string-pair>
<string-pair>
<search-string>{{{00}{c:ok}{[} {]}{00}{c:ok}}}</search-string>
<replacement-string>_</replacement-string>
</string-pair>
<string-pair>
<search-string>{{{\a}{00}{c:ok}}} {{/{00}{c:ok}}}</search-string>
<replacement-string> </replacement-string>
</string-pair>
<string-pair>
<search-string>#\[2019\]</search-string>
<replacement-string>'</replacement-string>
<!-- Apostroph -->
</string-pair>
<string-pair>
<search-string>#\[2013\]</search-string>
<replacement-string>--</replacement-string>
<!-- Halbgeviertstrich -->
</string-pair>
<string-pair>
<search-string>#\[2014\]</search-string>
<replacement-string>--</replacement-string>
<!-- Geviertstrich -->
</string-pair>
</exchange-table>
</exchange>
</modify>
</pass>
<pass>
<modify>
<exchange>
<exchange-table>
<exception-string>?{{sic}}?</exception-string>
<exception-string>?{{/sic}}?</exception-string>
<string-pair>
<search-string>}}{[}?</search-string>
<replacement-string> {-1=}</replacement-string>
</string-pair>
<string-pair>
<search-string>?{]}{{/</search-string>
<replacement-string>{+1=} </replacement-string>
</string-pair>
</exchange-table>
</exchange>
</modify>
</pass>
<remove-blanks where="both"/>
<!-- spaces am Zeilenanfang und am Zeilenende weg -->
<suppress-blank-lines/>
<!-- Leerzeilen (diese enthielten ggf. nur tags) entfernen -->
<output-records max-length="120"/>
<!-- max. Zeilenlänge für Prosa-Teile -->
</transform>
<transform source="$c1-41-x" destination="$c1-41-s" take-params="$par"/>
<transform source="$fa-x" destination="$fa-s" take-params="$par">
<!--<string-pair>
<search-string>{{supplied}}*{{/supplied}}</search-string>
<replacement-string/>
</string-pair>-->
</transform>
<transform source="$ma-x" destination="$ma-s" take-params="$par"/>
<compare versiona="$h-t" versionb="$c1-41-s" variants="$h-c1-41-x" type="readings"
listing="h-c1-41-t">
<compare-units mode="word"/>
<normalize>
<exchange-table>
<string-pair>
<search-string>_rend="*"</search-string>
<replacement-string/>
</string-pair>
<string-pair>
<search-string>ey</search-string>
<replacement-string>ei</replacement-string>
</string-pair>
<string-pair>
<search-string>'s</search-string>
<replacement-string>s</replacement-string>
</string-pair>
</exchange-table>
</normalize>
<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>C1 41</version-id>
</compare>
<!--<display file="$h-c1-41-t" type="listing"/>-->
<compare versiona="$h-t" versionb="$fa-s" variants="$h-fa-x" type="readings" listing="h-fa-t">
<compare-units mode="word"/>
<normalize>
<exchange-table>
<exception-string>{\a}{[}{\A}{00}{\A}</exception-string>
<exception-string>{\A}{00}{\A}{]}{\a}</exception-string>
<string-pair>
<search-string>{\A}{00}{\A}</search-string>
<replacement-string>{+1=}{+2-}</replacement-string>
</string-pair>
<string-pair>
<search-string>.{]} {{/speaker}}</search-string>
<replacement-string/>
</string-pair>
<string-pair>
<search-string>}}{[}(</search-string>
<replacement-string/>
</string-pair>
<string-pair>
<search-string>){]}{{/stage}}</search-string>
<replacement-string/>
</string-pair>
<string-pair>
<search-string>{{{00}{c:ok}}}</search-string>
<replacement-string/>
</string-pair>
<string-pair>
<search-string>\Ae</search-string>
<replacement-string>Ä</replacement-string>
</string-pair>
<string-pair>
<search-string>\Oe</search-string>
<replacement-string>Ö</replacement-string>
</string-pair>
<string-pair>
<search-string>\Ue</search-string>
<replacement-string>Ü</replacement-string>
</string-pair>
<string-pair>
<search-string>aas</search-string>
<replacement-string>aß</replacement-string>
</string-pair>
<string-pair>
<search-string>aa</search-string>
<replacement-string>a</replacement-string>
</string-pair>
<string-pair>
<search-string>C</search-string>
<replacement-string>K</replacement-string>
</string-pair>
<string-pair>
<search-string>\ck</search-string>
<replacement-string>\k</replacement-string>
</string-pair>
<string-pair>
<search-string>dt</search-string>
<replacement-string>t</replacement-string>
</string-pair>
<string-pair>
<search-string>y</search-string>
<replacement-string>i</replacement-string>
</string-pair>
<string-pair>
<search-string>ie</search-string>
<replacement-string>i</replacement-string>
</string-pair>
<string-pair>
<search-string>#.s</search-string>
<replacement-string>s</replacement-string>
</string-pair>
<string-pair>
<search-string>\Th</search-string>
<replacement-string>T</replacement-string>
</string-pair>
<string-pair>
<search-string>\th</search-string>
<replacement-string>t</replacement-string>
</string-pair>
<string-pair>
<search-string>zz</search-string>
<replacement-string>tz</replacement-string>
</string-pair>
<!--<string-pair>
<search-string>{{supplied}}*{{/supplied}}</search-string>
<replacement-string/>
</string-pair>-->
</exchange-table>
</normalize>
<normalize2>
<exchange-table>
<string-pair>
<search-string>zt</search-string>
<replacement-string>tzt</replacement-string>
</string-pair>
<string-pair>
<search-string>z</search-string>
<replacement-string>tz</replacement-string>
</string-pair>
<string-pair>
<search-string>s</search-string>
<replacement-string>ß</replacement-string>
</string-pair>
</exchange-table>
</normalize2>
<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>FA</version-id>
</compare>
<!-- <display file="$h-fa-t" type="listing" mode="ps-landscape"/>-->
<compare versiona="$h-t" versionb="$ma-s" variants="$h-ma-x" type="readings" listing="h-ma-t">
<compare-units mode="word"/>
<normalize>
<exchange-table>
<!-- \ = case sensitivity for following letter -->
<string-pair>
<search-string>{{{00}{c:ok}}}</search-string>
<replacement-string/>
</string-pair>
<string-pair>
<search-string>#.s</search-string>
<replacement-string>s</replacement-string>
</string-pair>
</exchange-table>
</normalize>
<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>MA</version-id>
</compare>
<!--<display file="$h-ma-t" type="listing"/>-->
<!-- kumuliert -->
<collate source="$h-t" mode="single-witness" diff-file="$h-fa-x" listing="$faustii-k">
<!-- $h-c1-41-x' -->
<!-- '$h-ma-x -->
<list lines="all"/>
</collate>
<display file="$faustii-k" type="listing" mode="ps-landscape"/>
</script>