Description Usage Arguments Value Author(s) Examples
A function extract key words from text ,textRank algorithm .
1 | hanlp.extractWords(text = "", size = 10)
|
text |
A Chinese sentence in UTF-8 . |
size |
the number of key words. |
a vector of words which have been extracted.
https://github.com/qxde01/RHanLP
1 2 3 4 | ## Not run:
hanlp.extractWords("hello world!")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.