Coverage for src/wiktextract/extractor/it/section_titles.py: 100%
3 statements
« prev ^ index » next coverage.py v7.14.1, created at 2026-06-03 06:55 +0000
« prev ^ index » next coverage.py v7.14.1, created at 2026-06-03 06:55 +0000
1from ...config import POSSubtitleData
3# https://it.wiktionary.org/wiki/Wikizionario:Parti_del_discorso
4# https://it.wiktionary.org/wiki/Categoria:Template_parti_del_discorso
5# https://it.wiktionary.org/wiki/Categoria:Template_aggiornati
6# https://it.wiktionary.org/wiki/Categoria:Template_per_gli_aggettivi
7# https://it.wiktionary.org/wiki/Categoria:Template_altre_voci
8POS_DATA: dict[str, POSSubtitleData] = {
9 "Acronimo / Abbreviazione": {"pos": "abbrev", "tags": ["abbreviation"]},
10 "Articolo": {"pos": "article"},
11 "Avverbio": {"pos": "adv"},
12 "Classificatore": {"pos": "classifier"},
13 "Congiunzione": {"pos": "conj"},
14 "Espressione": {"pos": "phrase"},
15 "Hanzi": {"pos": "character", "tags": ["hanzi"]},
16 "Interiezione": {"pos": "intj"},
17 "Pronuncia kanji": {"pos": "character", "tags": ["kanji"]},
18 "Locuzione aggettivale": {"pos": "phrase", "tags": ["adjective"]},
19 "Locuzione avverbiale": {"pos": "adv_phrase"},
20 "Locuzione congiuntiva": {"pos": "phrase", "tags": ["conjunctive"]},
21 "Locuzione interiettiva": {"pos": "phrase", "tags": ["interjection"]},
22 "Locuzione nominale": {"pos": "phrase", "tags": ["noun"]},
23 "Locuzione nominale, forma flessa": {
24 "pos": "phrase",
25 "tags": ["noun", "form-of"],
26 },
27 "Locuzione prepositiva": {"pos": "prep_phrase"},
28 "Locuzione verbale": {"pos": "phrase", "tags": ["verb"]},
29 "Nome proprio, forma flessa": {"pos": "name", "tags": ["form-of"]},
30 "Nome proprio": {"pos": "name"},
31 "Particella": {"pos": "particle"},
32 "Posposizione": {"pos": "postp"},
33 "Preposizione": {"pos": "prep"},
34 "Pronome dimostrativo": {"pos": "pron", "tags": ["demonstrative"]},
35 "Pronome indefinito": {"pos": "pron", "tags": ["indefinite"]},
36 "Pronome interrogativo": {"pos": "pron", "tags": ["interrogative"]},
37 "Pronome possessivo": {"pos": "pron", "tags": ["possessive"]},
38 "Pronome relativo": {"pos": "pron", "tags": ["relative"]},
39 "Pronome riflessivo": {"pos": "pron", "tags": ["reflexive"]},
40 "Pronome": {"pos": "pron"},
41 "Pronome, forma flessa": {"pos": "pron", "tags": ["form-of"]},
42 "Sostantivo": {"pos": "noun"},
43 "Sostantivo, forma flessa": {"pos": "noun", "tags": ["form-of"]},
44 "Verbo": {"pos": "verb"},
45 "Voce verbale": {"pos": "verb", "tags": ["form-of"]},
46 "Lettera": {"pos": "character", "tags": ["letter"]},
47 "Prefisso": {"pos": "prefix", "tags": ["morpheme"]},
48 "Aggettivo": {"pos": "adj"},
49 "Aggettivo dimostrativo": {"pos": "adj", "tags": ["demonstrative"]},
50 "Aggettivo nominale": {"pos": "adj_noun"},
51 "Aggettivo numerale": {"pos": "adj", "tags": ["numeral"]},
52 "Aggettivo possessivo": {"pos": "adj", "tags": ["possessive"]},
53 "Cifra": {"pos": "num"},
54 "Prefissoide": {"pos": "prefix", "tags": ["morpheme"]},
55 "Segno di interpunzione": {"pos": "punct", "tags": ["punctuation"]},
56 "Suffisso": {"pos": "suffix", "tags": ["morpheme"]},
57 "Aggettivo, forma flessa": {"pos": "adj", "tags": ["form-of"]},
58 "Aggettivo numerale, forma flessa": {
59 "pos": "adj",
60 "tags": ["numeral", "form-of"],
61 },
62 "Abbreviazione in uso nelle chat": {
63 "pos": "abbrev",
64 "tags": ["abbreviation"],
65 },
66 "Codice / Simbolo": {"pos": "symbol"},
67 "Carattere hiragana": {"pos": "character", "tags": ["hiragana"]},
68 "Confisso": {"pos": "affix"},
69 "Kanji": {"pos": "character", "tags": ["kanji"]},
70 "Trascrizione": {"pos": "unknown", "tags": ["transcription", "form-of"]},
71}
74LINKAGE_SECTIONS = {
75 "Sinonimi": "synonyms",
76 "Contrari": "antonyms",
77 "Derivati": "derived",
78 "Termini correlati": "related",
79 "Varianti": "related",
80 "Alterati": "related",
81 "Iponimi": "hyponyms",
82 "Iperonimi": "hypernyms",
83 "Da non confondere con": "related",
84 "Proverbi e modi di dire": "proverbs",
85 "Parole derivate": "derived",
86}