Learn R Programming

RmecabKo (version 0.1.6.2)

install_dic: Install Mecab-Ko-Dic in Linux and Mac OSX.

Description

install_dic installs Mecab-Ko-Dic.

Usage

install_dic()

Arguments

Value

None. The function will halt when the current operation system is not Linux or Mac OSX, or Mecab-Ko-Dic is installed already.

See examples in Github.

Details

This code checks and installs Mecab-Ko-Dic in Linux and Mac OSX. This is essential for using custom-defined user dictionary. Installing Mecab-Ko-Dic needs system previleges, because it uses `make install` to build from source and install it to system.

Examples

Run this code
# NOT RUN {
install_dic()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab