Coverage for src/wiktextract/extractor/it/section_titles.py: 100%

2 statements  

« prev     ^ index     » next       coverage.py v7.9.0, created at 2025-06-13 07:43 +0000

1# https://it.wiktionary.org/wiki/Wikizionario:Parti_del_discorso 

2# https://it.wiktionary.org/wiki/Categoria:Template_parti_del_discorso 

3# https://it.wiktionary.org/wiki/Categoria:Template_aggiornati 

4# https://it.wiktionary.org/wiki/Categoria:Template_per_gli_aggettivi 

5# https://it.wiktionary.org/wiki/Categoria:Template_altre_voci 

6POS_DATA = { 

7 "Acronimo / Abbreviazione": {"pos": "abbrev", "tags": ["abbreviation"]}, 

8 "Articolo": {"pos": "article"}, 

9 "Avverbio": {"pos": "adv"}, 

10 "Classificatore": {"pos": "classifier"}, 

11 "Congiunzione": {"pos": "conj"}, 

12 "Espressione": {"pos": "phrase"}, 

13 "Hanzi": {"pos": "character", "tags": ["hanzi"]}, 

14 "Interiezione": {"pos": "intj"}, 

15 "Pronuncia kanji": {"pos": "character", "tags": ["kanji"]}, 

16 "Locuzione aggettivale": {"pos": "phrase", "tags": ["adjective"]}, 

17 "Locuzione avverbiale": {"pos": "adv_phrase"}, 

18 "Locuzione congiuntiva": {"pos": "phrase", "tags": ["conjunctive"]}, 

19 "Locuzione interiettiva": {"pos": "phrase", "tags": ["interjection"]}, 

20 "Locuzione nominale": {"pos": "phrase", "tags": ["noun"]}, 

21 "Locuzione nominale, forma flessa": { 

22 "pos": "phrase", 

23 "tags": ["noun", "form-of"], 

24 }, 

25 "Locuzione prepositiva": {"pos": "prep_phrase"}, 

26 "Locuzione verbale": {"pos": "phrase", "tags": ["verb"]}, 

27 "Nome proprio, forma flessa": {"pos": "name", "tags": ["form-of"]}, 

28 "Nome proprio": {"pos": "name"}, 

29 "Particella": {"pos": "particle"}, 

30 "Posposizione": {"pos": "postp"}, 

31 "Preposizione": {"pos": "prep"}, 

32 "Pronome dimostrativo": {"pos": "pron", "tags": ["demonstrative"]}, 

33 "Pronome indefinito": {"pos": "pron", "tags": ["indefinite"]}, 

34 "Pronome interrogativo": {"pos": "pron", "tags": ["interrogative"]}, 

35 "Pronome possessivo": {"pos": "pron", "tags": ["possessive"]}, 

36 "Pronome relativo": {"pos": "pron", "tags": ["relative"]}, 

37 "Pronome riflessivo": {"pos": "pron", "tags": ["reflexive"]}, 

38 "Pronome": {"pos": "pron"}, 

39 "Pronome, forma flessa": {"pos": "pron", "tags": ["form-of"]}, 

40 "Sostantivo": {"pos": "noun"}, 

41 "Sostantivo, forma flessa": {"pos": "noun", "tags": ["form-of"]}, 

42 "Verbo": {"pos": "verb"}, 

43 "Voce verbale": {"pos": "verb", "tags": ["form-of"]}, 

44 "Lettera": {"pos": "character", "tags": ["letter"]}, 

45 "Prefisso": {"pos": "prefix", "tags": ["morpheme"]}, 

46 "Aggettivo": {"pos": "adj"}, 

47 "Aggettivo dimostrativo": {"pos": "adj", "tags": ["demonstrative"]}, 

48 "Aggettivo nominale": {"pos": "adj_noun"}, 

49 "Aggettivo numerale": {"pos": "adj", "tags": ["numeral"]}, 

50 "Aggettivo possessivo": {"pos": "adj", "tags": ["possessive"]}, 

51 "Cifra": {"pos": "num"}, 

52 "Prefissoide": {"pos": "prefix", "tags": ["morpheme"]}, 

53 "Segno di interpunzione": {"pos": "punct", "tags": ["punctuation"]}, 

54 "Suffisso": {"pos": "suffix", "tags": ["morpheme"]}, 

55 "Aggettivo, forma flessa": {"pos": "adj", "tags": ["form-of"]}, 

56 "Aggettivo numerale, forma flessa": { 

57 "pos": "adj", 

58 "tags": ["numeral", "form-of"], 

59 }, 

60 "Abbreviazione in uso nelle chat": { 

61 "pos": "abbrev", 

62 "tags": ["abbreviation"], 

63 }, 

64 "Codice / Simbolo": {"pos": "symbol"}, 

65 "Carattere hiragana": {"pos": "character", "tags": ["hiragana"]}, 

66 "Confisso": {"pos": "affix"}, 

67 "Kanji": {"pos": "character", "tags": ["kanji"]}, 

68 "Trascrizione": {"pos": "unknown", "tags": ["transcription", "form-of"]}, 

69} 

70 

71 

72LINKAGE_SECTIONS = { 

73 "Sinonimi": "synonyms", 

74 "Contrari": "antonyms", 

75 "Derivati": "derived", 

76 "Termini correlati": "related", 

77 "Varianti": "related", 

78 "Alterati": "related", 

79 "Iponimi": "hyponyms", 

80 "Iperonimi": "hypernyms", 

81 "Da non confondere con": "related", 

82 "Proverbi e modi di dire": "proverbs", 

83 "Parole derivate": "derived", 

84}