| download_dic | R Documentation |
Downloads and installs a MeCab system dictionary for the specified language.
Japanese and Chinese dictionaries are compiled from source using the built-in
mecab-dict-index; Korean dictionaries are downloaded pre-compiled.
No system-level MeCab installation is required.
download_dic(lang)
lang |
Character scalar. Language code: |
Dictionaries are stored in the user data directory
(tools::R_user_dir("RcppMeCab", "data")).
Invisible path to the installed dictionary directory.
## Not run:
download_dic("ja")
download_dic("ko")
download_dic("zh")
pos("some text", lang = "ja")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.