Extract the most interesting sentences from an article in Ruby
Ruby
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
lib
test
.gitignore
Gemfile
LICENSE
README.md
Rakefile
shiner.gemspec

README.md

Shiner

Extract the most interesting sentences from an article.

Installation

Add this line to your application's Gemfile:

gem 'shiner'

And then execute:

$ bundle

Or install it yourself as:

$ gem install shiner

Usage

require 'shiner'
Shiner.shine(string, :max_length => 500)