Coverage for src/wiktextract/extractor/de/section_titles.py: 100%
4 statements
« prev ^ index » next coverage.py v7.6.10, created at 2024-12-27 08:07 +0000
« prev ^ index » next coverage.py v7.6.10, created at 2024-12-27 08:07 +0000
1from ...config import POSSubtitleData
3# argument of title template https://de.wiktionary.org/wiki/Vorlage:Wortart
4POS_SECTIONS: dict[str, POSSubtitleData] = {
5 "Abkürzung (Deutsch)": {"pos": "abbrev", "tags": ["abbreviation"]},
6 "Abkürzung": {"pos": "abbrev", "tags": ["abbreviation"]},
7 "Abtönungspartikel": {"pos": "particle"},
8 "Adjektiv": {"pos": "adj"},
9 "Adverb": {"pos": "adv"},
10 "Affix": {"pos": "affix"},
11 "Antwortpartikel": {"pos": "particle"},
12 "Artikel": {"pos": "det"},
13 "Bruchzahlwort": {"pos": "num"},
14 "Buchstabe": {"pos": "character"},
15 "Demonstrativpronomen": {"pos": "pron"},
16 "Eigenname ": {"pos": "name"},
17 "Eigenname": {"pos": "name"},
18 "Enklitikon": {"pos": "suffix", "tags": ["morpheme"]},
19 "Fokuspartikel": {"pos": "particle"},
20 "Formel": {"pos": "phrase"},
21 "Geflügeltes Wort": {"pos": "phrase"},
22 "Gentilname": {"pos": "name"},
23 "Gradpartikel": {"pos": "particle"},
24 "Grußformel": {"pos": "phrase"},
25 "Hilfsverb": {"pos": "verb", "tags": ["auxiliary"]},
26 "Hiragana": {"pos": "character"},
27 "Indefinitpronomen": {"pos": "pron"},
28 "Infinitiv": {"pos": "verb"},
29 "Infix": {"pos": "infix"},
30 "Interfix": {"pos": "interfix"},
31 "Interjektion": {"pos": "intj"},
32 "Interrogativadverb": {"pos": "adv"},
33 "Interrogativpronomen": {"pos": "pron"},
34 "Kardinalzahl": {"pos": "num"},
35 "Kausaladverb": {"pos": "adv"},
36 "Kognomen": {"pos": "name"},
37 "Konjunktion": {"pos": "conj"},
38 "Konjunktionaladverb": {"pos": "adv"},
39 "Kontraktion": {"pos": "abbrev"},
40 "Lokaladverb": {"pos": "adv"},
41 "Merkspruch": {"pos": "phrase"},
42 "Modaladverb": {"pos": "adv"},
43 "Modalpartikel": {"pos": "particle"},
44 "Nachname": {"pos": "name"},
45 "Negationspartikel": {"pos": "particle"},
46 "Numerale": {"pos": "num"},
47 "Onomatopoetikum": {"pos": "intj"},
48 "Ortsnamengrundwort": {"pos": "name"},
49 "Ordinalzahl": {"pos": "num"},
50 "Partikel": {"pos": "particle"},
51 "Partikelverb": {"pos": "verb"},
52 "Patronym": {"pos": "name"},
53 "Personalpronomen": {"pos": "pron"},
54 "Possessivpronomen": {"pos": "pron"},
55 "Postposition": {"pos": "postp"},
56 "Präfix": {"pos": "prefix", "tags": ["morpheme"]},
57 "Präfixoid": {"pos": "prefix", "tags": ["morpheme"]},
58 "Präposition": {"pos": "prep"},
59 "Pronomen": {"pos": "pron"},
60 "Pronominaladverb": {"pos": "adv"},
61 "Redewendung": {"pos": "phrase"},
62 "Reflexives Personalpronomen": {"pos": "pron"},
63 "Reflexivpronomen": {"pos": "pron"},
64 "Relativpronomen": {"pos": "pron"},
65 "Reziprokpronomen": {"pos": "pron"},
66 "Schriftzeichen": {"pos": "character"},
67 "Sprichwort": {"pos": "phrase"},
68 "Straßenname": {"pos": "name"},
69 "Subjunktion": {"pos": "conj"},
70 "Substantiv": {"pos": "noun"},
71 "Suffix": {"pos": "suffix", "tags": ["morpheme"]},
72 "Suffixoid": {"pos": "suffix", "tags": ["morpheme"]},
73 "Symbol": {"pos": "symbol"},
74 "Temporaladverb": {"pos": "adv"},
75 "Temporaldverb": {"pos": "adv"},
76 "Toponym": {"pos": "name"},
77 "Verb": {"pos": "verb"},
78 "Vergleichspartikel": {"pos": "particle"},
79 "Vervielfältigungszahlwort": {"pos": "num"},
80 "Vorname": {"pos": "name"},
81 "Wiederholungszahlwort": {"pos": "num"},
82 "Wortverbindung": {"pos": "phrase"},
83 "Zahlklassifikator": {"pos": "noun"},
84 "Zahlzeichen": {"pos": "num"},
85 "Zirkumfix": {"pos": "circumfix", "tags": ["morpheme"]},
86 "Zirkumposition": {"pos": "circumpos"},
87}
89LINKAGE_TITLES: dict[str, str] = {
90 "Gegenwörter": "antonyms",
91 "Holonyme": "holonyms",
92 "Oberbegriffe": "hypernyms",
93 "Redewendungen": "expressions",
94 "Sinnverwandte Redewendungen": "synonyms",
95 "Sinnverwandte Wörter": "coordinate_terms",
96 "Sinnverwandte Zeichen": "synonyms",
97 "Sprichwörter": "proverbs",
98 "Synonyme": "synonyms",
99 "Unterbegriffe": "hyponyms",
100 "Wortbildungen": "derived",
101 "Abgeleitete Symbole": "derived",
102 "Geflügelte Worte": "proverbs",
103 "Meronyme": "meronyms",
104}
106FORM_TITLES = {
107 "Nebenformen": ["variant"],
108 "Namensvarianten": ["variant"],
109 "Weibliche Wortformen": ["feminine"],
110 "Weibliche Namensvarianten": ["feminine"],
111 "Männliche Wortformen": ["masculine"],
112 "Verkleinerungsformen": ["diminutive"],
113 "Vergrößerungsformen": ["augmentative"],
114 "Kurzformen": ["abbreviation"],
115 "Koseformen": ["affective"],
116 "Hanja": ["hanja"],
117 "Männliche Namensvarianten": ["masculine"],
118 "Nicht mehr gültige Schreibweisen": ["obsolete"],
119 "Symbole": ["symbol"],
120}