Other packages > Find by keyword >

textrank  

Summarize Text by Ranking Sentences and Finding Keywords
View on CRAN: Click here


Download and install textrank package within the R console
Install from CRAN:
install.packages("textrank")

Install from Github:
library("remotes")
install_github("cran/textrank")

Install by package version:
library("remotes")
install_version("textrank", "0.3.1")



Attach the package and use:
library("textrank")
Maintained by
Jan Wijffels
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2017-11-22
Latest Update: 2020-10-12
Description:
The 'textrank' algorithm is an extension of the 'Pagerank' algorithm for text. The algorithm allows to summarize text by calculating how sentences are related to one another. This is done by looking at overlapping terminology used in sentences in order to set up links between sentences. The resulting sentence network is next plugged into the 'Pagerank' algorithm which identifies the most important sentences in your text and ranks them. In a similar way 'textrank' can also be used to extract keywords. A word network is constructed by looking if words are following one another. On top of that network the 'Pagerank' algorithm is applied to extract relevant words after which relevant words which are following one another are combined to get keywords. More information can be found in the paper from Mihalcea, Rada & Tarau, Paul (2004) <https://www.aclweb.org/anthology/W04-3252/>.
How to cite:
Jan Wijffels (2017). textrank: Summarize Text by Ranking Sentences and Finding Keywords. R package version 0.3.1, https://cran.r-project.org/web/packages/textrank. Accessed 06 Aug. 2026.
Previous versions and publish date:
(2026-07-09 07:12), 0.1.0 (2017-11-22 10:28), 0.2.0 (2017-12-18 10:17), 0.3.0 (2019-01-17 23:50)
Other packages that cited textrank R package
View textrank citation profile
Other R packages that textrank depends, imports, suggests or enhances
Complete documentation for textrank
Functions, R codes and Examples using the textrank R package
Some associated functions: joboffer . summary.textrank_sentences . textrank_candidates_all . textrank_candidates_lsh . textrank_jaccard . textrank_keywords . textrank_sentences . 
Some associated R codes: data.R . pkg.R . textrank.R .  Full textrank package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
Download / Learn more Package Citations See dependency  
TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA