Skip to content

Add Josa Based on Previous Letter in Korean

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

mrchypark/josaplay

Repository files navigation

josaplay

Lifecycle: experimental R-CMD-check CRAN status runiverse-name runiverse-package metacran downloads Downloads Codecov test coverage

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

Installation

# CRAN version
install.packages("josaplay")

# Dev version
install.packages('josaplay', repos = c('https://mrchypark.r-universe.dev', 'https://cloud.r-project.org'))

Example

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

v0.2.0

Breaking change from v0.1.3

library(josaplay)
# 과/와
josa("상품", "")
#> [1] "상품과"
josa("상품", "")
#> [1] "상품과"
josa("텀블러", "")
#> [1] "텀블러와"
josa("텀블러", "")
#> [1] "텀블러와"

# number
josa("145", "")
#> [1] "145가"
josa("k146", "")
#> [1] "k146이"

support josa

을 / 를
은 / 는
이 / 가
과 / 와
이나 / 나
으로 / 로
아 / 야
이랑 / 랑
이며 / 며
이다 / 다
이가 / 가

  • All josa can use select param on josa(textko, select) but is work as only 이/가 not 이가/가.

Todo

  • support only jamo character
  • support English letters
  • support special character

About

Add Josa Based on Previous Letter in Korean

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

 
 
 

Languages