semantic_extraction 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/semantic_extraction.rb +3 -7
- data/semantic_extraction.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/semantic_extraction.rb
CHANGED
@@ -5,13 +5,9 @@ require 'ostruct'
|
|
5
5
|
|
6
6
|
module SemanticExtraction
|
7
7
|
|
8
|
-
#
|
9
|
-
|
10
|
-
|
11
|
-
unless [0,1].include? index
|
12
|
-
require "./semantic_extraction/extractors/" + p.sub(".rb", "")
|
13
|
-
end
|
14
|
-
end
|
8
|
+
# Screw it. Hard-code time!
|
9
|
+
require 'semantic_extraction/extractors/yahoo'
|
10
|
+
require 'semantic_extraction/extractors/alchemy'
|
15
11
|
|
16
12
|
# Thrown when you're lacking an api key for the particular api you're using.
|
17
13
|
class MissingApiKey < StandardError; end
|
data/semantic_extraction.gemspec
CHANGED