diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2019-11-26 18:31:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-26 18:31:35 +0200 |
commit | 3423ed7d67ff7039d21da0b734e306b2c1024643 (patch) | |
tree | 92193ecc5e041a47f2afa8417adf17e215381e1e /ext/bg/settings.html | |
parent | 820beb7c9338bd81501d1779b10181c7cced9992 (diff) | |
parent | 89c6ef54b0a44685cde530dd4a94405a578ce132 (diff) |
Merge pull request #279 from siikamiika/query-parser-1
Search page query parser
Diffstat (limited to 'ext/bg/settings.html')
-rw-r--r-- | ext/bg/settings.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/ext/bg/settings.html b/ext/bg/settings.html index f95e76a1..262386e9 100644 --- a/ext/bg/settings.html +++ b/ext/bg/settings.html @@ -410,6 +410,44 @@ </div> </div> + <div id="text-parsing"> + <h3>Text Parsing Options</h3> + + <p class="help-block"> + Yomichan can attempt to parse entire sentences or longer text blocks on the search page, + adding furigana above words and a small space between words. + </p> + + <p class="help-block"> + Two types of parsers are supported. The first one, enabled by default, works using the built-in + scanning functionality by automatically advancing in the sentence after a matching word. + </p> + + <p class="help-block"> + The second type is an external program called <a href="https://en.wikipedia.org/wiki/MeCab" target="_blank" rel="noopener">MeCab</a> + that uses its own dictionaries and a special parsing algorithm. To get it working, you must first + install it and <a href="https://github.com/siikamiika/yomichan-mecab-installer" target="_blank" rel="noopener">a native messaging component</a> + that acts as a bridge between the program and Yomichan. + </p> + + <div class="checkbox"> + <label><input type="checkbox" id="parsing-scan-enable"> Enable text parsing using installed dictionaries</label> + </div> + + <div class="checkbox"> + <label><input type="checkbox" id="parsing-mecab-enable"> Enable text parsing using MeCab</label> + </div> + + <div class="form-group"> + <label for="parsing-reading-mode">Reading mode</label> + <select class="form-control" id="parsing-reading-mode"> + <option value="hiragana">ひらがな</option> + <option value="katakana">カタカナ</option> + <option value="romaji">Romaji</option> + </select> + </div> + </div> + <div class="ignore-form-changes"> <div> <img src="/mixed/img/spinner.gif" class="pull-right" id="dict-spinner" alt> |