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 28 Oct. 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

nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
msamp  
Estimate Sample Size to Detect Bacterial Contamination in a Product Lot
Estimates the sample size needed to detect microbial contamination in a lot with a user-specified d ...
Download / Learn more Package Citations See dependency  
cats  
Cohort Platform Trial Simulation
Cohort plAtform Trial Simulation whereby every cohort consists of two arms, control and experimenta ...
Download / Learn more Package Citations See dependency  
ncdf4  
Interface to Unidata netCDF (Version 4 or Earlier) Format Data Files
Provides a high-level R interface to data files written using Unidata's netCDF library (version 4 or ...
Download / Learn more Package Citations See dependency  
NPHazardRate  
Nonparametric Hazard Rate Estimation
Provides functions and examples for histogram, kernel (classical, variable bandwidth and transformat ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

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