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

7.04 score 77 stars 1 packages 96 scripts 749 downloads 5 exports 13 dependencies

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

TargetResultDate
Doc / VignettesOKNov 22 2024
R-4.5-winOKNov 22 2024
R-4.5-linuxOKNov 22 2024
R-4.4-winOKNov 22 2024
R-4.4-macOKNov 22 2024
R-4.3-winOKNov 22 2024
R-4.3-macOKNov 22 2024

Exports:textrank_candidates_alltextrank_candidates_lshtextrank_jaccardtextrank_keywordstextrank_sentences

Dependencies:clicpp11data.tabledigestglueigraphlatticelifecyclemagrittrMatrixpkgconfigrlangvctrs

Textrank for summarizing text

Rendered fromtextrank.Rmdusingknitr::rmarkdownon Nov 22 2024.

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