rbbt-text 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/lib/rbbt/ner/chemical_tagger.rb +1 -2
- data/test/rbbt/ner/test_finder.rb +3 -3
- metadata +31 -31
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
YTVkYWFlMmQzOTA3M2M2YjZlZjIxNzNjOTE3MTA3NzNlZDc1OGY0Zg==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8e24d9496396b5679cdea2d9e4659fdc86bf9baf
|
4
|
+
data.tar.gz: 97b1cafa958ee4e60bd66e64fc3803d2fa2bf972
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
ODVhNjM4ZWQ5ZjBkODQ2YjFmOGJmNDU2YmVmYzg0N2M5Yzk4N2YyNmNiMjQ0
|
11
|
-
YzEzMDAyZjg3YWMwOWVkODBmNDRmYTU2OTdhMTg5ODcwMDAyZjk=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MTQ1NjgzYjBkYjhiNzgyNjc0ZmU4MmQ2MzZiZDkyZjQyN2YyM2MzNDBiNDA4
|
14
|
-
ZjQ4M2ZmYzhlNTJmNjhmZGZjZTNkMGI2MmJiYzgyYjM4ZjIwOThlMmI4NWZh
|
15
|
-
ODE3YzZjYzU0ODhlZjFiMjc2ZmZhZjU5NDhlNDc1MTExM2RkZGM=
|
6
|
+
metadata.gz: 21c91bf76cfb78e0c2a674a62c5c8e7971e981c631e74091524610f37351992d3b9ca5b197fcfccfe7d5315df5125cd1d6b5dfbc3b70566d9df7f9afe90d0a32
|
7
|
+
data.tar.gz: dbfd6442800434cf7073591f27007392e003d9511f2e00d0bd6c12c6ad5fd22bdde4b9e4b729334ddf6957f64aba360a0b407f926fa0e8c7bbe84e2bb9318bcf
|
@@ -9,13 +9,13 @@ require 'rbbt/sources/NCI'
|
|
9
9
|
class TestFinder < Test::Unit::TestCase
|
10
10
|
|
11
11
|
def test_namespace_and_format
|
12
|
-
f = Finder.new(CMD.cmd("head -n 1000", :in => Open.open(Organism.identifiers("Hsa
|
12
|
+
f = Finder.new(CMD.cmd("head -n 1000", :in => Open.open(Organism.identifiers(Organism.default_code("Hsa")).produce.find)))
|
13
13
|
assert_equal "Hsa", f.instances.first.namespace
|
14
14
|
assert_equal "Ensembl Gene ID", f.instances.first.format
|
15
15
|
end
|
16
16
|
|
17
17
|
def test_find
|
18
|
-
f = Finder.new(Organism.lexicon("Hsa
|
18
|
+
f = Finder.new(Organism.lexicon(Organism.default_code("Hsa")), :grep => ["SF3B1"])
|
19
19
|
|
20
20
|
assert_equal "ENSG00000115524", f.find("SF3B1").first
|
21
21
|
if defined? Entity
|
@@ -25,7 +25,7 @@ class TestFinder < Test::Unit::TestCase
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def test_find
|
28
|
-
f = Finder.new(Organism.lexicon("Hsa
|
28
|
+
f = Finder.new(Organism.lexicon(Organism.default_code("Hsa")), :grep => ["RASGRF2"])
|
29
29
|
|
30
30
|
assert f.find("RAS").include? "ENSG00000113319"
|
31
31
|
end
|
metadata
CHANGED
@@ -1,86 +1,86 @@
|
|
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.3
|
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: 2014-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbbt-util
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 4.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 4.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: stemmer
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: libxml-ruby
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: json
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rjb
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
description:
|
83
|
+
description: 'Text mining tools: named entity recognition and normalization, document
|
84
84
|
classification, bag-of-words, dictionaries, etc'
|
85
85
|
email: miguel.vazquez@fdi.ucm.es
|
86
86
|
executables:
|
@@ -168,41 +168,41 @@ require_paths:
|
|
168
168
|
- lib
|
169
169
|
required_ruby_version: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- -
|
171
|
+
- - ">="
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
175
175
|
requirements:
|
176
|
-
- -
|
176
|
+
- - ">="
|
177
177
|
- !ruby/object:Gem::Version
|
178
178
|
version: '0'
|
179
179
|
requirements: []
|
180
180
|
rubyforge_project:
|
181
|
-
rubygems_version: 2.2.
|
181
|
+
rubygems_version: 2.2.2
|
182
182
|
signing_key:
|
183
183
|
specification_version: 4
|
184
184
|
summary: Text mining tools for the Ruby Bioinformatics Toolkit (rbbt)
|
185
185
|
test_files:
|
186
|
-
- test/rbbt/
|
187
|
-
- test/rbbt/
|
188
|
-
- test/rbbt/
|
189
|
-
- test/rbbt/ner/
|
190
|
-
- test/rbbt/ner/test_NER.rb
|
191
|
-
- test/rbbt/ner/segment/test_named_entity.rb
|
186
|
+
- test/rbbt/nlp/open_nlp/test_sentence_splitter.rb
|
187
|
+
- test/rbbt/nlp/test_nlp.rb
|
188
|
+
- test/rbbt/ner/test_regexpNER.rb
|
189
|
+
- test/rbbt/ner/test_banner.rb
|
192
190
|
- test/rbbt/ner/segment/test_transformed.rb
|
193
191
|
- test/rbbt/ner/segment/test_segmented.rb
|
192
|
+
- test/rbbt/ner/segment/test_named_entity.rb
|
193
|
+
- test/rbbt/ner/test_abner.rb
|
194
|
+
- test/rbbt/ner/test_oscar4.rb
|
195
|
+
- test/rbbt/ner/test_finder.rb
|
194
196
|
- test/rbbt/ner/test_patterns.rb
|
197
|
+
- test/rbbt/ner/test_rnorm.rb
|
195
198
|
- test/rbbt/ner/test_segment.rb
|
196
|
-
- test/rbbt/ner/
|
197
|
-
- test/rbbt/ner/test_chemical_tagger.rb
|
199
|
+
- test/rbbt/ner/test_ngram_prefix_dictionary.rb
|
198
200
|
- test/rbbt/ner/test_token_trieNER.rb
|
199
|
-
- test/rbbt/ner/
|
200
|
-
- test/rbbt/ner/test_abner.rb
|
201
|
-
- test/rbbt/ner/test_regexpNER.rb
|
202
|
-
- test/rbbt/ner/test_rnorm.rb
|
203
|
-
- test/rbbt/ner/test_banner.rb
|
201
|
+
- test/rbbt/ner/test_NER.rb
|
204
202
|
- test/rbbt/ner/test_linnaeus.rb
|
205
|
-
- test/rbbt/
|
206
|
-
- test/rbbt/nlp/open_nlp/test_sentence_splitter.rb
|
203
|
+
- test/rbbt/ner/test_chemical_tagger.rb
|
207
204
|
- test/rbbt/entity/test_document.rb
|
205
|
+
- test/rbbt/bow/test_bow.rb
|
206
|
+
- test/rbbt/bow/test_dictionary.rb
|
207
|
+
- test/rbbt/bow/test_misc.rb
|
208
208
|
- test/test_helper.rb
|