Skip to content

textrank

0.3.1Package record

Summarize Text by Ranking Sentences and Finding Keywords

2packages depend
12Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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/.

Changes in 0.3.1
  • Make example conditionally on availability of udpipe

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.1
READMEYes · 166 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.3.1Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
7
Examples that run
100%6 run in a plain check
Exported functions with examples
100%
Documented parameters
89%
Return-value docs
100%
Help pages citing references
0%

Downloads

12K
CRAN downloads in the past year
Rank #5,805 · ~33/day · ~998/mo
Daily download trend is not available in this view yet.
56130 days
1.4K90 days
12K1 year
Compare downloads with other packages →
Also on130 r2u12 autocran125 c2d4u

Repository

76Stars
9Forks
1Open issues
2Open PRs
4Releases
16Commits
1Commit identities
textranktextrank-algorithmrnlpnatural-language-processing
16 commits · Last activity 2020-10-12 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
0%
Median days to close, 50 most recently updated closed issues
4
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2024-09-19 · 772026-07-25 · 76
PracticesBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/bnosac/textrank on 2026-10-11.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing textrank adds 11 packages (8 with compiled code, 14 MB of source tarballs). Heaviest: data.table 5.7 MB, igraph 4.8 MB, vctrs 1.0 MB.

Depends (0)
none
Imports (4)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 0.1.0 (2017), Copyright holder
Copyright holder
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.3.1Latest
    record
    2020-10-12 · current release · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.3.0
    record
    2019-01-17 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.2.0
    record
    2017-12-18 · diff ↗ ·
    removed 1 export
    textrank
    added 2 exports
    textrank_keywords, textrank_sentences
  • 0.1.0
    record
    2017-11-22
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-11-22
Total releases
4 / 9 yrs
License
MPL-2.0 OSI
Bundled data
8.4 KB / 1 file
Download size
309 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("textrank")
Wijffels, J., & BNOSAC. (2020). textrank: Summarize Text by Ranking Sentences and Finding Keywords (Version 0.3.1) [Computer software]. https://doi.org/10.32614/CRAN.package.textrank

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for textrank version 0.3.1 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy