Debian Codegraph @

importers/ding2tei/todo/parsing.slashes

raw
1 Parsing of single slashes
2 =========================
3
4 Issue 1): Recognizing the scope of weak slashes
5 -----------------------------------------------
6
7 Examples.
8 * "(mit jdm. / mit etw.)"
9 * "| Auslandsdeutsche / Auslandsfranzosen ::"
10 * "Kein / Keine [Ös.] Ausschank"
11 * Converted to strong slash in preprocessing
12 * There are many more similar occurences.
13 * "| über dem / überm [ugs.] Durchschnitt |"
14
15
16 Issue 2): partial words
17 -----------------------
18
19 Examples:
20 * "An-/Durchbohren"
21 * "Jugendstil-/Kunst" (before preprocessing: "Jugendstil- [Kunst]")
22
23
24 Issue 3) Comma separated abbrevs
25 --------------------------------
26
27 Examples:
28 * "Gesellschaft mit beschränkter Haftung /GmbH/, /GesmbH/"
29 * "bürgerlichen Rechts /GbR/; /GdbR/, BGB-Gesellschaft"
30 * not really an example
31
32 (not strongly related) Consider to make all abbreviations their own entry.
33
34
35 Remainder (single slashes)
36 --------------------------
37
38 Not to be confused with slash-enclosed annotations.
39
40 examples
41 - "auf/in etw. surfen"
42 - "eine Droge, die schnell süchtig macht / von der man schnell abhängig wird"
43
44 subcategory pronouns
45 - "er/sie surft"
46
47
48 Resolving the problems:
49 ? keep a state for the current preceding spaces (Bool possibly suffices)
50 ? match different entities depending on the availability of preceding or
51 succeding space / separator.
52
53
54 See also
55 --------
56
57 * doc/ding.slashes