Package: textrank 0.3.1

Jan Wijffels

textrank: Summarize Text by Ranking Sentences and Finding Keywords

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

Authors:Jan Wijffels [aut, cre, cph], BNOSAC [cph]

textrank_0.3.1.tar.gz
textrank_0.3.1.zip(r-4.5)textrank_0.3.1.zip(r-4.4)textrank_0.3.1.zip(r-4.3)
textrank_0.3.1.tgz(r-4.4-any)textrank_0.3.1.tgz(r-4.3-any)
textrank_0.3.1.tar.gz(r-4.5-noble)textrank_0.3.1.tar.gz(r-4.4-noble)
textrank_0.3.1.tgz(r-4.4-emscripten)textrank_0.3.1.tgz(r-4.3-emscripten)
textrank.pdf |textrank.html
textrank/json (API)
NEWS

# Install 'textrank' in R:
install.packages('textrank', repos = c('https://bnosac.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/bnosac/textrank/issues

Datasets:
  • joboffer - The text of a job offer, annotated with the package udpipe

On CRAN:

natural-language-processingnlptextranktextrank-algorithm

5 exports 76 stars 3.73 score 13 dependencies 1 dependents 92 scripts 568 downloads

Last updated 4 years agofrom:d5f426d326. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 24 2024
R-4.5-winOKAug 24 2024
R-4.5-linuxOKAug 24 2024
R-4.4-winOKAug 24 2024
R-4.4-macOKAug 24 2024
R-4.3-winOKAug 24 2024
R-4.3-macOKAug 24 2024

Exports:textrank_candidates_alltextrank_candidates_lshtextrank_jaccardtextrank_keywordstextrank_sentences

Dependencies:clicpp11data.tabledigestglueigraphlatticelifecyclemagrittrMatrixpkgconfigrlangvctrs

Textrank for summarizing text

Rendered fromtextrank.Rmdusingknitr::rmarkdownon Aug 24 2024.

Last update: 2020-10-10
Started: 2017-11-20