KanaConverter

Converts romanji text to hiragana using Trie data structure.

Types

Link copied to clipboard
sealed class TrieNode

Functions

Link copied to clipboard

Checks if the input can be fully converted to hiragana without any remaining alphabetic characters. This validates that the input is valid romaji before attempting conversion.

Link copied to clipboard
fun toHiragana(input: String): String

Converts romanji text to hiragana.