code: function getType(input) {
    switch (true) {
      case (isCharJapanesePunctuation(input)): return 'japanesePunctuation';
      case (isCharKanji(input)): return 'kanji';
      case (isCharHiragana(input)): return 'hiragana';
      case (isCharKatakana(input)): return 'katakana';
      default: return 'romaji';
    }
  }
docs: TODO: worth splitting into utils? so far not used anywhere else