Coverage for src/wiktextract/extractor/ja/section_titles.py: 100%
2 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
1# List of templates
2# https://ja.wiktionary.org/wiki/Wiktionary:テンプレートの一覧#品詞表記
3POS_DATA = {
4 "名詞": {"pos": "noun"},
5 "数詞": {"pos": "num"},
6 "固有名詞": {"pos": "name"},
7 "代名詞": {"pos": "pron"},
8 "動詞": {"pos": "verb"},
9 "自動詞": {"pos": "verb", "tags": ["intransitive"]},
10 "他動詞": {"pos": "verb", "tags": ["transitive"]},
11 "助動詞": {"pos": "verb", "tags": ["auxiliary"]},
12 "副詞": {"pos": "adv"},
13 "形容詞": {"pos": "adj"},
14 "形容動詞": {"pos": "adj_noun"},
15 "助詞": {"pos": "particle"},
16 "冠詞": {"pos": "article"},
17 "前置詞": {"pos": "prep"},
18 "後置詞": {"pos": "postp"},
19 "間投詞": {"pos": "intj"},
20 "分詞": {"pos": "verb", "tags": ["participle"]},
21 "過去分詞": {"pos": "verb", "tags": ["participle", "past"]},
22 "現在分詞": {"pos": "verb", "tags": ["participle", "present"]},
23 "接続詞": {"pos": "conj"},
24 "類別詞": {"pos": "classifier"},
25 "接頭辞": {"pos": "prefix", "tags": ["morpheme"]},
26 "接尾辞": {"pos": "suffix", "tags": ["morpheme"]},
27 # "小詞"
28 # "修飾詞"
29 # "疑問詞"
30 "和語の漢字表記": {"pos": "unknown", "tags": ["kanji", "form-of"]},
31 "成句": {"pos": "phrase", "tags": ["idiomatic"]},
32 "縮約形": {"pos": "contraction"},
33 "略語": {"pos": "abbrev", "tags": ["abbreviation"]},
34 "頭字語": {"pos": "abbrev", "tags": ["abbreviation"]},
35 "ことわざ": {"pos": "proverb"},
36}
38LINKAGES = {
39 "類義語": "synonyms",
40 "対義語": "antonyms",
41 "上位語": "hypernyms",
42 "下位語": "hyponyms",
43 "全体語": "holonyms",
44 "部分語": "meronyms",
45 "複合語": "derived",
46 "派生語": "derived",
47 "縮約形": "contraction",
48 "略語": "abbreviations",
49 "関連語": "related",
50 "同族語": "coordinate_terms",
51 "熟語": "proverbs",
52 "成句": "phrases",
53 "連語": "collocations",
54 "同系語": "cognates",
55 "諸言語への影響": "descendants",
56}