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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rbbt/ner/rnorm.rb +4 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4972a4d891c010e83ca9149e5e347d379e708cb1
4
- data.tar.gz: 9e06dd9d946e051045c2c8e9a335efabcc9aa51b
3
+ metadata.gz: 8373a3408f7b9cbc481ef108d899de4283513115
4
+ data.tar.gz: e431a61729bd0f67a4129384a06a5b3a81824afc
5
5
  SHA512:
6
- metadata.gz: 39d7061805d420ee5ae27e87902b2405d849c2bc94be19d2c1e8b1e03240e113511179ea0ba45216a4c53872e1e7c5bb16006c23866b4f9ccf578cb2c49a2ab3
7
- data.tar.gz: 1cd20ec0d7afe7c1fd9c917d02a71ac8b5b783b7d37f6e52d625549fadbdab0e28d586468f558c0a215c5f4301628da7f197956c760245914055433a79537a78
6
+ metadata.gz: 575313a7d598cbec0ec05827bebee1f4ccc8b56ccdac89478beb4993b5188356384172cf762e6ca58f0c0953fae0f29fcd46423d1291391d9958b66ce62230d0
7
+ data.tar.gz: 4609a5ce9448f0a0a3ad480bc9f0cc6f3dfc728eacb0c6bf291d8b29b23d084f56a76c8776d421d935e50ef097fb10009d41121ef046b95c85177060335a1629
@@ -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.6
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: 2017-11-20 00:00:00.000000000 Z
11
+ date: 2018-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rbbt-util