kata2hira: Conversion form Katakana to Hiragana

Description Usage Arguments Details Value Note Author(s) Examples

Description

Functions to convert from Katakana to Hiragana, vise versa.

Usage

1
2
3
4
5
6

Arguments

x

A character vector including Japanese Hiragana or Katakana

Details

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.

Value

A character vector

Note

The difference between kata2hira and ya.kata2hira or between hira2kata and ya.hira2kata is in the algorithm, causing difference cacluatiion cost and output results.

Author(s)

Susumu Tanimura aruminat@gmail.com

Examples

1
2
3
4
5
	library(Nippon)
	(kata <- katakana()[26:30])
	kata2hira(kata)
	(hira <- hiragana()[21:25])
	hira2kata(hira)


Search within the Nippon package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.