install_dic installs Mecab-Ko-Dic.
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.
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.
1 2 3 4
## Not run: install_dic() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.