summaryrefslogtreecommitdiff
path: root/ext/fg/js/api.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-11-03 05:08:57 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-11-23 17:45:44 +0200
commit41020289ab68ef22a0691a9f268a79d6a706df6b (patch)
tree0cd10c38b37cc475dc306c5cf95e8a2e4247a98a /ext/fg/js/api.js
parent3881457e4ed3f9c7833ac21a5e7fc44c2ba00b0f (diff)
add mecab support
Diffstat (limited to 'ext/fg/js/api.js')
-rw-r--r--ext/fg/js/api.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/fg/js/api.js b/ext/fg/js/api.js
index cc1e0e90..92330d9c 100644
--- a/ext/fg/js/api.js
+++ b/ext/fg/js/api.js
@@ -33,6 +33,10 @@ function apiTextParse(text, optionsContext) {
return utilInvoke('textParse', {text, optionsContext});
}
+function apiTextParseMecab(text, optionsContext) {
+ return utilInvoke('textParseMecab', {text, optionsContext});
+}
+
function apiKanjiFind(text, optionsContext) {
return utilInvoke('kanjiFind', {text, optionsContext});
}