Description Usage Arguments Details Value Note Author(s) Examples
Functions to convert from Katakana to Hiragana, vise versa.
1 2 3 4 5 6 | kata2hira(x)
hira2kata(x)
ya.kata2hira(x)
ya.hira2kata(x)
hiragana()
katakana()
|
x |
A character vector including Japanese Hiragana or Katakana |
kata2hira and ya.kata2hira converts from Katakana to
Hiragana. hira2kata and ya.hira2kata converts from
Hiragana to Katakana. hiragana and katakana generate
Hiragana and Katakana, respectively, from the UTF-8 code table. It
may be useful when users need Kana characters where no Kana input
method is available.
A character vector
The difference between kata2hira and ya.kata2hira or
between hira2kata and ya.hira2kata is in the algorithm,
causing difference cacluatiion cost and output results.
Susumu Tanimura aruminat@gmail.com
1 2 3 4 5 |
Loading required package: stringr
[1] "\343\202\272" "\343\202\273" "\343\202\274" "\343\202\275" "\343\202\276"
[1] "\343\202\272" "\343\202\273" "\343\202\274" "\343\202\275" "\343\202\276"
[1] "\343\201\225" "\343\201\226" "\343\201\227" "\343\201\230" "\343\201\231"
[1] "\343\201\225" "\343\201\226" "\343\201\227" "\343\201\230" "\343\201\231"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.