wordsdotdat 0.1.1 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b33d6d17bff2099aafd17fadcb21f865538f0264
4
- data.tar.gz: e6af6d59a5ca8fcdb379a95506d48a9b35033590
2
+ SHA256:
3
+ metadata.gz: 8ea934a22e6bd33d7d62142329b8103369ed5643ffe5f71da2688dc3e8b377e2
4
+ data.tar.gz: f901453e0a2617e6d64070306b1c825868e5fbe92cd19ee50c0106ee199956de
5
5
  SHA512:
6
- metadata.gz: fa69bd0a8a555770840ce24d0468263ed9659b62fd98bf6f543bc7f66a1cdc1aa0a3b8fce1dbea719b616e2f890da392a3b7cac7d5b7c465e958ddafd8052407
7
- data.tar.gz: 9e64c626f1e8d386df8e3439665e251b1aff44c74d20939f000b0311c96d0ad8fcd35f6970fcb63264a0a0ed44f8e19ad4b5d9bf4b9d0e642cff3d93b572ee0b
6
+ metadata.gz: 9ff6a8330deb2a50ed75779e2fb4cda60ecda119efaa1c1890b2ad19cdd408286921e67983a99536e8ddc9816c8717975069bc84a9b4966cf4499fe9b8120924
7
+ data.tar.gz: 65b39ec9b1e8f296ae4fa738a18ee9dc20c40531a41db80824ee2ec851ba676a2d6d55467a47770a22df2fcf3b772bc8ebb7128ce0295ceed897765f91b5364c
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -0,0 +1,666 @@
1
+ a
2
+ able
3
+ about
4
+ above
5
+ abst
6
+ accordance
7
+ according
8
+ accordingly
9
+ across
10
+ act
11
+ actually
12
+ added
13
+ adj
14
+ affected
15
+ affecting
16
+ affects
17
+ after
18
+ afterwards
19
+ again
20
+ against
21
+ ah
22
+ all
23
+ almost
24
+ alone
25
+ along
26
+ already
27
+ also
28
+ although
29
+ always
30
+ am
31
+ among
32
+ amongst
33
+ an
34
+ and
35
+ announce
36
+ another
37
+ any
38
+ anybody
39
+ anyhow
40
+ anymore
41
+ anyone
42
+ anything
43
+ anyway
44
+ anyways
45
+ anywhere
46
+ apparently
47
+ approximately
48
+ are
49
+ aren
50
+ arent
51
+ arise
52
+ around
53
+ as
54
+ aside
55
+ ask
56
+ asking
57
+ at
58
+ auth
59
+ available
60
+ away
61
+ awfully
62
+ b
63
+ back
64
+ be
65
+ became
66
+ because
67
+ become
68
+ becomes
69
+ becoming
70
+ been
71
+ before
72
+ beforehand
73
+ begin
74
+ beginning
75
+ beginnings
76
+ begins
77
+ behind
78
+ being
79
+ believe
80
+ below
81
+ beside
82
+ besides
83
+ between
84
+ beyond
85
+ biol
86
+ both
87
+ brief
88
+ briefly
89
+ but
90
+ by
91
+ c
92
+ ca
93
+ came
94
+ can
95
+ cannot
96
+ can't
97
+ cause
98
+ causes
99
+ certain
100
+ certainly
101
+ co
102
+ com
103
+ come
104
+ comes
105
+ contain
106
+ containing
107
+ contains
108
+ could
109
+ couldnt
110
+ d
111
+ date
112
+ did
113
+ didn't
114
+ different
115
+ do
116
+ does
117
+ doesn't
118
+ doing
119
+ done
120
+ don't
121
+ down
122
+ downwards
123
+ due
124
+ during
125
+ e
126
+ each
127
+ ed
128
+ edu
129
+ effect
130
+ eg
131
+ eight
132
+ eighty
133
+ either
134
+ else
135
+ elsewhere
136
+ end
137
+ ending
138
+ enough
139
+ especially
140
+ et
141
+ et-al
142
+ etc
143
+ even
144
+ ever
145
+ every
146
+ everybody
147
+ everyone
148
+ everything
149
+ everywhere
150
+ ex
151
+ except
152
+ f
153
+ far
154
+ few
155
+ ff
156
+ fifth
157
+ first
158
+ five
159
+ fix
160
+ followed
161
+ following
162
+ follows
163
+ for
164
+ former
165
+ formerly
166
+ forth
167
+ found
168
+ four
169
+ from
170
+ further
171
+ furthermore
172
+ g
173
+ gave
174
+ get
175
+ gets
176
+ getting
177
+ give
178
+ given
179
+ gives
180
+ giving
181
+ go
182
+ goes
183
+ gone
184
+ got
185
+ gotten
186
+ h
187
+ had
188
+ happens
189
+ hardly
190
+ has
191
+ hasn't
192
+ have
193
+ haven't
194
+ having
195
+ he
196
+ hed
197
+ hence
198
+ her
199
+ here
200
+ hereafter
201
+ hereby
202
+ herein
203
+ heres
204
+ hereupon
205
+ hers
206
+ herself
207
+ hes
208
+ hi
209
+ hid
210
+ him
211
+ himself
212
+ his
213
+ hither
214
+ home
215
+ how
216
+ howbeit
217
+ however
218
+ hundred
219
+ i
220
+ id
221
+ ie
222
+ if
223
+ i'll
224
+ im
225
+ immediate
226
+ immediately
227
+ importance
228
+ important
229
+ in
230
+ inc
231
+ indeed
232
+ index
233
+ information
234
+ instead
235
+ into
236
+ invention
237
+ inward
238
+ is
239
+ isn't
240
+ it
241
+ itd
242
+ it'll
243
+ its
244
+ itself
245
+ i've
246
+ j
247
+ just
248
+ k
249
+ keep
250
+ keeps
251
+ kept
252
+ kg
253
+ km
254
+ know
255
+ known
256
+ knows
257
+ l
258
+ largely
259
+ last
260
+ lately
261
+ later
262
+ latter
263
+ latterly
264
+ least
265
+ less
266
+ lest
267
+ let
268
+ lets
269
+ like
270
+ liked
271
+ likely
272
+ line
273
+ little
274
+ 'll
275
+ look
276
+ looking
277
+ looks
278
+ ltd
279
+ m
280
+ made
281
+ mainly
282
+ make
283
+ makes
284
+ many
285
+ may
286
+ maybe
287
+ me
288
+ mean
289
+ means
290
+ meantime
291
+ meanwhile
292
+ merely
293
+ mg
294
+ might
295
+ million
296
+ miss
297
+ ml
298
+ more
299
+ moreover
300
+ most
301
+ mostly
302
+ mr
303
+ mrs
304
+ much
305
+ mug
306
+ must
307
+ my
308
+ myself
309
+ n
310
+ na
311
+ name
312
+ namely
313
+ nay
314
+ nd
315
+ near
316
+ nearly
317
+ necessarily
318
+ necessary
319
+ need
320
+ needs
321
+ neither
322
+ never
323
+ nevertheless
324
+ new
325
+ next
326
+ nine
327
+ ninety
328
+ no
329
+ nobody
330
+ non
331
+ none
332
+ nonetheless
333
+ noone
334
+ nor
335
+ normally
336
+ nos
337
+ not
338
+ noted
339
+ nothing
340
+ now
341
+ nowhere
342
+ o
343
+ obtain
344
+ obtained
345
+ obviously
346
+ of
347
+ off
348
+ often
349
+ oh
350
+ ok
351
+ okay
352
+ old
353
+ omitted
354
+ on
355
+ once
356
+ one
357
+ ones
358
+ only
359
+ onto
360
+ or
361
+ ord
362
+ other
363
+ others
364
+ otherwise
365
+ ought
366
+ our
367
+ ours
368
+ ourselves
369
+ out
370
+ outside
371
+ over
372
+ overall
373
+ owing
374
+ own
375
+ p
376
+ page
377
+ pages
378
+ part
379
+ particular
380
+ particularly
381
+ past
382
+ per
383
+ perhaps
384
+ placed
385
+ please
386
+ plus
387
+ poorly
388
+ possible
389
+ possibly
390
+ potentially
391
+ pp
392
+ predominantly
393
+ present
394
+ previously
395
+ primarily
396
+ probably
397
+ promptly
398
+ proud
399
+ provides
400
+ put
401
+ q
402
+ que
403
+ quickly
404
+ quite
405
+ qv
406
+ r
407
+ ran
408
+ rather
409
+ rd
410
+ re
411
+ readily
412
+ really
413
+ recent
414
+ recently
415
+ ref
416
+ refs
417
+ regarding
418
+ regardless
419
+ regards
420
+ related
421
+ relatively
422
+ research
423
+ respectively
424
+ resulted
425
+ resulting
426
+ results
427
+ right
428
+ run
429
+ s
430
+ said
431
+ same
432
+ saw
433
+ say
434
+ saying
435
+ says
436
+ sec
437
+ section
438
+ see
439
+ seeing
440
+ seem
441
+ seemed
442
+ seeming
443
+ seems
444
+ seen
445
+ self
446
+ selves
447
+ sent
448
+ seven
449
+ several
450
+ shall
451
+ she
452
+ shed
453
+ she'll
454
+ shes
455
+ should
456
+ shouldn't
457
+ show
458
+ showed
459
+ shown
460
+ showns
461
+ shows
462
+ significant
463
+ significantly
464
+ similar
465
+ similarly
466
+ since
467
+ six
468
+ slightly
469
+ so
470
+ some
471
+ somebody
472
+ somehow
473
+ someone
474
+ somethan
475
+ something
476
+ sometime
477
+ sometimes
478
+ somewhat
479
+ somewhere
480
+ soon
481
+ sorry
482
+ specifically
483
+ specified
484
+ specify
485
+ specifying
486
+ still
487
+ stop
488
+ strongly
489
+ sub
490
+ substantially
491
+ successfully
492
+ such
493
+ sufficiently
494
+ suggest
495
+ sup
496
+ sure t
497
+ take
498
+ taken
499
+ taking
500
+ tell
501
+ tends
502
+ th
503
+ than
504
+ thank
505
+ thanks
506
+ thanx
507
+ that
508
+ that'll
509
+ thats
510
+ that've
511
+ the
512
+ their
513
+ theirs
514
+ them
515
+ themselves
516
+ then
517
+ thence
518
+ there
519
+ thereafter
520
+ thereby
521
+ thered
522
+ therefore
523
+ therein
524
+ there'll
525
+ thereof
526
+ therere
527
+ theres
528
+ thereto
529
+ thereupon
530
+ there've
531
+ these
532
+ they
533
+ theyd
534
+ they'll
535
+ theyre
536
+ they've
537
+ think
538
+ this
539
+ those
540
+ thou
541
+ though
542
+ thoughh
543
+ thousand
544
+ throug
545
+ through
546
+ throughout
547
+ thru
548
+ thus
549
+ til
550
+ tip
551
+ to
552
+ together
553
+ too
554
+ took
555
+ toward
556
+ towards
557
+ tried
558
+ tries
559
+ truly
560
+ try
561
+ trying
562
+ ts
563
+ twice
564
+ two
565
+ u
566
+ un
567
+ under
568
+ unfortunately
569
+ unless
570
+ unlike
571
+ unlikely
572
+ until
573
+ unto
574
+ up
575
+ upon
576
+ ups
577
+ us
578
+ use
579
+ used
580
+ useful
581
+ usefully
582
+ usefulness
583
+ uses
584
+ using
585
+ usually
586
+ v
587
+ value
588
+ various
589
+ 've
590
+ very
591
+ via
592
+ viz
593
+ vol
594
+ vols
595
+ vs
596
+ w
597
+ want
598
+ wants
599
+ was
600
+ wasnt
601
+ way
602
+ we
603
+ wed
604
+ welcome
605
+ we'll
606
+ went
607
+ were
608
+ werent
609
+ we've
610
+ what
611
+ whatever
612
+ what'll
613
+ whats
614
+ when
615
+ whence
616
+ whenever
617
+ where
618
+ whereafter
619
+ whereas
620
+ whereby
621
+ wherein
622
+ wheres
623
+ whereupon
624
+ wherever
625
+ whether
626
+ which
627
+ while
628
+ whim
629
+ whither
630
+ who
631
+ whod
632
+ whoever
633
+ whole
634
+ who'll
635
+ whom
636
+ whomever
637
+ whos
638
+ whose
639
+ why
640
+ widely
641
+ willing
642
+ wish
643
+ with
644
+ within
645
+ without
646
+ wont
647
+ words
648
+ world
649
+ would
650
+ wouldnt
651
+ www
652
+ x
653
+ y
654
+ yes
655
+ yet
656
+ you
657
+ youd
658
+ you'll
659
+ your
660
+ youre
661
+ yours
662
+ yourself
663
+ yourselves
664
+ you've
665
+ z
666
+ zero
@@ -11,6 +11,14 @@ class WordsDotDat
11
11
 
