ridic 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +1 -1
  2. data/lib/ridic/version.rb +1 -1
  3. data/lib/ridic.rb +1 -1
  4. metadata +1 -1
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # RiDic
2
2
 
3
- Ruby Gem for the Regressive Imagery Dictionary :
3
+ Ruby interface for the Regressive Imagery Dictionary :
4
4
  http://www.kovcomp.co.uk/wordstat/RID.html
5
5
 
6
6
  RID is a text content analysis set, associating words (and word stems) with
data/lib/ridic/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RiDic
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
data/lib/ridic.rb CHANGED
@@ -8,7 +8,7 @@ module RiDic
8
8
 
9
9
  def self.stem_match(text_word)
10
10
  text_word.upcase!
11
- RiDic::Dictionary.word_stems.each {|key, value| (return key) if text_word.match("^#{key}")}
11
+ RiDic::Dictionary.word_stems.each {|key, value| (return [key,value]) if text_word.match("^#{key}")}
12
12
  nil
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ridic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: