Learn R Programming

⚠️There's a newer version (0.3.1) of this package.Take me there.

Summarize Text by Ranking Sentences

This repository contains an R package which handles summarizing text by using textrank. This algorithm basically consists of.

  • Finding links between sentences by looking for overlapping terminology
  • Using Google Pagerank on the sentence network to rank sentences in order of importance

Installation & License

The package is availabe under the Mozilla Public License Version 2.0. Installation can be done as follows. Please visit the package documentation and package vignette for further details.

install.packages("textrank")
vignette("textrank", package = "textrank")

For installing the development version of this package: devtools::install_github("bnosac/textrank", build_vignettes = TRUE)

Support in text mining

Need support in text mining? Contact BNOSAC: http://www.bnosac.be

Copy Link

Version

Install

install.packages('textrank')

Monthly Downloads

841

Version

0.1.0

License

MPL-2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Jan Wijffels

Last Published

November 22nd, 2017

Functions in textrank (0.1.0)

textrank_candidates_all

Get all combinations of sentences
textrank

Textrank - extract relevant sentences
textrank_candidates_lsh

Use locality-sensitive hashing to get combinations of sentences which contain words which are in the same minhash bucket
textrank_jaccard

Calculate the distance between 2 vectors based on the Jaccard distance
joboffer

The text of a job offer, annotated with the package udpipe
summary.textrank

Extract the most important sentences which were identified with textrank