Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 607 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 607 Bytes

HiraKana

Romaji and kana converter.

Utility class with all the usual methods. Based on Wanakana.js (wanakana.com). Usage examples (also included in ShortHand::Main):

using HiraKana;

/* Shorthand */

Debug.WriteLine(
	new Romaji("korehahirakananodesu").ToHiragana()
); // これはひらかなのです

Debug.WriteLine(
	new Romaji("wawiwewo").useObsoleteKana(true).ToKatakana()
); // ワヰヱヲ

/* Direct */

Debug.WriteLine(
	new KanaTools().toHiragana("sorehaZOMUBIEdesuka")
); // それはぞむびえですか

Debug.WriteLine(
	new KanaTools().isKana("あいうえお")
); // True