summaryrefslogtreecommitdiff
path: root/ext/bg/settings.html
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-11-08 00:49:20 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-11-23 17:45:44 +0200
commitc1d24208d383e687f443c4e7dfc7bfda81d191bd (patch)
tree4be76fa658df160e1eca35832a81bb547e071b59 /ext/bg/settings.html
parent955e131f9673e006556bc2c5e0b3551a614ccc48 (diff)
start mecab only after enabling the setting
Diffstat (limited to 'ext/bg/settings.html')
-rw-r--r--ext/bg/settings.html58
1 files changed, 29 insertions, 29 deletions
diff --git a/ext/bg/settings.html b/ext/bg/settings.html
index 8505567b..08b9b6c1 100644
--- a/ext/bg/settings.html
+++ b/ext/bg/settings.html
@@ -410,6 +410,35 @@
</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>
+
<div class="ignore-form-changes">
<div>
<img src="/mixed/img/spinner.gif" class="pull-right" id="dict-spinner" alt>
@@ -587,35 +616,6 @@
</div></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>
-
<div>
<div>
<img src="/mixed/img/spinner.gif" class="pull-right" id="anki-spinner" alt>