summarizr 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb8dfcfb8c58d4a50fa56bc31dd52da6fb078f8e
4
- data.tar.gz: 1e1dbd2d26ccb605939190bd67cb097859c2f1a4
3
+ metadata.gz: 00748bd6ac47e74dbccf6fc9891fb9a05306da73
4
+ data.tar.gz: 5cb397be15e258cf991d0b78f9df2894b0e923b0
5
5
  SHA512:
6
- metadata.gz: 7bc7851624484c40ef1b640ff74d486f88519456504bcd244977a0acb71e9d7ea8abb81dd4e6c9faf4cd2a6c208dbb6932f10ba1476f61ab251931feb5060ec1
7
- data.tar.gz: a6d0ae1ffae1aef7f6d3d9af015ca4e4a30e708882d448529a9f8cd0aef7a8d3cbbabee409cd7d1eb477d9c186ae741831c1eea54ffa2b8043d3808ad2f6f77f
6
+ metadata.gz: 729bf763cd340339743abfa3c68366f998496aab3796aec43cf97c540d79851c8452f75da5b9e0331edc730c1701482f7394f4ac6e0e266bd9a4f269156bdfd6
7
+ data.tar.gz: 9a8492366768bf2d75cdd378712d06a778779c272c5d2b4de096bbd2221b5d830d92f3473729b0b39765198fdb9fa83479b8466d7803809ef1cdb9b7903ed0d2
data/README.md CHANGED
@@ -1,8 +1,14 @@
1
1
  # Summarizr
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/summarizr`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ An old project revisited, finally seems to be working properly.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ Summarizr reads through source text and builds a list of the most-used words, which it designates as keywords. It then returns an edited version of the article containing only the sections that make the most use of these keywords. This tends to produce better results the heavier the source text is in proper nouns; it is designed to be used with news media articles but can be adapted for other purposes as well.
6
+
7
+ ## Usage
8
+ ```ruby
9
+ Summarizr.summarize(long_article_as_string) #=> summarized_version
10
+
11
+ ```
6
12
 
7
13
  ## Installation
8
14
 
@@ -20,21 +26,6 @@ Or install it yourself as:
20
26
 
21
27
  $ gem install summarizr
22
28
 
23
- ## Usage
24
-
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake false` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
-
33
- ## Contributing
34
-
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/summarizr.
36
-
37
-
38
29
  ## License
39
30
 
40
31
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -1,3 +1,3 @@
1
1
  module Summarizr
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
Binary file
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = %q{Intelligently summarize long blocks of text and articles}
13
13
  spec.description = %q{Identifies the most important sections of an article based on the presence of article-specific keywords.}
14
- spec.homepage = ""
14
+ spec.homepage = "https://github.com/nathanielltaylor/Summarizr"
15
15
  spec.license = "MIT"
16
16
 
17
17
  # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: summarizr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - nathanielltaylor
@@ -56,8 +56,9 @@ files:
56
56
  - bin/setup
57
57
  - lib/summarizr.rb
58
58
  - lib/summarizr/version.rb
59
+ - summarizr-0.2.0.gem
59
60
  - summarizr.gemspec
60
- homepage: ''
61
+ homepage: https://github.com/nathanielltaylor/Summarizr
61
62
  licenses:
62
63
  - MIT
63
64
  metadata: