Description Usage Arguments Details Value Author(s) References See Also Examples
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.
1 2 3 | keywords(code, jiebar)
vector_keywords(code, jiebar)
|
code |
For |
jiebar |
jiebaR Worker. |
There is a symbol <=
for this function.
a vector of keywords with weight.
Qin Wenfeng
http://en.wikipedia.org/wiki/Tf-idf
1 2 3 4 5 | ## Not run:
### Keyword Extraction
keys = worker("keywords", topn = 1)
keys <= "words of fun"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.