semantic_extraction 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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