marvnc/yomitan-dictionaries

repository·master·Indexed 19 days ago

https://github.com/marvnc/yomitan-dictionaries

A comprehensive collection of Japanese and Chinese dictionaries formatted for the Yomitan (formerly Yomichan) browser extension. The repository provides curated starter packs, bilingual (JA-EN) and monolingual (JA-JA) dictionaries, grammar resources, frequency data for vocabulary sorting, and specialized dictionaries for kanji, onomatopoeia, and internet culture. It also includes a JavaScript script for automating dictionary sort order and custom CSS snippets to improve the visual presentation of specific dictionary entries.

Tokens
8.5K
Snippets
13
Records
48
Agent score
25%

What's inside marvnc-yomitan-dictionaries

  1. Overview of Yomitan Dictionaries

    master
    This repository serves as a hub for Japanese and Chinese dictionaries compatible with Yomitan (formerly Yomichan), a dictionary browser extension for Chrome, Firefox, and Edge. It provides collections of terms, kanji/hanzi information, frequency data, and variants, including both monolingual and bilingual options.
  2. Japanese Monolingual Dictionaries Overview

    master

    A wide variety of Japanese-to-Japanese (monolingual) dictionaries are available in the collection, including:

    • Standard Reference Works: 広辞苑 (Kojien), 三省堂国語辞典 (Sanseido), 新明解国語辞典 (Shinmeikai), 明鏡国語辞典 (Meikyo), 大辞林 (Daijirin), and デジタル大辞泉 (Daijisen).
    • Specialized Dictionaries:
      • Idioms/Proverbs: 四字熟語 (Four-character idioms), 故事ことわざ (Proverbs/Sayings), and 慣用句 (Idioms).
      • Historical/Classical: 三省堂 全訳読解古語辞典, 旺文社 全訳古語辞典, and Weblio 古語辞典.
      • Niche/Modern: 日本語俗語辞書 (Slang), ネット用語辞典「ネット王子」 (Internet slang/forum culture), and 漢字源 (Kanji).
    • Caoimhe's Collection: Specialized dictionaries including 例解学習国語辞典 (great for semi-beginners), 有斐閣法律用語辞典 (Legal terms), and 南山堂医学大辞典 (Medical terms).
    • Salwynn's Collection: Image-heavy and specialized dictionaries such as 語彙力・熟語の百科事典, 絵でわかる慣用句 (manga-based explanations), ポケモン図鑑 (Pokemon), and 用例.jp (contextual examples from Jmdict).
  3. Enable conjugation for Japanese terms

    master

    For Japanese terms to support conjugation in Yomitan, they must have an appropriate part of speech tag defined in the tag_bank.

    • Standard part of speech labels can be found on the official JMDict page.
    • If your dictionary is small, you can often copy these labels directly from JMDict.
    • The yomichan-dict-reader npm package can be used to extract conjugations from JMDict.
  4. Use surasura Onomatopoeia dictionary

    master

    The surasura dictionary provides onomatopoeia entries with specific visual markers using emojis:

    • ℹ️ emoji: Indicates an extended explanation is available for the entry.
    • 🇯🇵 flag emoji: Indicates the presence of example sentences.
    Download: https://github.com/MarvNC/yomichan-dictionaries/raw/master/dl/%5BMonolingual%5D%20surasura.zip
  5. Install Kanken Kanji Jiten 2nd Edition

    master

    The 漢検漢字辞典 第二版 Kanken Kanji Jiten 2nd Edition is a kanji dictionary produced by the Japanese Kanji Aptitude Test Association.

    Requirement: This dictionary uses new schema additions and will not work on outdated installations. You must install Yomitan 23.12.29 or newer.

    Download: https://files.catbox.moe/pnobup.zip
    Required Version: Yomitan 23.12.29+
  6. Customize Shinsenkoku Tenth Edition with CSS

    master

    To improve the visual presentation of the [JA-JA] 新選国語辞典 第十版 dictionary in Yomitan, use the following custom CSS. This ensures that certain table headers and specific data attributes (like 'warichu' and 'red') are formatted correctly (e.g., preventing line wraps and applying specific colors).

    li[data-dictionary^='新選国語辞典'] th, 
    span[data-sc-shinsenkoku10='warichu'] {
      white-space: nowrap;
    }
    span[data-sc-shinsenkoku10='red'] {
      color: #e5007f;
    }
  7. Recommended JP-EN Term Dictionaries

    master

    For Japanese-to-English translation, the following dictionaries are recommended:

    • Jitendex: A free, openly licensed successor to JMdict. Highly recommended for most users.
    • JMDict: The most extensive JP-EN dictionary based on the EDRDG Project. Use this only if you require a legacy version for technical reasons.
    • JMnedict: A dictionary specifically for Japanese proper names. It is highly recommended because it reduces clutter on the search page compared to other versions.
    • New Saitou Japanese-English Dictionary: A bilingual dictionary with many example sentences. To prevent the search page from becoming too cluttered, you can limit the number of displayed example sentences using custom CSS.
    • Onomatoproject: Specialized dictionary for onomatopoeia.
    • Babylon Japanese-English: Available via peldas' Yomitan Dictionaries.
    /* Limit New Saitou dictionary to 5 example sentences to reduce clutter */
    [data-dictionary='NEW斎藤和英大辞典'] ul.gloss-sc-ul > li:nth-child(n + 5) {
      display: none;
    }
  8. Mandarin (ZH) Term Dictionaries

    master

    The repository provides various Mandarin term dictionaries categorized by language pairs. Users can find dictionaries for:

    • ZH-EN (Mandarin-English): Includes [ZH-EN] Oxford 牛津英汉汉英词典, [ZH-EN] 500idioms, [ZH-EN] DrEye 譯典通英漢雙向字典, and the Wenlin ABC Chinese-English Comprehensive Dictionary.
    • ZH-JA (Mandarin-Japanese): Includes [ZH-JA] 中日大辞典 第二版, [ZH-JA] 白水社 中国語辞典, and [ZH-JA] 小学館中日辞典 第 3 版[2025-05-03][pinyin].
    • ZH-ZH (Mandarin-Mandarin): Includes [ZH-ZH] 兩岸詞典, [ZH-ZH] 漢語大詞典, [ZH-ZH] MoeDict 萌典国语辞典 (简体字), and several Xiandai Hanyu (Modern Chinese) dictionaries. Simplified Chinese versions of traditional dictionaries are available in the 'Simplified Conversions' folder.

    Specialized resources include:

    • CC-CEDICT: A modern version of the CC-CEDICT dictionary with improved formatting and Hanzi functionality, updated daily from MDBG.
    • ZH Wikipedia: A conversion of DBPedia short-abstract dumps for ZH Wikipedia, containing over 1.2 million entries.

    Refer to the dictionary collection for direct download links.

  9. Fix rendering for non-Japanese CJK languages in Yomitan

    master

    If you use Yomitan for non-Japanese CJK languages (like Chinese), the default Japanese font rendering might cause incorrect glyphs. While modern Yomitan versions allow setting fonts and languages in settings, you can use custom CSS to force specific font families and locales.

    Note for Firefox users: You must use the font-language-override property instead of -webkit-locale, as Firefox does not support the latter.

    To apply, go to Settings -> Popup Appearance -> Configure custom CSS... and adjust the font-family and -webkit-locale values to your target language.

    /* Set Render Language */
    * {
      /* 
      Optionally set the version(s) of Noto Sans or another font you want in your preferred order.
      e.g. JP, TC, SC, HK
      */
      /* prettier-ignore */
      font-family:
      'Noto Sans HK', 
      'Noto Sans TC',
      'Noto Sans SC',
      'Noto Sans JP',
      sans-serif;
    
      /* 
      ja (Japanese)
      zh-Hans (Simplified)
      zh-Hant (Traditional)
      zh-Hant-HK (Traditional Hong Kong)
       */
      -webkit-locale: 'zh-Hant-HK' !important;
    }
    
    /* In Hanzi popups and the search box, override the font */
    .kanji-glyph,
    #search-textbox {
      font-family: unset !important;
    }
    /* Set Render Language End */
  10. Mandarin (ZH) Frequency Lists

    master

    For language learners, several frequency dictionaries are available to understand word usage patterns:

    • Classical Chinese: [LZH Freq] Classical Chinese Frequency Dictionary.
    • BLCU BCC Corpus: A comprehensive corpus from Beijing Language and Culture University containing over 9 billion characters. Available in subsets:
      • BLCUmixed: Magazines, Literature, Weibo, Tech
      • BLCUlit: Literature
      • BLCUnews: Newspapers
      • BLCUsci: Scientific/Academic Journals
      • BLCUcoll: Dialogue (Weibo/Subtitles)
    • SUBTLEX-CH: A subtitle-based frequency list from over 6,000 simplified Chinese movies/TV shows.
    • HSK Levels: Based on the official 2021 HSK word list from the Chinese Ministry of Education.
    • Sinica: A frequency dictionary based on a Taiwan corpus (approx. 11k entries).
  11. Install specialized Japanese dictionaries

    master

    The repository provides links and resources for various specialized Japanese dictionaries for Yomitan. These include:

    • Kanji de Go: For rare/exotic kanji terms (converted from the Kanji de Go game).
    • Onomatopoeia Dictionary: A lightweight dictionary specializing in mimetic words with modern example sentences.
    • JA Wikipedia Proper Nouns: Contains proper nouns extracted from Japanese Wikipedia.
    • Living Japanese Slang: A small dictionary (636 entries) explaining Japanese slang in English.

    Users can find these in the main dictionary collection or via the specific project links provided in the documentation.