Skip to content

Commit

Permalink
Merge pull request #885 from xxyzz/ko
Browse files Browse the repository at this point in the history
[ko] translate Korean tags and topics data in "모듈:labels/data"
  • Loading branch information
xxyzz authored Oct 24, 2024
2 parents 14bb2a2 + 8d163cb commit 23e8510
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/wiktextract/extractor/ko/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,43 @@
# https://ko.wiktionary.org/wiki/모듈:labels/data/topical
# https://ko.wiktionary.org/wiki/모듈:labels/data
GLOSS_TAGS = {
"인명": "name",
"고어": "archaic",
"구식": "archaic",
# "대명동사": "",
# "말고름": "",
"비유": "metaphoric",
"사어": "obsolete", # dead language
"유아어": "baby-talk",
"자동사": "intransitive",
"직역": "literally",
"타동사": "transitive",
}

TAGS = {**GLOSS_TAGS}

TOPICS = {
"금융": "finance",
"광고": "advertising",
"군사": "military",
"어류": "fish",
"물리": "physics",
"법률": "law",
"식물": "botany",
"역사": "history",
"의류": "clothing",
"의학": "medicine",
"전기": "electricity",
# "조류": "birds",
"지리": "geography",
"프로그래밍": "programming",
"컴퓨터": "computer",
"해부학": "anatomy",
"정치": "politics",
"종교": "religion",
"가톨릭": "Catholicism",
"축구": "football",
# "체육": "physical-education",
}


Expand Down

0 comments on commit 23e8510

Please sign in to comment.