Description Usage Arguments Examples
buildDictionary
1 2 | buildDictionary(ext_dic = "woorimalsam", category_dic_nms = "",
user_dic = data.frame(), replace_usr_dic = F, verbose = F)
|
ext_dic |
external dictionary character name which can be 'woorimalsam', 'insighter', 'sejong'. |
category_dic_nms |
character vectors. category dictionary will be used.
|
user_dic |
|
replace_usr_dic |
A logical scala. Should user dictionary needs to be replaced with new user defined dictionary or appended. |
verbose |
will print detail progress. default |
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
dics <- c('sejong','woorimalsam')
category <- c('sports')
user_d <- data.frame(term="apple", tag='ncn')
buildDictionary(ext_dic = dics,category_dic_nms = category, user_dic = user_d, replace_usr_dic=F)
#accumulate user dictionary only
buildDictionary(ext_dic= "", user_dic = user_d, replace_usr_dic=F)
#get user dictionary as data.frame
usr_words <- get_dictionary('user_dic')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.