Project

summarizr

0.0
No commit activity in last 3 years
No release in over 3 years
Identifies the most important sections of an article based on the presence of article-specific keywords.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.10
~> 10.0
 Project Readme

Summarizr

Summarizr reads through source text and builds a list of significant keywords, then returns a shortened version of the article containing only the sections with the highest concentrations of these keywords. I have found that this method produces surprisingly good results despite its simplicity, particularly when most of the keywords are proper nouns (as tends to be true of news media articles).

Usage

Summarizr.summarize(long_article_as_string) #=> summarized_version

Installation

Add this line to your application's Gemfile:

gem 'summarizr'

And then execute:

$ bundle

Or install it yourself as:

$ gem install summarizr

License

The gem is available as open source under the terms of the MIT License.