How to use the wanakana.isKatakana function in wanakana

To help you get started, we’ve selected a few wanakana examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hexenq / kuroshiro / dist / node / kuroshiro.js View on Github external
var getStrType = function(str){ //0 for pure kanji,1 for kanji-hira(kana)-mixed,2 for pure hira(kana),3 for others
    var hasKJ = false;
    var hasHK = false;
    for(var i=0;i
github hexenq / kuroshiro / dist / node / kuroshiro.js View on Github external
var hasKatakana = function(str){
    for(var i=0;i