words 0.3.1 → 0.4.0
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/.gitignore +3 -4
- data/README.markdown +45 -14
- data/VERSION +1 -1
- data/bin/build_wordnet +75 -86
- data/examples.rb +44 -31
- data/lib/evocations.rb +85 -0
- data/lib/homographs.rb +106 -0
- data/lib/relation.rb +91 -0
- data/lib/synset.rb +199 -0
- data/lib/wordnet_connection.rb +187 -0
- data/lib/wordnet_connectors/pure_wordnet_connection.rb +142 -0
- data/lib/wordnet_connectors/tokyo_wordnet_connection.rb +85 -0
- data/lib/words.rb +79 -498
- data/spec/words_spec.rb +113 -0
- data/words.gemspec +11 -6
- metadata +11 -6
- data/test/helper.rb +0 -9
- data/test/test_words.rb +0 -7
data/words.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{words}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.4.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Roja Buck"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-02-10}
|
13
13
|
s.default_executable = %q{build_wordnet}
|
14
14
|
s.description = %q{Words, with both pure ruby & tokyo-cabinate backends, implements a fast interface to Wordnet® over the same easy-to-use API. The FFI backend makes use of Tokyo Cabinet and the FFI interface, rufus-tokyo, to provide cross ruby distribution compatability and blistering speed. The pure ruby interface operates on a special ruby optimised index along with the basic dictionary files provided by WordNet®. I have attempted to provide ease of use in the form of a simple yet powerful api and installation is a sintch!}
|
15
15
|
s.email = %q{roja@arbia.co.uk}
|
@@ -26,9 +26,15 @@ Gem::Specification.new do |s|
|
|
26
26
|
"VERSION",
|
27
27
|
"bin/build_wordnet",
|
28
28
|
"examples.rb",
|
29
|
+
"lib/evocations.rb",
|
30
|
+
"lib/homographs.rb",
|
31
|
+
"lib/relation.rb",
|
32
|
+
"lib/synset.rb",
|
33
|
+
"lib/wordnet_connection.rb",
|
34
|
+
"lib/wordnet_connectors/pure_wordnet_connection.rb",
|
35
|
+
"lib/wordnet_connectors/tokyo_wordnet_connection.rb",
|
29
36
|
"lib/words.rb",
|
30
|
-
"
|
31
|
-
"test/test_words.rb",
|
37
|
+
"spec/words_spec.rb",
|
32
38
|
"words.gemspec"
|
33
39
|
]
|
34
40
|
s.homepage = %q{http://github.com/roja/words}
|
@@ -38,8 +44,7 @@ Gem::Specification.new do |s|
|
|
38
44
|
s.rubygems_version = %q{1.3.5}
|
39
45
|
s.summary = %q{A Fast & Easy to use interface to WordNet® with cross ruby distribution compatability.}
|
40
46
|
s.test_files = [
|
41
|
-
"
|
42
|
-
"test/helper.rb"
|
47
|
+
"spec/words_spec.rb"
|
43
48
|
]
|
44
49
|
|
45
50
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: words
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roja Buck
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-02-10 00:00:00 +00:00
|
13
13
|
default_executable: build_wordnet
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -39,9 +39,15 @@ files:
|
|
39
39
|
- VERSION
|
40
40
|
- bin/build_wordnet
|
41
41
|
- examples.rb
|
42
|
+
- lib/evocations.rb
|
43
|
+
- lib/homographs.rb
|
44
|
+
- lib/relation.rb
|
45
|
+
- lib/synset.rb
|
46
|
+
- lib/wordnet_connection.rb
|
47
|
+
- lib/wordnet_connectors/pure_wordnet_connection.rb
|
48
|
+
- lib/wordnet_connectors/tokyo_wordnet_connection.rb
|
42
49
|
- lib/words.rb
|
43
|
-
-
|
44
|
-
- test/test_words.rb
|
50
|
+
- spec/words_spec.rb
|
45
51
|
- words.gemspec
|
46
52
|
has_rdoc: true
|
47
53
|
homepage: http://github.com/roja/words
|
@@ -72,5 +78,4 @@ signing_key:
|
|
72
78
|
specification_version: 3
|
73
79
|
summary: "A Fast & Easy to use interface to WordNet\xC2\xAE with cross ruby distribution compatability."
|
74
80
|
test_files:
|
75
|
-
-
|
76
|
-
- test/helper.rb
|
81
|
+
- spec/words_spec.rb
|
data/test/helper.rb
DELETED