Skip to content
Japanese furigana library
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Upgrade lint (#32) Mar 2, 2017
test Upgrade lint (#32) Mar 2, 2017
.eslintrc
.gitignore
README.md fix badge Jul 19, 2016
circle.yml
index.js
package.json
yarn.lock

README.md

HistoryKana

Get Japanese Furigana from input history

Circle CI

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.

You can’t perform that action at this time.