RubyGems
npm
Organizations
Log in
Sign up
RubyGems
entityextractor
Versions diffs
0.0.4 → 0.0.5
entityextractor 0.0.4 → 0.0.5
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/entityextractor.rb
+2
-2
metadata
+1
-1
data/lib/entityextractor.rb
CHANGED
Viewed
@@ -14,9 +14,9 @@ class EntityExtractor
14
14
# Check the item for each term
15
15
terms.each do |t|
16
16
count+=1
17
-
t.upcase!
17
+
18
18
if i[field].to_s.include? t
19
-
addlist.push(t)
19
+
addlist.push(t
.upcase
)
20
20
end
21
21
end
22
22
end
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: entityextractor
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.0.
4
4
+
version: 0.0.
5
5
5
prerelease:
6
6
platform: ruby
7
7
authors: