wordnet 0.0.5 → 1.0.0.pre.126
Sign up to get free protection for your applications and to get access to all the features.
- data/.gemtest +0 -0
- data/History.rdoc +5 -0
- data/LICENSE +9 -9
- data/Manifest.txt +39 -0
- data/README.rdoc +60 -0
- data/Rakefile +47 -267
- data/TODO +9 -0
- data/WordNet30-license.txt +31 -0
- data/examples/add-laced-boots.rb +35 -0
- data/examples/clothes-with-collars.rb +42 -0
- data/examples/clothesWithTongues.rb +0 -0
- data/examples/domainTree.rb +0 -0
- data/examples/memberTree.rb +0 -0
- data/lib/wordnet/constants.rb +259 -296
- data/lib/wordnet/lexicallink.rb +34 -0
- data/lib/wordnet/lexicon.rb +158 -386
- data/lib/wordnet/mixins.rb +62 -0
- data/lib/wordnet/model.rb +78 -0
- data/lib/wordnet/morph.rb +25 -0
- data/lib/wordnet/semanticlink.rb +52 -0
- data/lib/wordnet/sense.rb +55 -0
- data/lib/wordnet/sumoterm.rb +21 -0
- data/lib/wordnet/synset.rb +404 -859
- data/lib/wordnet/utils.rb +126 -0
- data/lib/wordnet/word.rb +119 -0
- data/lib/wordnet.rb +113 -76
- data/spec/lib/helpers.rb +102 -133
- data/spec/linguawordnet.tests.rb +38 -0
- data/spec/wordnet/lexicon_spec.rb +96 -186
- data/spec/wordnet/model_spec.rb +59 -0
- data/spec/wordnet/semanticlink_spec.rb +42 -0
- data/spec/wordnet/synset_spec.rb +27 -256
- data/spec/wordnet/word_spec.rb +58 -0
- data/spec/wordnet_spec.rb +52 -0
- data.tar.gz.sig +0 -0
- metadata +227 -188
- metadata.gz.sig +0 -0
- data/ChangeLog +0 -720
- data/README +0 -93
- data/Rakefile.local +0 -46
- data/convertdb.rb +0 -417
- data/examples/addLacedBoots.rb +0 -27
- data/examples/clothesWithCollars.rb +0 -36
- data/rake/dependencies.rb +0 -76
- data/rake/helpers.rb +0 -384
- data/rake/manual.rb +0 -755
- data/rake/packaging.rb +0 -112
- data/rake/publishing.rb +0 -303
- data/rake/rdoc.rb +0 -35
- data/rake/style.rb +0 -62
- data/rake/svn.rb +0 -469
- data/rake/testing.rb +0 -192
- data/rake/verifytask.rb +0 -64
- data/utils.rb +0 -838
metadata
CHANGED
@@ -1,171 +1,196 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: wordnet
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0.pre.126
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
|
-
authors:
|
7
|
+
authors:
|
7
8
|
- Michael Granger
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
|
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
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
-
|
46
|
-
|
11
|
+
cert_chain:
|
12
|
+
- !binary |-
|
13
|
+
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURMRENDQWhTZ0F3SUJB
|
14
|
+
Z0lCQURBTkJna3Foa2lHOXcwQkFRVUZBREE4TVF3d0NnWURWUVFEREFOblpX
|
15
|
+
UXgKRnpBVkJnb0praWFKay9Jc1pBRVpGZ2RmWVdWeWFXVmZNUk13RVFZS0Na
|
16
|
+
SW1pWlB5TEdRQkdSWURiM0puTUI0WApEVEV3TURreE5qRTBORGcxTVZvWERU
|
17
|
+
RXhNRGt4TmpFME5EZzFNVm93UERFTU1Bb0dBMVVFQXd3RFoyVmtNUmN3CkZR
|
18
|
+
WUt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0anM4QVA5Z1dnU0lZUzZHcjM4VjBXR0ZGTnpJSAphT0Qyd211
|
34
|
+
OW9vL1JmZlc0aFMvOEd1dmZNemN3N0NRMzU1d0ZSNEtCL255emUrRXNaMVk1
|
35
|
+
RGVyQ0FhZ01WdURRClUwQkxtV0RGelBHR1dsUGVRQ3JZSENyK0FjSnorTlJu
|
36
|
+
YUhDS0xaZFNLai9SSHVUT3QrZ2JsUmV4OEZBaDhOZUEKY21saFhlNDZwWk5K
|
37
|
+
Z1dLYnhaYWg4NWpJang5NWhSOHZPSStOQU01aUg5a09xSzEzRHJ4YWNUS1Bo
|
38
|
+
cWo1UGp3RgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
39
|
+
date: 2012-05-01 00:00:00.000000000 Z
|
40
|
+
dependencies:
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: sequel
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
45
|
+
requirements:
|
46
|
+
- - ~>
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '3.29'
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ~>
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '3.29'
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: hoe-mercurial
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
61
|
+
requirements:
|
62
|
+
- - ~>
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: 1.4.0
|
47
65
|
type: :development
|
48
|
-
|
49
|
-
version_requirements: !ruby/object:Gem::Requirement
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
66
|
+
prerelease: false
|
67
|
+
version_requirements: !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ~>
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 1.4.0
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: hoe-highline
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
77
|
+
requirements:
|
78
|
+
- - ~>
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 0.0.1
|
57
81
|
type: :development
|
58
|
-
|
59
|
-
version_requirements: !ruby/object:Gem::Requirement
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name:
|
82
|
+
prerelease: false
|
83
|
+
version_requirements: !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ~>
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: 0.0.1
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: rdoc
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '3.10'
|
67
97
|
type: :development
|
68
|
-
|
69
|
-
version_requirements: !ruby/object:Gem::Requirement
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name:
|
98
|
+
prerelease: false
|
99
|
+
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
101
|
+
requirements:
|
102
|
+
- - ~>
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '3.10'
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: sqlite3
|
107
|
+
requirement: !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
109
|
+
requirements:
|
110
|
+
- - ~>
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '1.3'
|
77
113
|
type: :development
|
78
|
-
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name:
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
version: 1.2.3.1
|
94
|
-
version:
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: amatch
|
97
|
-
type: :development
|
98
|
-
version_requirement:
|
99
|
-
version_requirements: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 0.2.3
|
104
|
-
version:
|
105
|
-
- !ruby/object:Gem::Dependency
|
106
|
-
name: rcov
|
107
|
-
type: :development
|
108
|
-
version_requirement:
|
109
|
-
version_requirements: !ruby/object:Gem::Requirement
|
110
|
-
requirements:
|
111
|
-
- - ">="
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
version: "0"
|
114
|
-
version:
|
115
|
-
- !ruby/object:Gem::Dependency
|
116
|
-
name: RedCloth
|
114
|
+
prerelease: false
|
115
|
+
version_requirements: !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ~>
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '1.3'
|
121
|
+
- !ruby/object:Gem::Dependency
|
122
|
+
name: rspec
|
123
|
+
requirement: !ruby/object:Gem::Requirement
|
124
|
+
none: false
|
125
|
+
requirements:
|
126
|
+
- - ~>
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '2.7'
|
117
129
|
type: :development
|
118
|
-
|
119
|
-
version_requirements: !ruby/object:Gem::Requirement
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
130
|
+
prerelease: false
|
131
|
+
version_requirements: !ruby/object:Gem::Requirement
|
132
|
+
none: false
|
133
|
+
requirements:
|
134
|
+
- - ~>
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '2.7'
|
137
|
+
- !ruby/object:Gem::Dependency
|
138
|
+
name: hoe
|
139
|
+
requirement: !ruby/object:Gem::Requirement
|
140
|
+
none: false
|
141
|
+
requirements:
|
142
|
+
- - ~>
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '3.0'
|
127
145
|
type: :development
|
128
|
-
|
129
|
-
version_requirements: !ruby/object:Gem::Requirement
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
description:
|
136
|
-
|
137
|
-
executables: []
|
146
|
+
prerelease: false
|
147
|
+
version_requirements: !ruby/object:Gem::Requirement
|
148
|
+
none: false
|
149
|
+
requirements:
|
150
|
+
- - ~>
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '3.0'
|
153
|
+
description: ! 'This library is a Ruby interface to WordNet®. WordNet® is an online
|
154
|
+
lexical
|
138
155
|
|
139
|
-
|
156
|
+
reference system whose design is inspired by current psycholinguistic theories
|
140
157
|
|
141
|
-
|
158
|
+
of human lexical memory. English nouns, verbs, adjectives and adverbs are
|
142
159
|
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
160
|
+
organized into synonym sets, each representing one underlying lexical
|
161
|
+
|
162
|
+
concept. Different relations link the synonym sets.
|
163
|
+
|
164
|
+
|
165
|
+
It uses WordNet-SQL, which is a conversion of the lexicon flatfiles into a
|
166
|
+
|
167
|
+
relational database format. You can either install the ''wordnet-defaultdb'' gem,
|
168
|
+
|
169
|
+
which packges up the SQLite3 version of WordNet-SQL, or install your own and
|
170
|
+
|
171
|
+
point the lexicon at it by passing a Sequel URL to the constructor.
|
172
|
+
|
173
|
+
|
174
|
+
TO-DO: More details and better writing later.'
|
175
|
+
email:
|
176
|
+
- ged@FaerieMUD.org
|
177
|
+
executables: []
|
178
|
+
extensions: []
|
179
|
+
extra_rdoc_files:
|
180
|
+
- History.rdoc
|
181
|
+
- Manifest.txt
|
182
|
+
- README.rdoc
|
183
|
+
- WordNet30-license.txt
|
184
|
+
files:
|
185
|
+
- History.rdoc
|
147
186
|
- LICENSE
|
148
|
-
-
|
149
|
-
-
|
150
|
-
-
|
151
|
-
-
|
152
|
-
-
|
153
|
-
-
|
154
|
-
-
|
155
|
-
- rake/dependencies.rb
|
156
|
-
- rake/helpers.rb
|
157
|
-
- rake/manual.rb
|
158
|
-
- rake/packaging.rb
|
159
|
-
- rake/publishing.rb
|
160
|
-
- rake/rdoc.rb
|
161
|
-
- rake/style.rb
|
162
|
-
- rake/svn.rb
|
163
|
-
- rake/testing.rb
|
164
|
-
- rake/verifytask.rb
|
165
|
-
- convertdb.rb
|
166
|
-
- utils.rb
|
167
|
-
- examples/addLacedBoots.rb
|
168
|
-
- examples/clothesWithCollars.rb
|
187
|
+
- Manifest.txt
|
188
|
+
- README.rdoc
|
189
|
+
- Rakefile
|
190
|
+
- TODO
|
191
|
+
- WordNet30-license.txt
|
192
|
+
- examples/add-laced-boots.rb
|
193
|
+
- examples/clothes-with-collars.rb
|
169
194
|
- examples/clothesWithTongues.rb
|
170
195
|
- examples/distance.rb
|
171
196
|
- examples/domainTree.rb
|
@@ -175,42 +200,56 @@ files:
|
|
175
200
|
- examples/hyponymTree.rb
|
176
201
|
- examples/memberTree.rb
|
177
202
|
- examples/meronymTree.rb
|
178
|
-
-
|
179
|
-
|
203
|
+
- lib/wordnet.rb
|
204
|
+
- lib/wordnet/constants.rb
|
205
|
+
- lib/wordnet/lexicallink.rb
|
206
|
+
- lib/wordnet/lexicon.rb
|
207
|
+
- lib/wordnet/mixins.rb
|
208
|
+
- lib/wordnet/model.rb
|
209
|
+
- lib/wordnet/morph.rb
|
210
|
+
- lib/wordnet/semanticlink.rb
|
211
|
+
- lib/wordnet/sense.rb
|
212
|
+
- lib/wordnet/sumoterm.rb
|
213
|
+
- lib/wordnet/synset.rb
|
214
|
+
- lib/wordnet/utils.rb
|
215
|
+
- lib/wordnet/word.rb
|
216
|
+
- spec/lib/helpers.rb
|
217
|
+
- spec/linguawordnet.tests.rb
|
218
|
+
- spec/wordnet/lexicon_spec.rb
|
219
|
+
- spec/wordnet/model_spec.rb
|
220
|
+
- spec/wordnet/semanticlink_spec.rb
|
221
|
+
- spec/wordnet/synset_spec.rb
|
222
|
+
- spec/wordnet/word_spec.rb
|
223
|
+
- spec/wordnet_spec.rb
|
224
|
+
- .gemtest
|
180
225
|
homepage: http://deveiate.org/projects/Ruby-WordNet
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
-
|
186
|
-
|
187
|
-
|
188
|
-
-
|
189
|
-
- README
|
190
|
-
|
191
|
-
- http://deveiate.org/projects/Ruby-WordNet/browser/trunk/
|
192
|
-
require_paths:
|
226
|
+
licenses:
|
227
|
+
- BSD
|
228
|
+
post_install_message: ! "\nIf you don't already have a WordNet database installed
|
229
|
+
somewhere, \nyou'll need to either download and install one from:\n\n http://wnsql.sourceforge.net/\n\nor
|
230
|
+
just install the 'wordnet-defaultdb' gem, which will install\nthe SQLite version
|
231
|
+
for you.\n\n"
|
232
|
+
rdoc_options:
|
233
|
+
- --main
|
234
|
+
- README.rdoc
|
235
|
+
require_paths:
|
193
236
|
- lib
|
194
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
requirements:
|
207
|
-
- bdb >= 0.6.5
|
237
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
238
|
+
none: false
|
239
|
+
requirements:
|
240
|
+
- - ! '>='
|
241
|
+
- !ruby/object:Gem::Version
|
242
|
+
version: 1.9.2
|
243
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
244
|
+
none: false
|
245
|
+
requirements:
|
246
|
+
- - ! '>='
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
version: '0'
|
249
|
+
requirements: []
|
208
250
|
rubyforge_project: wordnet
|
209
|
-
rubygems_version: 1.
|
251
|
+
rubygems_version: 1.8.21
|
210
252
|
signing_key:
|
211
|
-
specification_version:
|
212
|
-
summary: a Ruby interface to
|
213
|
-
test_files:
|
214
|
-
- spec/wordnet/lexicon_spec.rb
|
215
|
-
- spec/wordnet/synset_spec.rb
|
216
|
-
- spec/lib/helpers.rb
|
253
|
+
specification_version: 3
|
254
|
+
summary: This library is a Ruby interface to WordNet®
|
255
|
+
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|