Package: textrank 0.3.1
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:
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')) |
Bug tracker:https://github.com/bnosac/textrank/issues
- joboffer - The text of a job offer, annotated with the package udpipe
natural-language-processingnlptextranktextrank-algorithm
Last updated 4 years agofrom:d5f426d326. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 22 2024 |
R-4.5-win | OK | Nov 22 2024 |
R-4.5-linux | OK | Nov 22 2024 |
R-4.4-win | OK | Nov 22 2024 |
R-4.4-mac | OK | Nov 22 2024 |
R-4.3-win | OK | Nov 22 2024 |
R-4.3-mac | OK | Nov 22 2024 |
Exports:textrank_candidates_alltextrank_candidates_lshtextrank_jaccardtextrank_keywordstextrank_sentences
Dependencies:clicpp11data.tabledigestglueigraphlatticelifecyclemagrittrMatrixpkgconfigrlangvctrs
Readme and manuals
Help Manual
Help page | Topics |
---|---|
The text of a job offer, annotated with the package udpipe | joboffer |
Extract the most important sentences which were identified with textrank_sentences | summary.textrank_sentences |
Get all combinations of sentences | textrank_candidates_all |
Use locality-sensitive hashing to get combinations of sentences which contain words which are in the same minhash bucket | textrank_candidates_lsh |
Calculate the distance between 2 vectors based on the Jaccard distance | textrank_jaccard |
Textrank - extract relevant keywords | textrank_keywords |
Textrank - extract relevant sentences | textrank_sentences |