Skip to content
This repository has been archived by the owner on May 3, 2018. It is now read-only.

Extra utilities, better punctuation conversion

Compare
Choose a tag to compare
@DJTB DJTB released this 10 Apr 12:42
· 37 commits to master since this release

More Punctuation Converted

!?.:/,~-‘’“”[](){} all become Japanese equivalents:
!?。:・、〜ー「」『』[](){}

New Methods

stripOkurigana('踏み込む') // => '踏み込'
tokenize('すごく寒い') // => ['すごく', '寒', 'い']

Breaking Changes

Methods renamed for clarity
isKanjiKana() renamed to isJapanese()
isRomajiKana() renamed to isMixed()