Keyword Extraction worker uses MixSegment model to cut word and uses
TF-IDF algorithm to find the keywords. dict , hmm,
idf, stop_word and topn should be provided when initializing
jiebaR worker.
Usage
keywords(code, jiebar)
vector_keywords(code, jiebar)
Arguments
code
For keywords, a Chinese sentence or the path of a text file.
For vector_keywords, a character vector of segmented words.