wordnet 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/.gems +5 -0
  5. data/.ruby-gemset +1 -0
  6. data/.ruby-version +1 -0
  7. data/.simplecov +8 -0
  8. data/Gemfile +2 -0
  9. data/History.rdoc +7 -0
  10. data/Manifest.txt +11 -12
  11. data/README.md +1 -0
  12. data/Rakefile +44 -25
  13. data/certs/ged.pem +26 -0
  14. data/examples/gcs.rb +24 -34
  15. data/examples/hypernym_tree.rb +34 -0
  16. data/lib/wordnet.rb +4 -4
  17. data/lib/wordnet/constants.rb +2 -1
  18. data/lib/wordnet/lexicallink.rb +2 -1
  19. data/lib/wordnet/lexicon.rb +6 -5
  20. data/lib/wordnet/model.rb +2 -1
  21. data/lib/wordnet/morph.rb +2 -1
  22. data/lib/wordnet/semanticlink.rb +2 -1
  23. data/lib/wordnet/sense.rb +48 -4
  24. data/lib/wordnet/sumoterm.rb +3 -2
  25. data/lib/wordnet/synset.rb +12 -10
  26. data/lib/wordnet/word.rb +21 -20
  27. data/spec/helpers.rb +43 -0
  28. data/spec/wordnet/lexicon_spec.rb +44 -61
  29. data/spec/wordnet/model_spec.rb +5 -37
  30. data/spec/wordnet/semanticlink_spec.rb +6 -26
  31. data/spec/wordnet/sense_spec.rb +80 -0
  32. data/spec/wordnet/synset_spec.rb +33 -47
  33. data/spec/wordnet/word_spec.rb +22 -42
  34. data/spec/wordnet_spec.rb +4 -23
  35. data/wordnet.gemspec +63 -0
  36. metadata +110 -113
  37. metadata.gz.sig +0 -0
  38. data/.gemtest +0 -0
  39. data/examples/add-laced-boots.rb +0 -35
  40. data/examples/clothes-with-collars.rb +0 -42
  41. data/examples/clothesWithTongues.rb +0 -28
  42. data/examples/distance.rb +0 -37
  43. data/examples/domainTree.rb +0 -27
  44. data/examples/holonymTree.rb +0 -27
  45. data/examples/hypernymTree.rb +0 -28
  46. data/examples/hyponymTree.rb +0 -28
  47. data/examples/memberTree.rb +0 -27
  48. data/examples/meronymTree.rb +0 -29
  49. data/spec/lib/helpers.rb +0 -80
  50. data/spec/linguawordnet.tests.rb +0 -38
@@ -1,17 +1,7 @@
1
- #!/usr/bin/env ruby
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.should =~ /\w+ [\d.]+/
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).should =~ /\w+ [\d.]+ \(build [[:xdigit:]]+\)/
20
+ expect( WordNet.version_string(true) ).to match( /\w+ [\d.]+ \(build [[:xdigit:]]+\)/ )
40
21
  end
41
22
 
42
23
 
@@ -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.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
- - !binary |-
13
- LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURMRENDQWhTZ0F3SUJB
14
- Z0lCQURBTkJna3Foa2lHOXcwQkFRVUZBREE4TVF3d0NnWURWUVFEREFOblpX
15
- UXgKRnpBVkJnb0praWFKay9Jc1pBRVpGZ2RmWVdWeWFXVmZNUk13RVFZS0Na
16
- SW1pWlB5TEdRQkdSWURiM0puTUI0WApEVEV3TURreE5qRTBORGcxTVZvWERU
17
- RXhNRGt4TmpFME5EZzFNVm93UERFTU1Bb0dBMVVFQXd3RFoyVmtNUmN3CkZR
18
- WUtDWkltaVpQeUxHUUJHUllIWDJGbGNtbGxYekVUTUJFR0NnbVNKb21UOGl4
19
- a0FSa1dBMjl5WnpDQ0FTSXcKRFFZSktvWklodmNOQVFFQkJRQURnZ0VQQURD
20
- Q0FRb0NnZ0VCQUx5Ly9CRnhDMWYvY1BTbnd0SkJXb0ZpRnJpcgpoN1JpY0kr
21
- am9xL29jVlhRcUk0VERXUHlGLzh0cWt2dCtyRDk5WDlxczJZZVI4Q1Uv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GA1UdEQQVMBOBEWdlZEBGYWVyaWVNVUQub3JnMBwGA1UdEgQVMBOBEWdlZEBG
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: '3.38'
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: '3.38'
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.5'
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.5'
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.0
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.0
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.1.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.1.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: '3.10'
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: '3.10'
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: '2.7'
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: '2.7'
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.6'
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.6'
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.0'
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.0'
185
- description: ! "This library is a Ruby interface to WordNet®[http://wordnet.princeton.edu/].\nWordNet®
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
- - examples/add-laced-boots.rb
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/holonymTree.rb
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/lib/helpers.rb
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
- - .gemtest
237
+ - wordnet.gemspec
244
238
  homepage: http://deveiate.org/projects/Ruby-WordNet
245
239
  licenses:
246
- - BSD
247
- post_install_message: ! "\nIf you don't already have a WordNet database installed
248
- somewhere,\nyou'll need to either download and install one from:\n\n http://wnsql.sourceforge.net/\n\nor
249
- just install the 'wordnet-defaultdb' gem, which will install\nthe SQLite version
250
- for you.\n\n"
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
- - -f
253
- - fivefish
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: 1.9.2
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: wordnet
272
- rubygems_version: 1.8.24
268
+ rubyforge_project:
269
+ rubygems_version: 2.5.1
273
270
  signing_key:
274
- specification_version: 3
271
+ specification_version: 4
275
272
  summary: This library is a Ruby interface to WordNet®[http://wordnet.princeton.edu/]
276
273
  test_files: []