wana_kana_rust
wana_kana_rust copied to clipboard
Implement half-width katakana support
Closes #19
- Adds
utils/halfwidth_katakana_to_hiragana.- Counterintuitively, this is not "half to full" conversion. Because,
..._to_hiraganautil can be leveraged into_hiragana's character loops so the input is not enumerated multiple times.
- Counterintuitively, this is not "half to full" conversion. Because,
- In
to_katakanaandto_romaji, the util is invoked only when input contains half-width kana,- The input may be fully enumerated at worst case when no half-width katakana is used.
-
to_haflwidth_katakanaor new option is NOT added, since I don't need such.