From 833ec580a5ad7ea4f72b7774d67e6716bb8e3b63 Mon Sep 17 00:00:00 2001 From: marv Date: Wed, 18 Sep 2024 09:47:18 -0700 Subject: [PATCH] Add Cantonese, Mandarin, JPDB Recommended Dictionaries (#1430) * Add Cantonese and Mandarin recommended dictionaries * Add JPDB --- docs/dictionaries.md | 1 + ext/data/recommended-dictionaries.json | 49 +++++++++++++++++++++++++- 2 files changed, 49 insertions(+), 1 deletion(-) diff --git a/docs/dictionaries.md b/docs/dictionaries.md index ce217765e1..295e92d683 100644 --- a/docs/dictionaries.md +++ b/docs/dictionaries.md @@ -13,6 +13,7 @@ Be aware that non-English dictionaries generally contain fewer entries than thei - [JMnedict](https://github.com/themoeway/jmdict-yomitan#jmnedict-for-yomitan) - Lists readings of person/place/organization names and other proper nouns. - [KANJIDIC](https://github.com/themoeway/jmdict-yomitan#kanjidic-for-yomitan) - An English dictionary listing readings, meanings, and other info about kanji characters. - [BCCWJ Frequency Dictionary](https://github.com/Kuuuube/yomitan-dictionaries?tab=readme-ov-file#bccwj-suw-luw-combined) - A frequency dictionary based on the Balanced Corpus of Contemporary Written Japanese. +- [JPDB Frequency Dictionary](https://github.com/Kuuuube/yomitan-dictionaries?tab=readme-ov-file#jpdb-v21-frequency) - A frequency dictionary based on the corpus from the online Japanese dictionary and SRS system at https://jpdb.io. #### Other Languages diff --git a/ext/data/recommended-dictionaries.json b/ext/data/recommended-dictionaries.json index 31826392c3..8cdb11950d 100644 --- a/ext/data/recommended-dictionaries.json +++ b/ext/data/recommended-dictionaries.json @@ -258,6 +258,12 @@ "description": "Based on the Balanced Corpus of Contemporary Written Japanese covering books, magazines, newspapers, blogs, forums, textbooks, and legal documents among others.", "homepage": "https://github.com/Kuuuube/yomitan-dictionaries?tab=readme-ov-file#bccwj-suw-luw-combined", "downloadUrl": "https://github.com/Kuuuube/yomitan-dictionaries/releases/download/yomitan-permalink/BCCWJ_SUW_LUW_combined.zip" + }, + { + "name": "JPDB", + "description": "A frequency dictionary based on the corpus from the online Japanese dictionary and SRS system at https://jpdb.io.", + "homepage": "https://github.com/Kuuuube/yomitan-dictionaries?tab=readme-ov-file#jpdb-v21-frequency", + "downloadUrl": "https://github.com/Kuuuube/yomitan-dictionaries/releases/download/yomitan-permalink/JPDB_v2.1_kana_display_only.zip" } ], "grammar": [], @@ -573,12 +579,53 @@ } ] }, + "yue": { + "frequency": [ + { + "name": "Words.hk Frequency", + "description": "Frequency list of Cantonese terms and honzi provided by words.hk.", + "homepage": "https://github.com/MarvNC/wordshk-yomitan", + "downloadUrl": "https://github.com/MarvNC/wordshk-yomitan/releases/download/2024-09-17/YUE.Freq.Words.hk.Frequency.zip" + } + ], + "grammar": [], + "kanji": [ + { + "name": "Words.hk 粵典 漢字", + "description": "A free and open Cantonese dictionary with definitions and example sentences in Cantonese and English.", + "homepage": "https://github.com/MarvNC/wordshk-yomitan", + "downloadUrl": "https://github.com/MarvNC/wordshk-yomitan/releases/download/2024-09-17/Words.hk.Honzi.2024-09-16.zip" + } + ], + "pronunciation": [], + "terms": [ + { + "name": "Words.hk 粵典", + "description": "A free and open Cantonese dictionary with definitions and example sentences in Cantonese and English.", + "homepage": "https://github.com/MarvNC/wordshk-yomitan", + "downloadUrl": "https://github.com/MarvNC/wordshk-yomitan/releases/download/2024-09-17/Words.hk.2024-09-16.zip" + } + ] + }, "zh": { "frequency": [], "grammar": [], - "kanji": [], + "kanji": [ + { + "name": "CC-CEDICT", + "description": "A free and open Chinese-English dictionary provided by the CC-CEDICT project.", + "homepage": "https://github.com/MarvNC/cc-cedict-yomitan", + "downloadUrl": "https://github.com/MarvNC/cc-cedict-yomitan/releases/latest/download/CC-CEDICT.Hanzi.zip" + } + ], "pronunciation": [], "terms": [ + { + "name": "CC-CEDICT", + "description": "A free and open Chinese-English dictionary provided by the CC-CEDICT project.", + "homepage": "https://github.com/MarvNC/cc-cedict-yomitan", + "downloadUrl": "https://github.com/MarvNC/cc-cedict-yomitan/releases/latest/download/CC-CEDICT.zip" + }, { "name": "kty-zh-en", "description": "Chinese to English dictionary created from Wiktionary data.",