Recognize the different Japanese scripts and convert between hiragana/katakana.
Add this to your Cargo.toml
:
toml
[dependencies]
japanese = "{version}"
Visit the crate page to copy the latest version.
https://docs.rs/japanese
There are two primary modules you'll be using from this crate:
```rust use japanese::charset;
charset::isjapanese('あ') // -> true charset::isjapanesepunctuation('。') // -> true charset::ishiragana_string("あまり") // -> true // ... ```
```rust use japanese::converter;
converter::converthiraganatokatakanastring("もん") // -> モン converter::convertkatakanatohiraganastring("キョービ") // -> きょうび // ... ```