-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfaust-adapt.xml
87 lines (87 loc) · 3.99 KB
/
faust-adapt.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
<?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>
<!-- sources -->
<variable type="permanent-file" name="goett44r" code="UTF-8"
>file:///C:/Users/Gerrit/txstep/txt/83v.xml</variable>
<!-- par -->
<variable type="scratch-file" name="adapt"/>
<!-- results -->
<variable type="permanent-file" option="erase" name="goett44r-ad" code="utf8"
>file:///C:/Users/Gerrit/txstep/txt/44r_neu.xml</variable>
<variable type="permanent-file" option="erase" name="goett44r-t" format="tustep"
>file:///C:/Users/Gerrit/txstep/txt/goett44r_neu.tf</variable>
<!-- groups -->
<char-group name="vo">aäeioöuü</char-group>
<string-group name="st">
<exception>f:</exception>
<member>?</member>
</string-group>
</variables>
<transform source="$goett44r" destination="$goett44r-ad" save-params="$adapt">
<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-from>
<search-table>
<search-string>{{ge:line</search-string>
</search-table>
</exchange-from>
<exchange-to>
<search-table>
<search-string>{{/ge:line}}</search-string>
</search-table>
</exchange-to>
<exchange>
<exchange-table>
<exception-string>f:st</exception-string>
<exception-string>{{{0}/s</exception-string>
<exception-string> au\s</exception-string>
<exception-string>#parenthesis</exception-string>
<string-pair>
<search-string>\s\s</search-string>
<replacement-string>#.s#.s</replacement-string>
</string-pair>
<string-pair>
<search-string>\sch</search-string>
<replacement-string>#.sch</replacement-string>
</string-pair>
<string-pair>
<search-string>\sp</search-string>
<replacement-string>#.sp</replacement-string>
</string-pair>
<string-pair>
<search-string>\st</search-string>
<replacement-string>#.st</replacement-string>
</string-pair>
<string-pair>
<search-string>\s{]}{c:vo}</search-string>
<replacement-string>#.s</replacement-string>
</string-pair>
<string-pair>
<search-string>\u.s.w.</search-string>
<replacement-string>u.#.s.w.</replacement-string>
</string-pair>
<string-pair>
<search-string>\s{]}cr</search-string>
<replacement-string>#.s</replacement-string>
</string-pair>
</exchange-table>
</exchange>
</modify>
</pass>
<remove-blanks where="both"/>
<suppress-blank-lines/>
</transform>
<transform source="$goett44r" destination="$goett44r-t" take-params="$adapt"/>
<display file="$goett44r-ad"/>
</script>