ridic 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/ridic/version.rb +1 -1
- data/lib/ridic.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
data/lib/ridic/version.rb
CHANGED
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
|