semantic_hacker 0.0.2 → 0.0.3
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/lib/semantic_hacker.rb +29 -13
- data/lib/semantic_hacker/api.rb +2 -1
- data/lib/semantic_hacker/setup.rb +4 -4
- data/semantic_hacker.gemspec +1 -1
- data/test/data/categories.yaml +2048 -0
- data/test/data/labels.yaml +1762 -0
- data/test/test_helper.rb +4 -0
- data/version.txt +1 -1
- metadata +6 -6
- data/bin/semantic_hacker +0 -7
data/test/test_helper.rb
CHANGED
@@ -18,6 +18,10 @@ dir = (Pathname(__FILE__).dirname + '../lib').expand_path
|
|
18
18
|
|
19
19
|
require dir + 'semantic_hacker'
|
20
20
|
|
21
|
+
SemanticHacker.api_key("1234567")
|
22
|
+
SemanticHacker.data_path(File.join(Pathname(__FILE__).dirname, "data"))
|
23
|
+
SemanticHacker.check
|
24
|
+
|
21
25
|
class Test::Unit::TestCase
|
22
26
|
end
|
23
27
|
|
data/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 3
|
9
|
+
version: 0.0.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Thomas Gallaway
|
@@ -47,21 +47,19 @@ dependencies:
|
|
47
47
|
version_requirements: *id002
|
48
48
|
description: "Semantic Signatures\xC2\xAE are a new way of representing and analyzing semantic information (meaning) in text. Semantic Signatures, produced by TextWise\xE2\x80\x99s Trainable Semantic Vectors (TSV) technology, provide a rich semantic representation of the multiple concepts and topics contained in a body of text. Semantic Signatures can be constructed for a wide range of texts including individual words, phrases, word lists (e.g. metadata), short passages (such as text advertisements or image labels), web pages, or full text documents (e.g. technical articles)."
|
49
49
|
email: atomist@atomlab.us
|
50
|
-
executables:
|
51
|
-
|
50
|
+
executables: []
|
51
|
+
|
52
52
|
extensions: []
|
53
53
|
|
54
54
|
extra_rdoc_files:
|
55
55
|
- History.txt
|
56
56
|
- README.txt
|
57
|
-
- bin/semantic_hacker
|
58
57
|
- version.txt
|
59
58
|
files:
|
60
59
|
- .gitignore
|
61
60
|
- History.txt
|
62
61
|
- README.txt
|
63
62
|
- Rakefile
|
64
|
-
- bin/semantic_hacker
|
65
63
|
- data/categories.yaml
|
66
64
|
- data/labels.yaml
|
67
65
|
- lib/semantic_hacker.rb
|
@@ -73,6 +71,8 @@ files:
|
|
73
71
|
- semantic_hacker.gemspec
|
74
72
|
- spec/semantic_hacker_spec.rb
|
75
73
|
- spec/spec_helper.rb
|
74
|
+
- test/data/categories.yaml
|
75
|
+
- test/data/labels.yaml
|
76
76
|
- test/fixtures/1760484413.html
|
77
77
|
- test/fixtures/category.json
|
78
78
|
- test/fixtures/concept.json
|