Function kelp::hira2kata
[−]
[src]
pub fn hira2kata(text: &str, option: ConvOption) -> String
Convert from hiragana to full-witdh katakana
Example
use kelp::conv_option::ConvOption; use kelp::hira2kata; let option = ConvOption::build().finalize(); let converted = hira2kata("あいうえお", option); assert_eq!("アイウエオ", converted); let option = ConvOption::build().ignore("かこ").finalize(); let converted = hira2kata("かきくけこ", option); assert_eq!("かキクケこ", converted);