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 05 Jun. 2026.
Previous versions and publish date:
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

quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  
msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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