wordnet 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.gems +5 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.simplecov +8 -0
- data/Gemfile +2 -0
- data/History.rdoc +7 -0
- data/Manifest.txt +11 -12
- data/README.md +1 -0
- data/Rakefile +44 -25
- data/certs/ged.pem +26 -0
- data/examples/gcs.rb +24 -34
- data/examples/hypernym_tree.rb +34 -0
- data/lib/wordnet.rb +4 -4
- data/lib/wordnet/constants.rb +2 -1
- data/lib/wordnet/lexicallink.rb +2 -1
- data/lib/wordnet/lexicon.rb +6 -5
- data/lib/wordnet/model.rb +2 -1
- data/lib/wordnet/morph.rb +2 -1
- data/lib/wordnet/semanticlink.rb +2 -1
- data/lib/wordnet/sense.rb +48 -4
- data/lib/wordnet/sumoterm.rb +3 -2
- data/lib/wordnet/synset.rb +12 -10
- data/lib/wordnet/word.rb +21 -20
- data/spec/helpers.rb +43 -0
- data/spec/wordnet/lexicon_spec.rb +44 -61
- data/spec/wordnet/model_spec.rb +5 -37
- data/spec/wordnet/semanticlink_spec.rb +6 -26
- data/spec/wordnet/sense_spec.rb +80 -0
- data/spec/wordnet/synset_spec.rb +33 -47
- data/spec/wordnet/word_spec.rb +22 -42
- data/spec/wordnet_spec.rb +4 -23
- data/wordnet.gemspec +63 -0
- metadata +110 -113
- metadata.gz.sig +0 -0
- data/.gemtest +0 -0
- data/examples/add-laced-boots.rb +0 -35
- data/examples/clothes-with-collars.rb +0 -42
- data/examples/clothesWithTongues.rb +0 -28
- data/examples/distance.rb +0 -37
- data/examples/domainTree.rb +0 -27
- data/examples/holonymTree.rb +0 -27
- data/examples/hypernymTree.rb +0 -28
- data/examples/hyponymTree.rb +0 -28
- data/examples/memberTree.rb +0 -27
- data/examples/meronymTree.rb +0 -29
- data/spec/lib/helpers.rb +0 -80
- data/spec/linguawordnet.tests.rb +0 -38
data/spec/wordnet_spec.rb
CHANGED
@@ -1,17 +1,7 @@
|
|
1
|
-
#!/usr/bin/env
|
2
|
-
|
3
|
-
BEGIN {
|
4
|
-
require 'pathname'
|
5
|
-
|
6
|
-
basedir = Pathname.new( __FILE__ ).dirname.parent
|
7
|
-
libdir = basedir + 'lib'
|
8
|
-
|
9
|
-
$LOAD_PATH.unshift( basedir.to_s ) unless $LOAD_PATH.include?( basedir.to_s )
|
10
|
-
$LOAD_PATH.unshift( libdir.to_s ) unless $LOAD_PATH.include?( libdir.to_s )
|
11
|
-
}
|
1
|
+
#!/usr/bin/env rspec
|
2
|
+
require_relative 'helpers'
|
12
3
|
|
13
4
|
require 'rspec'
|
14
|
-
require 'spec/lib/helpers'
|
15
5
|
require 'wordnet/lexicon'
|
16
6
|
|
17
7
|
|
@@ -20,23 +10,14 @@ require 'wordnet/lexicon'
|
|
20
10
|
#####################################################################
|
21
11
|
|
22
12
|
describe WordNet do
|
23
|
-
include WordNet::SpecHelpers
|
24
|
-
|
25
|
-
before( :all ) do
|
26
|
-
setup_logging( :fatal )
|
27
|
-
end
|
28
|
-
|
29
|
-
after( :all ) do
|
30
|
-
reset_logging()
|
31
|
-
end
|
32
13
|
|
33
14
|
it "returns a version string if asked" do
|
34
|
-
WordNet.version_string.
|
15
|
+
expect( WordNet.version_string ).to match( /\w+ [\d.]+/ )
|
35
16
|
end
|
36
17
|
|
37
18
|
|
38
19
|
it "returns a version string with a build number if asked" do
|
39
|
-
WordNet.version_string(true).
|
20
|
+
expect( WordNet.version_string(true) ).to match( /\w+ [\d.]+ \(build [[:xdigit:]]+\)/ )
|
40
21
|
end
|
41
22
|
|
42
23
|
|
data/wordnet.gemspec
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
# stub: wordnet 1.1.0.pre20160918161825 ruby lib
|
3
|
+
|
4
|
+
Gem::Specification.new do |s|
|
5
|
+
s.name = "wordnet"
|
6
|
+
s.version = "1.1.0.pre20160918161825"
|
7
|
+
|
8
|
+
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
9
|
+
s.require_paths = ["lib"]
|
10
|
+
s.authors = ["Michael Granger"]
|
11
|
+
s.cert_chain = ["certs/ged.pem"]
|
12
|
+
s.date = "2016-09-18"
|
13
|
+
s.description = "This library is a Ruby interface to WordNet\u{ae}[http://wordnet.princeton.edu/].\nWordNet\u{ae} is an online lexical reference system whose design is inspired\nby current psycholinguistic theories of human lexical memory. English\nnouns, verbs, adjectives and adverbs are organized into synonym sets, each\nrepresenting one underlying lexical concept. Different relations link\nthe synonym sets.\n\nThis library uses WordNet-SQL[http://wnsql.sourceforge.net/], which is a\nconversion of the lexicon flatfiles into a relational database format. You\ncan either install the 'wordnet-defaultdb' gem, which packages up the\nSQLite3 version of WordNet-SQL, or install your own and point the lexicon\nat it by passing \n{Sequel connection parameters}[http://sequel.rubyforge.org/rdoc/files/doc/opening_databases_rdoc.html]\nto the constructor."
|
14
|
+
s.email = ["ged@FaerieMUD.org"]
|
15
|
+
s.extra_rdoc_files = ["History.rdoc", "Manifest.txt", "README.rdoc", "WordNet30-license.txt", "History.rdoc", "README.rdoc"]
|
16
|
+
s.files = [".simplecov", "ChangeLog", "History.rdoc", "LICENSE", "Manifest.txt", "README.rdoc", "Rakefile", "TODO", "WordNet30-license.txt", "examples/gcs.rb", "examples/hypernym_tree.rb", "lib/wordnet.rb", "lib/wordnet/constants.rb", "lib/wordnet/lexicallink.rb", "lib/wordnet/lexicon.rb", "lib/wordnet/model.rb", "lib/wordnet/morph.rb", "lib/wordnet/semanticlink.rb", "lib/wordnet/sense.rb", "lib/wordnet/sumoterm.rb", "lib/wordnet/synset.rb", "lib/wordnet/word.rb", "spec/helpers.rb", "spec/wordnet/lexicon_spec.rb", "spec/wordnet/model_spec.rb", "spec/wordnet/semanticlink_spec.rb", "spec/wordnet/synset_spec.rb", "spec/wordnet/word_spec.rb", "spec/wordnet_spec.rb"]
|
17
|
+
s.homepage = "http://deveiate.org/projects/Ruby-WordNet"
|
18
|
+
s.licenses = ["BSD-3-Clause"]
|
19
|
+
s.post_install_message = "\nIf you don't already have a WordNet database installed somewhere,\nyou'll need to either download and install one from:\n\n http://wnsql.sourceforge.net/\n\nor just install the 'wordnet-defaultdb' gem, which will install\nthe SQLite version for you.\n\n"
|
20
|
+
s.rdoc_options = ["--main", "README.rdoc"]
|
21
|
+
s.required_ruby_version = Gem::Requirement.new(">= 2.2.0")
|
22
|
+
s.rubygems_version = "2.5.1"
|
23
|
+
s.summary = "This library is a Ruby interface to WordNet\u{ae}[http://wordnet.princeton.edu/]"
|
24
|
+
|
25
|
+
if s.respond_to? :specification_version then
|
26
|
+
s.specification_version = 4
|
27
|
+
|
28
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
29
|
+
s.add_runtime_dependency(%q<sequel>, ["~> 4.38"])
|
30
|
+
s.add_runtime_dependency(%q<loggability>, ["~> 0.11"])
|
31
|
+
s.add_development_dependency(%q<hoe-mercurial>, ["~> 1.4"])
|
32
|
+
s.add_development_dependency(%q<hoe-deveiate>, ["~> 0.8"])
|
33
|
+
s.add_development_dependency(%q<hoe-highline>, ["~> 0.2"])
|
34
|
+
s.add_development_dependency(%q<rdoc>, ["~> 4.0"])
|
35
|
+
s.add_development_dependency(%q<sqlite3>, ["~> 1.3"])
|
36
|
+
s.add_development_dependency(%q<rspec>, ["~> 3.5"])
|
37
|
+
s.add_development_dependency(%q<simplecov>, ["~> 0.12"])
|
38
|
+
s.add_development_dependency(%q<hoe>, ["~> 3.15"])
|
39
|
+
else
|
40
|
+
s.add_dependency(%q<sequel>, ["~> 4.38"])
|
41
|
+
s.add_dependency(%q<loggability>, ["~> 0.11"])
|
42
|
+
s.add_dependency(%q<hoe-mercurial>, ["~> 1.4"])
|
43
|
+
s.add_dependency(%q<hoe-deveiate>, ["~> 0.8"])
|
44
|
+
s.add_dependency(%q<hoe-highline>, ["~> 0.2"])
|
45
|
+
s.add_dependency(%q<rdoc>, ["~> 4.0"])
|
46
|
+
s.add_dependency(%q<sqlite3>, ["~> 1.3"])
|
47
|
+
s.add_dependency(%q<rspec>, ["~> 3.5"])
|
48
|
+
s.add_dependency(%q<simplecov>, ["~> 0.12"])
|
49
|
+
s.add_dependency(%q<hoe>, ["~> 3.15"])
|
50
|
+
end
|
51
|
+
else
|
52
|
+
s.add_dependency(%q<sequel>, ["~> 4.38"])
|
53
|
+
s.add_dependency(%q<loggability>, ["~> 0.11"])
|
54
|
+
s.add_dependency(%q<hoe-mercurial>, ["~> 1.4"])
|
55
|
+
s.add_dependency(%q<hoe-deveiate>, ["~> 0.8"])
|
56
|
+
s.add_dependency(%q<hoe-highline>, ["~> 0.2"])
|
57
|
+
s.add_dependency(%q<rdoc>, ["~> 4.0"])
|
58
|
+
s.add_dependency(%q<sqlite3>, ["~> 1.3"])
|
59
|
+
s.add_dependency(%q<rspec>, ["~> 3.5"])
|
60
|
+
s.add_dependency(%q<simplecov>, ["~> 0.12"])
|
61
|
+
s.add_dependency(%q<hoe>, ["~> 3.15"])
|
62
|
+
end
|
63
|
+
end
|
metadata
CHANGED
@@ -1,188 +1,183 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wordnet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Michael Granger
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain:
|
12
|
-
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
date:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIEbDCCAtSgAwIBAgIBATANBgkqhkiG9w0BAQsFADA+MQwwCgYDVQQDDANnZWQx
|
14
|
+
GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
|
15
|
+
HhcNMTYwODIwMTgxNzQyWhcNMTcwODIwMTgxNzQyWjA+MQwwCgYDVQQDDANnZWQx
|
16
|
+
GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
|
17
|
+
ggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC/JWGRHO+USzR97vXjkFgt
|
18
|
+
83qeNf2KHkcvrRTSnR64i6um/ziin0I0oX23H7VYrDJC9A/uoUa5nGRJS5Zw/+wW
|
19
|
+
ENcvWVZS4iUzi4dsYJGY6yEOsXh2CcF46+QevV8iE+UmbkU75V7Dy1JCaUOyizEt
|
20
|
+
TH5UHsOtUU7k9TYARt/TgYZKuaoAMZZd5qyVqhF1vV+7/Qzmp89NGflXf2xYP26a
|
21
|
+
4MAX2qqKX/FKXqmFO+AGsbwYTEds1mksBF3fGsFgsQWxftG8GfZQ9+Cyu2+l1eOw
|
22
|
+
cZ+lPcg834G9DrqW2zhqUoLr1MTly4pqxYGb7XoDhoR7dd1kFE2a067+DzWC/ADt
|
23
|
+
+QkcqWUm5oh1fN0eqr7NsZlVJDulFgdiiYPQiIN7UNsii4Wc9aZqBoGcYfBeQNPZ
|
24
|
+
soo/6za/bWajOKUmDhpqvaiRv9EDpVLzuj53uDoukMMwxCMfgb04+ckQ0t2G7wqc
|
25
|
+
/D+K9JW9DDs3Yjgv9k4h7YMhW5gftosd+NkNC/+Y2CkCAwEAAaN1MHMwCQYDVR0T
|
26
|
+
BAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFHKN/nkRusdqCJEuq3lgB3fJvyTg
|
27
|
+
MBwGA1UdEQQVMBOBEWdlZEBGYWVyaWVNVUQub3JnMBwGA1UdEgQVMBOBEWdlZEBG
|
28
|
+
YWVyaWVNVUQub3JnMA0GCSqGSIb3DQEBCwUAA4IBgQAPJzKiT0zBU7kpqe0aS2qb
|
29
|
+
FI0PJ4y5I8buU4IZGUD5NEt/N7pZNfOyBxkrZkXhS44Fp+xwBH5ebLbq/WY78Bqd
|
30
|
+
db0z6ZgW4LMYMpWFfbXsRbd9TU2f52L8oMAhxOvF7Of5qJMVWuFQ8FPagk2iHrdH
|
31
|
+
inYLQagqAF6goWTXgAJCdPd6SNeeSNqA6vlY7CV1Jh5kfNJJ6xu/CVij1GzCLu/5
|
32
|
+
DMOr26DBv+qLJRRC/2h34uX71q5QgeOyxvMg+7V3u/Q06DXyQ2VgeeqiwDFFpEH0
|
33
|
+
PFkdPO6ZqbTRcLfNH7mFgCBJjsfSjJrn0sPBlYyOXgCoByfZnZyrIMH/UY+lgQqS
|
34
|
+
6Von1VDsfQm0eJh5zYZD64ZF86phSR7mUX3mXItwH04HrZwkWpvgd871DZVR3i1n
|
35
|
+
w8aNA5re5+Rt/Vvjxj5AcEnZnZiz5x959NaddQocX32Z1unHw44pzRNUur1GInfW
|
36
|
+
p4vpx2kUSFSAGjtCbDGTNV2AH8w9OU4xEmNz8c5lyoA=
|
37
|
+
-----END CERTIFICATE-----
|
38
|
+
date: 2016-09-19 00:00:00.000000000 Z
|
40
39
|
dependencies:
|
41
40
|
- !ruby/object:Gem::Dependency
|
42
41
|
name: sequel
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
44
|
-
none: false
|
45
43
|
requirements:
|
46
|
-
- - ~>
|
44
|
+
- - "~>"
|
47
45
|
- !ruby/object:Gem::Version
|
48
|
-
version: '
|
46
|
+
version: '4.38'
|
49
47
|
type: :runtime
|
50
48
|
prerelease: false
|
51
49
|
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
none: false
|
53
50
|
requirements:
|
54
|
-
- - ~>
|
51
|
+
- - "~>"
|
55
52
|
- !ruby/object:Gem::Version
|
56
|
-
version: '
|
53
|
+
version: '4.38'
|
57
54
|
- !ruby/object:Gem::Dependency
|
58
55
|
name: loggability
|
59
56
|
requirement: !ruby/object:Gem::Requirement
|
60
|
-
none: false
|
61
57
|
requirements:
|
62
|
-
- - ~>
|
58
|
+
- - "~>"
|
63
59
|
- !ruby/object:Gem::Version
|
64
|
-
version: '0.
|
60
|
+
version: '0.11'
|
65
61
|
type: :runtime
|
66
62
|
prerelease: false
|
67
63
|
version_requirements: !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
64
|
requirements:
|
70
|
-
- - ~>
|
65
|
+
- - "~>"
|
71
66
|
- !ruby/object:Gem::Version
|
72
|
-
version: '0.
|
67
|
+
version: '0.11'
|
73
68
|
- !ruby/object:Gem::Dependency
|
74
69
|
name: hoe-mercurial
|
75
70
|
requirement: !ruby/object:Gem::Requirement
|
76
|
-
none: false
|
77
71
|
requirements:
|
78
|
-
- - ~>
|
72
|
+
- - "~>"
|
79
73
|
- !ruby/object:Gem::Version
|
80
|
-
version: 1.4
|
74
|
+
version: '1.4'
|
81
75
|
type: :development
|
82
76
|
prerelease: false
|
83
77
|
version_requirements: !ruby/object:Gem::Requirement
|
84
|
-
none: false
|
85
78
|
requirements:
|
86
|
-
- - ~>
|
79
|
+
- - "~>"
|
87
80
|
- !ruby/object:Gem::Version
|
88
|
-
version: 1.4
|
81
|
+
version: '1.4'
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: hoe-deveiate
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0.8'
|
89
|
+
type: :development
|
90
|
+
prerelease: false
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0.8'
|
89
96
|
- !ruby/object:Gem::Dependency
|
90
97
|
name: hoe-highline
|
91
98
|
requirement: !ruby/object:Gem::Requirement
|
92
|
-
none: false
|
93
99
|
requirements:
|
94
|
-
- - ~>
|
100
|
+
- - "~>"
|
95
101
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
102
|
+
version: '0.2'
|
97
103
|
type: :development
|
98
104
|
prerelease: false
|
99
105
|
version_requirements: !ruby/object:Gem::Requirement
|
100
|
-
none: false
|
101
106
|
requirements:
|
102
|
-
- - ~>
|
107
|
+
- - "~>"
|
103
108
|
- !ruby/object:Gem::Version
|
104
|
-
version: 0.
|
109
|
+
version: '0.2'
|
105
110
|
- !ruby/object:Gem::Dependency
|
106
111
|
name: rdoc
|
107
112
|
requirement: !ruby/object:Gem::Requirement
|
108
|
-
none: false
|
109
113
|
requirements:
|
110
|
-
- - ~>
|
114
|
+
- - "~>"
|
111
115
|
- !ruby/object:Gem::Version
|
112
|
-
version: '
|
116
|
+
version: '4.0'
|
113
117
|
type: :development
|
114
118
|
prerelease: false
|
115
119
|
version_requirements: !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
120
|
requirements:
|
118
|
-
- - ~>
|
121
|
+
- - "~>"
|
119
122
|
- !ruby/object:Gem::Version
|
120
|
-
version: '
|
123
|
+
version: '4.0'
|
121
124
|
- !ruby/object:Gem::Dependency
|
122
125
|
name: sqlite3
|
123
126
|
requirement: !ruby/object:Gem::Requirement
|
124
|
-
none: false
|
125
127
|
requirements:
|
126
|
-
- - ~>
|
128
|
+
- - "~>"
|
127
129
|
- !ruby/object:Gem::Version
|
128
130
|
version: '1.3'
|
129
131
|
type: :development
|
130
132
|
prerelease: false
|
131
133
|
version_requirements: !ruby/object:Gem::Requirement
|
132
|
-
none: false
|
133
134
|
requirements:
|
134
|
-
- - ~>
|
135
|
+
- - "~>"
|
135
136
|
- !ruby/object:Gem::Version
|
136
137
|
version: '1.3'
|
137
138
|
- !ruby/object:Gem::Dependency
|
138
139
|
name: rspec
|
139
140
|
requirement: !ruby/object:Gem::Requirement
|
140
|
-
none: false
|
141
141
|
requirements:
|
142
|
-
- - ~>
|
142
|
+
- - "~>"
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version: '
|
144
|
+
version: '3.5'
|
145
145
|
type: :development
|
146
146
|
prerelease: false
|
147
147
|
version_requirements: !ruby/object:Gem::Requirement
|
148
|
-
none: false
|
149
148
|
requirements:
|
150
|
-
- - ~>
|
149
|
+
- - "~>"
|
151
150
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
151
|
+
version: '3.5'
|
153
152
|
- !ruby/object:Gem::Dependency
|
154
153
|
name: simplecov
|
155
154
|
requirement: !ruby/object:Gem::Requirement
|
156
|
-
none: false
|
157
155
|
requirements:
|
158
|
-
- - ~>
|
156
|
+
- - "~>"
|
159
157
|
- !ruby/object:Gem::Version
|
160
|
-
version: '0.
|
158
|
+
version: '0.12'
|
161
159
|
type: :development
|
162
160
|
prerelease: false
|
163
161
|
version_requirements: !ruby/object:Gem::Requirement
|
164
|
-
none: false
|
165
162
|
requirements:
|
166
|
-
- - ~>
|
163
|
+
- - "~>"
|
167
164
|
- !ruby/object:Gem::Version
|
168
|
-
version: '0.
|
165
|
+
version: '0.12'
|
169
166
|
- !ruby/object:Gem::Dependency
|
170
167
|
name: hoe
|
171
168
|
requirement: !ruby/object:Gem::Requirement
|
172
|
-
none: false
|
173
169
|
requirements:
|
174
|
-
- - ~>
|
170
|
+
- - "~>"
|
175
171
|
- !ruby/object:Gem::Version
|
176
|
-
version: '3.
|
172
|
+
version: '3.15'
|
177
173
|
type: :development
|
178
174
|
prerelease: false
|
179
175
|
version_requirements: !ruby/object:Gem::Requirement
|
180
|
-
none: false
|
181
176
|
requirements:
|
182
|
-
- - ~>
|
177
|
+
- - "~>"
|
183
178
|
- !ruby/object:Gem::Version
|
184
|
-
version: '3.
|
185
|
-
description:
|
179
|
+
version: '3.15'
|
180
|
+
description: "This library is a Ruby interface to WordNet®[http://wordnet.princeton.edu/].\nWordNet®
|
186
181
|
is an online lexical reference system whose design is inspired\nby current psycholinguistic
|
187
182
|
theories of human lexical memory. English\nnouns, verbs, adjectives and adverbs
|
188
183
|
are organized into synonym sets, each\nrepresenting one underlying lexical concept.
|
@@ -199,28 +194,27 @@ extensions: []
|
|
199
194
|
extra_rdoc_files:
|
200
195
|
- History.rdoc
|
201
196
|
- Manifest.txt
|
197
|
+
- README.md
|
202
198
|
- README.rdoc
|
203
199
|
- WordNet30-license.txt
|
204
200
|
files:
|
201
|
+
- ".gems"
|
202
|
+
- ".ruby-gemset"
|
203
|
+
- ".ruby-version"
|
204
|
+
- ".simplecov"
|
205
205
|
- ChangeLog
|
206
|
+
- Gemfile
|
206
207
|
- History.rdoc
|
207
208
|
- LICENSE
|
208
209
|
- Manifest.txt
|
210
|
+
- README.md
|
209
211
|
- README.rdoc
|
210
212
|
- Rakefile
|
211
213
|
- TODO
|
212
214
|
- WordNet30-license.txt
|
213
|
-
-
|
214
|
-
- examples/clothes-with-collars.rb
|
215
|
-
- examples/clothesWithTongues.rb
|
216
|
-
- examples/distance.rb
|
217
|
-
- examples/domainTree.rb
|
215
|
+
- certs/ged.pem
|
218
216
|
- examples/gcs.rb
|
219
|
-
- examples/
|
220
|
-
- examples/hypernymTree.rb
|
221
|
-
- examples/hyponymTree.rb
|
222
|
-
- examples/memberTree.rb
|
223
|
-
- examples/meronymTree.rb
|
217
|
+
- examples/hypernym_tree.rb
|
224
218
|
- lib/wordnet.rb
|
225
219
|
- lib/wordnet/constants.rb
|
226
220
|
- lib/wordnet/lexicallink.rb
|
@@ -232,45 +226,48 @@ files:
|
|
232
226
|
- lib/wordnet/sumoterm.rb
|
233
227
|
- lib/wordnet/synset.rb
|
234
228
|
- lib/wordnet/word.rb
|
235
|
-
- spec/
|
236
|
-
- spec/linguawordnet.tests.rb
|
229
|
+
- spec/helpers.rb
|
237
230
|
- spec/wordnet/lexicon_spec.rb
|
238
231
|
- spec/wordnet/model_spec.rb
|
239
232
|
- spec/wordnet/semanticlink_spec.rb
|
233
|
+
- spec/wordnet/sense_spec.rb
|
240
234
|
- spec/wordnet/synset_spec.rb
|
241
235
|
- spec/wordnet/word_spec.rb
|
242
236
|
- spec/wordnet_spec.rb
|
243
|
-
- .
|
237
|
+
- wordnet.gemspec
|
244
238
|
homepage: http://deveiate.org/projects/Ruby-WordNet
|
245
239
|
licenses:
|
246
|
-
- BSD
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
240
|
+
- BSD-3-Clause
|
241
|
+
metadata: {}
|
242
|
+
post_install_message: |2+
|
243
|
+
|
244
|
+
If you don't already have a WordNet database installed somewhere,
|
245
|
+
you'll need to either download and install one from:
|
246
|
+
|
247
|
+
http://wnsql.sourceforge.net/
|
248
|
+
|
249
|
+
or just install the 'wordnet-defaultdb' gem, which will install
|
250
|
+
the SQLite version for you.
|
251
|
+
|
251
252
|
rdoc_options:
|
252
|
-
-
|
253
|
-
-
|
254
|
-
- -t
|
255
|
-
- Ruby WordNet
|
253
|
+
- "--main"
|
254
|
+
- README.rdoc
|
256
255
|
require_paths:
|
257
256
|
- lib
|
258
257
|
required_ruby_version: !ruby/object:Gem::Requirement
|
259
|
-
none: false
|
260
258
|
requirements:
|
261
|
-
- -
|
259
|
+
- - ">="
|
262
260
|
- !ruby/object:Gem::Version
|
263
|
-
version:
|
261
|
+
version: 2.2.0
|
264
262
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
265
|
-
none: false
|
266
263
|
requirements:
|
267
|
-
- -
|
264
|
+
- - ">="
|
268
265
|
- !ruby/object:Gem::Version
|
269
266
|
version: '0'
|
270
267
|
requirements: []
|
271
|
-
rubyforge_project:
|
272
|
-
rubygems_version:
|
268
|
+
rubyforge_project:
|
269
|
+
rubygems_version: 2.5.1
|
273
270
|
signing_key:
|
274
|
-
specification_version:
|
271
|
+
specification_version: 4
|
275
272
|
summary: This library is a Ruby interface to WordNet®[http://wordnet.princeton.edu/]
|
276
273
|
test_files: []
|