keywords | R Documentation |
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.
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
<=.keywords
worker
## 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.