yomichan.md

May 26, 2026 Β· View on GitHub

Yomichan (.zip)

General Information

AttributeValue
NameYomichan
snake_case_nameyomichan
DescriptionYomichan (.zip)
Extensions.zip
Read supportYes
Write supportYes
Single-fileYes
KindπŸ“¦ package
Sort-on-writeAlways
Sort keyheadword
Wiki―
Websitefoosoft.net

Write options

NameDefaultTypeComment
term_bank_size10000intThe number of terms in each term bank json file.
term_from_headword_onlyTrueboolIf set to true, only create a term for the headword for each entry, as opposed to create one term for each alternate word. If the headword is ignored by the ignore_word_with_pattern option, the next word in the alternate list that is not ignored is used as headword.
no_term_from_readingTrueboolWhen there are multiple alternate words, don't create term for the one that is the same as the the reading form, which is chosen to be the first alternate forms that consists solely of Hiragana and Katakana. For example, an entry could contain both 'γ γ„γŒγ' and 'ε€§ε­¦' as alternate words. Setting this option to true would prevent a term to be created for the former.
delete_word_patternstrWhen given, all non-overlapping matches of this regular expression are removed from word strings. For example, if an entry has word 'あま·い', setting the pattern to Β· removes all center dots, or more precisely use Β·(?=[\u3040-\u309F]) to only remove center dots that precede Hiragana characters. Either way, the original word is replaced with 'あまい'.
ignore_word_with_patternstrWhen given, don't create terms for a word if any of its substrings matches this regular expression. For example, an entry could contain both 'γ γ„γŒγγ€ε€§ε­¦γ€‘' and 'ε€§ε­¦' as alternate words. Setting this option with value r'【.+】' would prevent a term to be created for the former.
alternates_from_word_patternstrWhen given, the regular expression is used to find additional alternate words for the same entry from matching substrings in the original words. If there are no capturing groups in the regular expression, then all matched substrings are added to the list of alternate words. If there are capturing groups, then substrings matching the groups are added to the alternate words list instead. For example, if an entry has 'γ γ„γŒγγ€ε€§ε­¦γ€‘' as a word, then \w+(?=【) adds 'γ γ„γŒγ' as an additional word, while (\w+)【(\w+)】 adds both 'γ γ„γŒγ' and 'ε€§ε­¦'.
alternates_from_defi_patternstrWhen given, the regular expression is used to find additional alternate words for the same entry from matching substrings in the definition. ^ and $ can be used to match start and end of lines, respectively. If there are no capturing groups in the regular expression, then all matched substrings are added to the list of alternate words. If there are capturing groups, then substrings matching the groups are added to the alternate words list instead. For example, if an entry has 'γ γ„γŒγγ€ε€§ε­¦γ€‘' in its definition, then \w+【(\w+)】 adds 'ε€§ε­¦' as an additional word.
rule_v1_defi_patternstrWhen given, if any substring of an entry's definition matches this regular expression, then the term(s) created from entry are labeled as ichidan verb. Yomichan uses this information to match conjugated forms of words. ^ and $ can be used to match start and end of lines, respectively. For example, setting this option to ^\(ε‹•[δΈŠδΈ‹]δΈ€\)$ identifies entries where there's a line of '(ε‹•δΈŠδΈ€)' or '(ε‹•δΈ‹δΈ€)'.
rule_v5_defi_patternstrWhen given, if any substring of an entry's definition matches this regular expression, then the term(s) created from entry are labeled as godan verb. Yomichan uses this information to match conjugated forms of words. ^ and $ can be used to match start and end of lines, respectively. For example, setting this option to ^\(ε‹•δΊ”\)$ identifies entries where there's a line of '(ε‹•δΊ”)'.
rule_vs_defi_patternstrWhen given, if any substring of an entry's definition matches this regular expression, then the term(s) created from entry are labeled as suru verb. Yomichan uses this information to match conjugated forms of words. ^ and $ can be used to match start and end of lines, respectively. For example, setting this option to ^スル$ identifies entries where there's a line of 'スル'.
rule_vk_defi_patternstrWhen given, if any substring of an entry's definition matches this regular expression, then the term(s) created from entry are labeled as kuru verb. Yomichan uses this information to match conjugated forms of words. ^ and $ can be used to match start and end of lines, respectively. For example, setting this option to ^\(動カ倉\)$ identifies entries where there's a line of '(動カ倉)'.
rule_adji_defi_patternstrWhen given, if any substring of an entry's definition matches this regular expression, then the term(s) created from entry are labeled as i-adjective. Yomichan uses this information to match conjugated forms of words. ^ and $ can be used to match start and end of lines, respectively. For example, setting this option to r'^\(ε½’\)$' identify entries where there's a line of '(ε½’)'.

Dependencies for writing

PyPI Links: beautifulsoup4

To install, run

pip3 install beautifulsoup4

Dictionary Applications/Tools

Name & WebsiteSource codeLicensePlatformsLanguage
Yomitan@yomidevs/yomitanGPLChrome, Firefox, Edge, BraveJavaScript