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