Skip to content
Add Josa Based on Previous Letter in Korean
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
R
man
.Rbuildignore
.gitignore
.travis.yml
DESCRIPTION
LICENSE
LICENSE.md
NAMESPACE
NEWS.md
README.Rmd
README.md
_pkgdown.yml
appveyor.yml
codecov.yml
josaplay.Rproj

README.md

josaplay

Travis build status AppVeyor build status Codecov test coverage Lifecycle: maturing CRAN status

The goal of josaplay is to provide functions to add josa in Korean text. It is useful with Rmarkdown.

Installation

You can install the released version of josaplay from CRAN with:

install.packages("josaplay")

And the development version from GitHub with:

# install.packages("remotes")
remotes::install_github("mrchypark/josaplay")

Example

This is a basic example which shows you how to solve a common problem:

library(josaplay)

jsp_gwawa("상품")
#> [1] "상품과"
jsp_gwawa("텀블러")
#> [1] "텀블러와"
jsp_eunneun("사랑")
#> [1] "사랑은"
jsp_eunneun("탁자")
#> [1] "탁자는"
jsp_iga("고객")
#> [1] "고객이"
jsp_iga("모니터")
#> [1] "모니터가"
jsp_eulleul("패키지")
#> [1] "패키지를"
jsp_eulleul("")
#> [1] "컵을"
jsp_iga("145")
#> [1] "145가"
jsp_iga("k146")
#> [1] "k146이"

Todo

  • support only jamo character
  • support English letters
  • support special character
You can’t perform that action at this time.