한글문서
The goal of theeuh is to write space on korean sentense corractly.
Installation
theeuh has 2 step installation
1. Package
# CRAN NOT YET!!!!
install.packages("theeuh")
# dev version r-universe
install.packages('theeuh', repos = "https://mrchypark.r-universe.dev")
2. Python dependency
theeuh use onnxruntime
. So, you need to install python
and onnxruntime
package.
If you don’t have any knowledge of python environment, miniconda is good choice.
2-1. miniconda
reticulate::install_miniconda()
After install miniconda, reticulate create conda env named r-reticulate
.
2-2. onnxruntime package
theeuh package provide install_onnxruntime()
that easy install onnxruntime. install_onnxruntime()
install onnruntime
package on active env. If you don’t know mush about env, I strongly recommend use new env name like r-theeuh
.
library("theeuh")
install_onnxruntime(envname = "r-theeuh")
more info about install_onnxruntime()
, please check help page.
Usage
Please check https://mrchypark.github.io/theeuh
Special Thanks to
Original package is KoSpacing by haven-jeon. Most parts of code is from KoSpacing Also theeuh package’s model and word index is from KoSpacing.