Copyright | (c) Karl Voigtland, 2014 |
---|---|
License | BSD3 |
Maintainer | karl.voigtland@gmail.com |
Stability | experimental |
Portability | POSIX Romkan is a library to convert from Japanese Romaji to Japanese Kana and vice versa. Homepage is at <https://github.com/karlvoigtland/romkan-hs>. This is a port of python-romkan: <http://www.soimort.org/python-romkan>. |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- toKatakana :: Text -> Text
- toHiragana :: Text -> Text
- toKana :: Text -> Text
- toRoma :: Text -> Text
- kunreiToHepburn :: Text -> Text
- hepburnToKunrei :: Text -> Text
Documentation
toKatakana :: Text -> Text Source
Convert a Romaji (ローマ字) to a Katakana (片仮名).
toHiragana :: Text -> Text Source
Convert a Romaji (ローマ字) to a Hiragana (平仮名).
kunreiToHepburn :: Text -> Text Source
Convert a Kunrei-shiki Romaji (訓令式ローマ字) to a Hepburn Romaji (ヘボン式ローマ字).
hepburnToKunrei :: Text -> Text Source
Convert a Hepburn Romaji (ヘボン式ローマ字) to a Kunrei-shiki Romaji (訓令式ローマ字).