hanlp.extractSummary: Extract key sentences.

Description Usage Arguments Value Author(s) Examples

Description

A function extract key sentences from text ,textRank algorithm .

Usage

1

Arguments

text

A Chinese sentences in UTF-8 .

size

the number of key sentences.

Value

a vector of sentences which have been extracted.

Author(s)

https://github.com/qxde01/RHanLP

Examples

1
2
3
4
## Not run: 
hanlp.extractSummary("hello world!")

## End(Not run)

qxde01/RHanLP documentation built on May 13, 2019, 8:39 a.m.