wana_kana_rust
wana_kana_rust copied to clipboard
Utility library for checking and converting between Japanese characters - Hiragana, Katakana - and Romaji
Currently, `is_kanji` uses the Unicode range U+4E00-U+9FAF to recognise kanji, corresponding to the CJK Unified Ideographs block. Unicode has additional "extension blocks" that contain more uncommon kanji, such as [CJK...
Fixed issue #13. When "ッー" was included in the input string, Panic occurred because the output of the "ッ" vowel was an empty string. Fixed to convert "-" to "-"...
Thanks for provide useful library! I'm using this library with meilisearch. ``` ❯ cargo install wana_kana Updating crates.io index Installing wana_kana v3.0.0 Compiling either v1.8.1 Compiling lazy_static v1.4.0 Compiling fnv...
Is there a way to use Nihon-shiki or Kunrei-shiki for the to_romaji() function? I'd like to use this for a project recreating the Red and Purple cipher machines which I...
I was reinventing the wheel yesterday (https://github.com/TianyiShi2001/romkan ) before I realize there is already a kana-romaji conversion library here, and this library proved to be faster than mine. However, I...
Work-in-progress to handle #3. Please let me know your thoughts on this style. I just worked on `katakana_to_hiragana()`. Once we figure out how the best way to do this, I...
There are times when it is desirable to work with a struct that gives constant-time access to chars (such as `Vec` or `VecDeque`), but currently the APIs return a `String`...