From 51a6d25595b78790153dd7677b82e5b68a8d2624 Mon Sep 17 00:00:00 2001 From: Stefan Vukovic Date: Wed, 20 Nov 2024 12:38:25 +0100 Subject: [PATCH] add nl and ko editions, start pos files for each edition --- 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).