historykana
v1.0.6
Published
Analyse Japanese Furigana from key input history
Downloads
16,237
Readme
HistoryKana
Get Japanese Furigana from input history
Usage
var historykana = require("historykana")
// Stock input history
var inputHistory = ["y","や","やm","やま","やまd","やまだ","山田","山田","山田t","山田た","山田たr","山田たろ","山田たろう","山田太郎","山田太郎"]
var historykana(inputHistory)
// => やまだたろう
API
historykana(inputHistories, options)
inputHistories
(Required)- Input History Array
options
- Option object.
Options
kanaRegexp
(="^[ ぁあ-んー]*$"
)
Hiragana detection regular expression rule.