uribo / zipangu

Japanese utility functions and data
https://uribo.github.io/zipangu
Other
56 stars 7 forks source link

kana vector #42

Closed uribo closed 2 years ago

uribo commented 2 years ago

Nippon::hiragana()で実装されているような、平仮名のベクトルを返却する関数を用意する。

# remotes::install_github("cran/Nippon")
Nippon::hiragana()
#>  [1] "ぁ" "あ" "ぃ" "い" "ぅ" "う" "ぇ" "え" "ぉ" "お" "か" "が" "き" "ぎ" "く"
#> [16] "ぐ" "け" "げ" "こ" "ご" "さ" "ざ" "し" "じ" "す" "ず" "せ" "ぜ" "そ" "ぞ"
#> [31] "た" "だ" "ち" "ぢ" "っ" "つ" "づ" "て" "で" "と" "ど" "な" "に" "ぬ" "ね"
#> [46] "の" "は" "ば" "ぱ" "ひ" "び" "ぴ" "ふ" "ぶ" "ぷ" "へ" "べ" "ぺ" "ほ" "ぼ"
#> [61] "ぽ" "ま" "み" "む" "め" "も" "ゃ" "や" "ゅ" "ゆ" "ょ" "よ" "ら" "り" "る"
#> [76] "れ" "ろ" "ゎ" "わ" "ゐ" "ゑ" "を" "ん"

Created on 2022-03-08 by the reprex package (v2.0.1)