rbbt-text 1.1.6 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/ner/rnorm.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8373a3408f7b9cbc481ef108d899de4283513115
|
4
|
+
data.tar.gz: e431a61729bd0f67a4129384a06a5b3a81824afc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 575313a7d598cbec0ec05827bebee1f4ccc8b56ccdac89478beb4993b5188356384172cf762e6ca58f0c0953fae0f29fcd46423d1291391d9958b66ce62230d0
|
7
|
+
data.tar.gz: 4609a5ce9448f0a0a3ad480bc9f0cc6f3dfc728eacb0c6bf291d8b29b23d084f56a76c8776d421d935e50ef097fb10009d41121ef046b95c85177060335a1629
|
data/lib/rbbt/ner/rnorm.rb
CHANGED
@@ -114,6 +114,10 @@ class Normalizer
|
|
114
114
|
TSV.open(lexicon, :type => :flat, :unnamed => true)
|
115
115
|
end
|
116
116
|
|
117
|
+
@synonyms.process @synonyms.fields.first do |values, key|
|
118
|
+
[key] + values
|
119
|
+
end if options[:use_keys]
|
120
|
+
|
117
121
|
@index = CueIndex.new
|
118
122
|
@index.load(@synonyms, options[:max_candidates])
|
119
123
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-text
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbbt-util
|