From 742bda1b4fe4be202d7d875b5b55e98c18fc7f68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Vukovi=C4=87?= Date: Wed, 20 Nov 2024 12:39:00 +0100 Subject: [PATCH] add nl and ko editions, start pos files for each edition (#172) --- data/language/target-language-tags/de/parts_of_speech.json | 5 +++++ data/language/target-language-tags/es/parts_of_speech.json | 5 +++++ data/language/target-language-tags/ja/parts_of_speech.json | 5 +++++ data/language/target-language-tags/ko/parts_of_speech.json | 5 +++++ data/language/target-language-tags/nl/parts_of_speech.json | 5 +++++ data/language/target-language-tags/pl/parts_of_speech.json | 5 +++++ data/language/target-language-tags/ru/parts_of_speech.json | 5 +++++ data/language/target-language-tags/zh/parts_of_speech.json | 5 +++++ languages.json | 4 ++-- tools/generate-downloads-table.sh | 2 +- 10 files changed, 43 insertions(+), 3 deletions(-) create mode 100644 data/language/target-language-tags/de/parts_of_speech.json create mode 100644 data/language/target-language-tags/es/parts_of_speech.json create mode 100644 data/language/target-language-tags/ja/parts_of_speech.json create mode 100644 data/language/target-language-tags/ko/parts_of_speech.json create mode 100644 data/language/target-language-tags/nl/parts_of_speech.json create mode 100644 data/language/target-language-tags/pl/parts_of_speech.json create mode 100644 data/language/target-language-tags/ru/parts_of_speech.json create mode 100644 data/language/target-language-tags/zh/parts_of_speech.json diff --git a/data/language/target-language-tags/de/parts_of_speech.json b/data/language/target-language-tags/de/parts_of_speech.json new file mode 100644 index 0000000..34f98d7 --- /dev/null +++ b/data/language/target-language-tags/de/parts_of_speech.json @@ -0,0 +1,5 @@ +[ + ["n", "noun"], + ["v", "verb"], + ["adj", "adjective"] +] \ No newline at end of file diff --git a/data/language/target-language-tags/es/parts_of_speech.json b/data/language/target-language-tags/es/parts_of_speech.json new file mode 100644 index 0000000..34f98d7 --- /dev/null +++ b/data/language/target-language-tags/es/parts_of_speech.json @@ -0,0 +1,5 @@ +[ + ["n", "noun"], + ["v", "verb"], + ["adj", "adjective"] +] \ No newline at end of file diff --git a/data/language/target-language-tags/ja/parts_of_speech.json b/data/language/target-language-tags/ja/parts_of_speech.json new file mode 100644 index 0000000..34f98d7 --- /dev/null +++ b/data/language/target-language-tags/ja/parts_of_speech.json @@ -0,0 +1,5 @@ +[ + ["n", "noun"], + ["v", "verb"], + ["adj", "adjective"] +] \ No newline at end of file diff --git a/data/language/target-language-tags/ko/parts_of_speech.json b/data/language/target-language-tags/ko/parts_of_speech.json new file mode 100644 index 0000000..34f98d7 --- /dev/null +++ b/data/language/target-language-tags/ko/parts_of_speech.json @@ -0,0 +1,5 @@ +[ + ["n", "noun"], + ["v", "verb"], + ["adj", "adjective"] +] \ No newline at end of file diff --git a/data/language/target-language-tags/nl/parts_of_speech.json b/data/language/target-language-tags/nl/parts_of_speech.json new file mode 100644 index 0000000..34f98d7 --- /dev/null +++ b/data/language/target-language-tags/nl/parts_of_speech.json @@ -0,0 +1,5 @@ +[ + ["n", "noun"], + ["v", "verb"], + ["adj", "adjective"] +] \ No newline at end of file diff --git a/data/language/target-language-tags/pl/parts_of_speech.json b/data/language/target-language-tags/pl/parts_of_speech.json new file mode 100644 index 0000000..34f98d7 --- /dev/null +++ b/data/language/target-language-tags/pl/parts_of_speech.json @@ -0,0 +1,5 @@ +[ + ["n", "noun"], + ["v", "verb"], + ["adj", "adjective"] +] \ No newline at end of file diff --git a/data/language/target-language-tags/ru/parts_of_speech.json b/data/language/target-language-tags/ru/parts_of_speech.json new file mode 100644 index 0000000..34f98d7 --- /dev/null +++ b/data/language/target-language-tags/ru/parts_of_speech.json @@ -0,0 +1,5 @@ +[ + ["n", "noun"], + ["v", "verb"], + ["adj", "adjective"] +] \ No newline at end of file diff --git a/data/language/target-language-tags/zh/parts_of_speech.json b/data/language/target-language-tags/zh/parts_of_speech.json new file mode 100644 index 0000000..34f98d7 --- /dev/null +++ b/data/language/target-language-tags/zh/parts_of_speech.json @@ -0,0 +1,5 @@ +[ + ["n", "noun"], + ["v", "verb"], + ["adj", "adjective"] +] \ No newline at end of file diff --git a/languages.json b/languages.json index 57535d6..85b28bc 100755 --- a/languages.json +++ b/languages.json @@ -4,7 +4,7 @@ {"iso": "ar", "language": "Arabic", "flag": "🟩" }, {"iso": "zh", "language": "Chinese", "flag": "🇨🇳", "hasEdition": true }, {"iso": "cs", "language": "Czech", "flag": "🇨🇿" }, - {"iso": "nl", "language": "Dutch", "flag": "🇳🇱" }, + {"iso": "nl", "language": "Dutch", "flag": "🇳🇱", "hasEdition": true }, {"iso": "en", "language": "English", "flag": "🇺🇸🇬🇧", "hasEdition": true }, {"iso": "eo", "language": "Esperanto", "flag": "🌍" }, {"iso": "fi", "language": "Finnish", "flag": "🇫🇮" }, @@ -20,7 +20,7 @@ {"iso": "kn", "language": "Kannada", "flag": "🇮🇳" }, {"iso": "kk", "language": "Kazakh", "flag": "🇰🇿" }, {"iso": "km", "language": "Khmer", "flag": "🇰🇭" }, - {"iso": "ko", "language": "Korean", "flag": "🇰🇷" }, + {"iso": "ko", "language": "Korean", "flag": "🇰🇷", "hasEdition": true }, {"iso": "la", "language": "Latin", "flag": "🏛" }, {"iso": "lv", "language": "Latvian", "flag": "🇱🇻" }, {"iso": "enm", "language": "Middle English", "flag": "🏰" }, diff --git a/tools/generate-downloads-table.sh b/tools/generate-downloads-table.sh index a960eb4..041c8f3 100755 --- a/tools/generate-downloads-table.sh +++ b/tools/generate-downloads-table.sh @@ -1,6 +1,6 @@ first_text="# Downloads -Currently, [Kaikki](https://kaikki.org/dictionary/rawdata.html) supports 8 wiktionary editions (en, zh, fr, de, ja, ru, pl, and es), so only dictionaries including these languages are available. +Currently, [Kaikki](https://kaikki.org/dictionary/rawdata.html) supports 10 wiktionary editions (en, zh, nl, fr, de, ja, ko, ru, pl, and es), so only dictionaries including these languages are available. If the language you want isn't here, or you would like to see an improvement to a dictionary, please [open an issue](https://github.com/yomidevs/kaikki-to-yomitan/issues/new).