summary.textrank_sentences {textrank} | R Documentation |
Extract the most important sentences which were identified with textrank_sentences
Description
Extract the most important sentences which were identified by textrank_sentences
Usage
## S3 method for class 'textrank_sentences'
summary(object, n = 3, keep.sentence.order = FALSE, ...)
Arguments
object |
an object of class textrank_sentences |
n |
integer indicating to extract only the top n sentences |
keep.sentence.order |
logical indicating to keep the sentence order as provided
in the original |
... |
not used |
Value
a character vector with the top n
most important sentences
which were identified by textrank_sentences
See Also
[Package textrank version 0.3.1 Index]