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.
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(Nippon)
Loading required package: maptools
Loading required package: sp
Checking rgeos availability: TRUE
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Nippon/kata2hira.Rd_%03d_medium.png", width=480, height=480)
> ### Name: kata2hira
> ### Title: Conversion form Katakana to Hiragana
> ### Aliases: kata2hira hira2kata hiragana katakana ya.hira2kata
> ### ya.kata2hira
> ### Keywords: Japanese language character
>
> ### ** Examples
>
> library(Nippon)
> (kata <- katakana()[26:30])
[1] "343202272" "343202273" "343202274" "343202275" "343202276"
> kata2hira(kata)
[1] "343202272" "343202273" "343202274" "343202275" "343202276"
> (hira <- hiragana()[21:25])
[1] "343201225" "343201226" "343201227" "343201230" "343201231"
> hira2kata(hira)
[1] "343201225" "343201226" "343201227" "343201230" "343201231"
>
>
>
>
>
> dev.off()
null device
1
>