12
12
  def adjs() @adjs ||= load_data 'adjs.dat' end
13
13
  def nouns() @nouns ||= load_data 'nouns.dat' end
14
+
15
+ def stopwords()
16
+ @stopwords ||= (File.read \
17
+ File.join(File.dirname(__FILE__), '..', 'data',
18
+ 'stopwords.txt')).strip.lines.map(&:chomp)
19
+
20
+ end
21
+
14
22
  def words() adjs + nouns end
15
23
 
16
24
  alias list words
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wordsdotdat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -10,28 +10,32 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
14
- YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
- 8ixkARkWAmV1MB4XDTE3MTAyMDEwNDAyMFoXDTE4MTAyMDEwNDAyMFowSDESMBAG
16
- A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
- EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
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tCD+kqn0V9ByPY
30
+ hMzGbKVmwcOT7tgVTOJwRMorLseZZFnf1Ml3MXDdyMbcp6YCPJxCLkaDHNzrt8DR
31
+ GuT1fmSnR6FJwceADBIiaPEJUWddsl144l+PoCWB/SN1fi1fEpXJHOZppfUMfNLx
32
+ 9pTmi3yoAeUpbGdmjNUarc4nF+thBhZ50RT7NNPH3/iS7GNDWmeZehLs+NvMoj/4
33
+ hyZafhylybN5PfjHchd4GHBk4T1km0gZkdmBMGoPsq14XRZ78w+fAtXUHT5xjJ9F
34
+ slS6H0fJ+c6Sm3jLAx3LPagQAtyp5gYesN5K0gv2MpW+9yXYd/flEiJ2zEo20yhR
35
+ Wn2dOQtcX7sSgl+QqI8Iz6nlmZxWns90t5o4uRW3fB51NQmQ3vUPUvOGo9Joh/08
36
+ OTGdwn6ofw1n3NAsDkWjHSqD
33
37
  -----END CERTIFICATE-----
34
- date: 2017-10-20 00:00:00.000000000 Z
38
+ date: 2020-08-03 00:00:00.000000000 Z
35
39
  dependencies: []
36
40
  description:
37
41
  email: james@jamesrobertson.eu
@@ -41,6 +45,7 @@ extra_rdoc_files: []
41
45
  files:
42
46
  - data/adjs.dat
43
47
  - data/nouns.dat
48
+ - data/stopwords.txt
44
49
  - lib/wordsdotdat.rb
45
50
  homepage: https://github.com/jrobertson/wordsdotdat
46
51
  licenses:
@@ -61,8 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
66
  - !ruby/object:Gem::Version
62
67
  version: '0'
63
68
  requirements: []
64
- rubyforge_project:
65
- rubygems_version: 2.6.13
69
+ rubygems_version: 3.0.3
66
70
  signing_key:
67
71
  specification_version: 4
68
72
  summary: Returns a large list of words
metadata.gz.sig CHANGED
Binary file