random-words 1.0.4 → 1.0.6

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.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/.rspec_status +148 -39
  3. data/.rubocop.yml +1 -0
  4. data/CHANGELOG.md +42 -0
  5. data/Gemfile.lock +4 -1
  6. data/README.md +153 -4
  7. data/bin/randw +195 -49
  8. data/lib/random-words/array.rb +51 -0
  9. data/lib/random-words/config.rb +248 -0
  10. data/lib/random-words/generator.rb +239 -93
  11. data/lib/random-words/hash.rb +16 -0
  12. data/lib/random-words/html2markdown.rb +205 -0
  13. data/lib/random-words/lorem-markdown.rb +398 -0
  14. data/lib/random-words/number-to-word.rb +137 -0
  15. data/lib/random-words/source.rb +105 -0
  16. data/lib/random-words/string.rb +221 -47
  17. data/lib/random-words/table-cleanup.rb +210 -0
  18. data/lib/random-words/version.rb +1 -1
  19. data/lib/random-words/words/1984/adjectives.txt +103 -0
  20. data/lib/random-words/words/1984/adverbs.txt +92 -0
  21. data/lib/random-words/words/1984/articles-plural.txt +10 -0
  22. data/lib/random-words/words/1984/articles-singular.txt +10 -0
  23. data/lib/random-words/words/1984/clauses.txt +79 -0
  24. data/lib/random-words/words/1984/config.yml +4 -0
  25. data/lib/random-words/words/1984/conjunctions-coordinating.txt +20 -0
  26. data/lib/random-words/words/1984/conjunctions-subordinate.txt +29 -0
  27. data/lib/random-words/words/1984/names.txt +74 -0
  28. data/lib/random-words/words/1984/nouns-plural.txt +89 -0
  29. data/lib/random-words/words/1984/nouns-singular.txt +74 -0
  30. data/lib/random-words/words/1984/numbers.yml +5 -0
  31. data/lib/random-words/words/1984/prepositions.txt +89 -0
  32. data/lib/random-words/words/1984/terminators.txt +16 -0
  33. data/lib/random-words/words/1984/verbs-passive.txt +83 -0
  34. data/lib/random-words/words/1984/verbs-plural.txt +91 -0
  35. data/lib/random-words/words/1984/verbs-singular.txt +110 -0
  36. data/lib/random-words/words/alice/adjectives.txt +80 -0
  37. data/lib/random-words/words/alice/adverbs.txt +87 -0
  38. data/lib/random-words/words/alice/articles-plural.txt +10 -0
  39. data/lib/random-words/words/alice/articles-singular.txt +10 -0
  40. data/lib/random-words/words/alice/clauses.txt +81 -0
  41. data/lib/random-words/words/alice/config.yml +4 -0
  42. data/lib/random-words/words/alice/conjunctions-coordinating.txt +20 -0
  43. data/lib/random-words/words/alice/conjunctions-subordinate.txt +29 -0
  44. data/lib/random-words/words/alice/names.txt +74 -0
  45. data/lib/random-words/words/alice/nouns-plural.txt +95 -0
  46. data/lib/random-words/words/alice/nouns-singular.txt +82 -0
  47. data/lib/random-words/words/alice/numbers.yml +5 -0
  48. data/lib/random-words/words/alice/prepositions.txt +45 -0
  49. data/lib/random-words/words/alice/terminators.txt +16 -0
  50. data/lib/random-words/words/alice/verbs-passive.txt +495 -0
  51. data/lib/random-words/words/alice/verbs-plural.txt +115 -0
  52. data/lib/random-words/words/alice/verbs-singular.txt +97 -0
  53. data/lib/random-words/words/bacon/clauses.txt +592 -592
  54. data/lib/random-words/words/bacon/config.yml +4 -0
  55. data/lib/random-words/words/bacon/conjunctions-coordinating.txt +20 -0
  56. data/lib/random-words/words/bacon/names.txt +74 -0
  57. data/lib/random-words/words/bacon/numbers.yml +5 -0
  58. data/lib/random-words/words/bacon/prepositions.txt +45 -0
  59. data/lib/random-words/words/bacon/terminators.txt +16 -0
  60. data/lib/random-words/words/corporate/config.yml +4 -0
  61. data/lib/random-words/words/corporate/conjunctions-coordinating.txt +20 -0
  62. data/lib/random-words/words/corporate/names.txt +74 -0
  63. data/lib/random-words/words/corporate/numbers.yml +5 -0
  64. data/lib/random-words/words/corporate/prepositions.txt +45 -0
  65. data/lib/random-words/words/corporate/terminators.txt +16 -0
  66. data/lib/random-words/words/doctor/adjectives.txt +92 -0
  67. data/lib/random-words/words/doctor/adverbs.txt +92 -0
  68. data/lib/random-words/words/doctor/articles-plural.txt +10 -0
  69. data/lib/random-words/words/doctor/articles-singular.txt +10 -0
  70. data/lib/random-words/words/doctor/clauses.txt +83 -0
  71. data/lib/random-words/words/doctor/config.yml +10 -0
  72. data/lib/random-words/words/doctor/conjunctions-coordinating.txt +20 -0
  73. data/lib/random-words/words/doctor/conjunctions-subordinate.txt +29 -0
  74. data/lib/random-words/words/doctor/names.txt +74 -0
  75. data/lib/random-words/words/doctor/nouns-plural.txt +84 -0
  76. data/lib/random-words/words/doctor/nouns-singular.txt +84 -0
  77. data/lib/random-words/words/doctor/numbers.yml +5 -0
  78. data/lib/random-words/words/doctor/prepositions.txt +45 -0
  79. data/lib/random-words/words/doctor/terminators.txt +16 -0
  80. data/lib/random-words/words/doctor/verbs-passive.txt +83 -0
  81. data/lib/random-words/words/doctor/verbs-plural.txt +88 -0
  82. data/lib/random-words/words/doctor/verbs-singular.txt +83 -0
  83. data/lib/random-words/words/english/clauses.txt +592 -592
  84. data/lib/random-words/words/english/config.yml +4 -0
  85. data/lib/random-words/words/english/conjunctions-coordinating.txt +20 -0
  86. data/lib/random-words/words/english/names.txt +74 -0
  87. data/lib/random-words/words/english/numbers.yml +5 -0
  88. data/lib/random-words/words/english/prepositions.txt +45 -0
  89. data/lib/random-words/words/english/terminators.txt +16 -0
  90. data/lib/random-words/words/english/verbs-plural.txt +1 -0
  91. data/lib/random-words/words/english/verbs-singular.txt +1 -0
  92. data/lib/random-words/words/foulmouth/adjectives.txt +89 -0
  93. data/lib/random-words/words/foulmouth/adverbs.txt +97 -0
  94. data/lib/random-words/words/foulmouth/articles-plural.txt +10 -0
  95. data/lib/random-words/words/foulmouth/articles-singular.txt +10 -0
  96. data/lib/random-words/words/foulmouth/clauses.txt +74 -0
  97. data/lib/random-words/words/foulmouth/config.yml +4 -0
  98. data/lib/random-words/words/foulmouth/conjunctions-coordinating.txt +20 -0
  99. data/lib/random-words/words/foulmouth/conjunctions-subordinate.txt +29 -0
  100. data/lib/random-words/words/foulmouth/names.txt +74 -0
  101. data/lib/random-words/words/foulmouth/nouns-plural.txt +96 -0
  102. data/lib/random-words/words/foulmouth/nouns-singular.txt +99 -0
  103. data/lib/random-words/words/foulmouth/numbers.yml +5 -0
  104. data/lib/random-words/words/foulmouth/prepositions.txt +35 -0
  105. data/lib/random-words/words/foulmouth/terminators.txt +16 -0
  106. data/lib/random-words/words/foulmouth/verbs-passive.txt +143 -0
  107. data/lib/random-words/words/foulmouth/verbs-plural.txt +91 -0
  108. data/lib/random-words/words/foulmouth/verbs-singular.txt +104 -0
  109. data/lib/random-words/words/hipster/adjectives.txt +100 -0
  110. data/lib/random-words/words/hipster/adverbs.txt +89 -0
  111. data/lib/random-words/words/hipster/articles-plural.txt +10 -0
  112. data/lib/random-words/words/hipster/articles-singular.txt +10 -0
  113. data/lib/random-words/words/hipster/clauses.txt +180 -0
  114. data/lib/random-words/words/hipster/config.yml +4 -0
  115. data/lib/random-words/words/hipster/conjunctions-coordinating.txt +20 -0
  116. data/lib/random-words/words/hipster/conjunctions-subordinate.txt +29 -0
  117. data/lib/random-words/words/hipster/names.txt +74 -0
  118. data/lib/random-words/words/hipster/nouns-plural.txt +96 -0
  119. data/lib/random-words/words/hipster/nouns-singular.txt +100 -0
  120. data/lib/random-words/words/hipster/numbers.yml +5 -0
  121. data/lib/random-words/words/hipster/prepositions.txt +45 -0
  122. data/lib/random-words/words/hipster/terminators.txt +16 -0
  123. data/lib/random-words/words/hipster/verbs-passive.txt +88 -0
  124. data/lib/random-words/words/hipster/verbs-plural.txt +106 -0
  125. data/lib/random-words/words/hipster/verbs-singular.txt +114 -0
  126. data/lib/random-words/words/latin/config.yml +4 -0
  127. data/lib/random-words/words/latin/conjunctions-coordinating.txt +15 -0
  128. data/lib/random-words/words/latin/names.txt +74 -0
  129. data/lib/random-words/words/latin/numbers.yml +5 -0
  130. data/lib/random-words/words/latin/prepositions.txt +18 -0
  131. data/lib/random-words/words/latin/terminators.txt +16 -0
  132. data/lib/random-words/words/spanish/adjectives.txt +81 -0
  133. data/lib/random-words/words/spanish/adverbs.txt +87 -0
  134. data/lib/random-words/words/spanish/articles-plural.txt +4 -0
  135. data/lib/random-words/words/spanish/articles-singular.txt +4 -0
  136. data/lib/random-words/words/spanish/clauses.txt +74 -0
  137. data/lib/random-words/words/spanish/config.yml +4 -0
  138. data/lib/random-words/words/spanish/conjunctions-coordinating.txt +8 -0
  139. data/lib/random-words/words/spanish/conjunctions-subordinate.txt +16 -0
  140. data/lib/random-words/words/spanish/names.txt +74 -0
  141. data/lib/random-words/words/spanish/nouns-plural.txt +92 -0
  142. data/lib/random-words/words/spanish/nouns-singular.txt +125 -0
  143. data/lib/random-words/words/spanish/numbers.yml +5 -0
  144. data/lib/random-words/words/spanish/prepositions.txt +31 -0
  145. data/lib/random-words/words/spanish/terminators.txt +17 -0
  146. data/lib/random-words/words/spanish/verbs-passive.txt +495 -0
  147. data/lib/random-words/words/spanish/verbs-plural.txt +326 -0
  148. data/lib/random-words/words/spanish/verbs-singular.txt +351 -0
  149. data/lib/random-words/words/veggie/adjectives.txt +111 -0
  150. data/lib/random-words/words/veggie/adverbs.txt +81 -0
  151. data/lib/random-words/words/veggie/articles-plural.txt +10 -0
  152. data/lib/random-words/words/veggie/articles-singular.txt +10 -0
  153. data/lib/random-words/words/veggie/clauses.txt +57 -0
  154. data/lib/random-words/words/veggie/config.yml +4 -0
  155. data/lib/random-words/words/veggie/conjunctions-coordinating.txt +20 -0
  156. data/lib/random-words/words/veggie/conjunctions-subordinate.txt +29 -0
  157. data/lib/random-words/words/veggie/names.txt +74 -0
  158. data/lib/random-words/words/veggie/nouns-plural.txt +78 -0
  159. data/lib/random-words/words/veggie/nouns-singular.txt +105 -0
  160. data/lib/random-words/words/veggie/numbers.yml +5 -0
  161. data/lib/random-words/words/veggie/prepositions.txt +45 -0
  162. data/lib/random-words/words/veggie/terminators.txt +16 -0
  163. data/lib/random-words/words/veggie/verbs-passive.txt +56 -0
  164. data/lib/random-words/words/veggie/verbs-plural.txt +79 -0
  165. data/lib/random-words/words/veggie/verbs-singular.txt +79 -0
  166. data/lib/random-words.rb +28 -0
  167. data/random-words.gemspec +3 -1
  168. data/src/_README.md +153 -4
  169. metadata +168 -7
  170. data/lib/random-words/words/bacon/numbers.txt +0 -21
  171. data/lib/random-words/words/corporate/numbers.txt +0 -21
  172. data/lib/random-words/words/english/numbers.txt +0 -21
  173. data/lib/random-words/words/latin/numbers.txt +0 -21
@@ -0,0 +1,10 @@
1
+ a
2
+ an
3
+ the
4
+ each
5
+ every
6
+ neither
7
+ any
8
+ one
9
+ this
10
+ that
@@ -0,0 +1,81 @@
1
+ as she grows larger after drinking the potion.
2
+ as she navigates through the garden.
3
+ as she reflects on her childhood.
4
+ as she shares her adventures with the gryphon.
5
+ as she wonders about the curious world.
6
+ because she celebrates her uniqueness.
7
+ because she discovers her inner strength.
8
+ because she engages with the other characters.
9
+ because she enjoys the absurdity of the situation.
10
+ because she feels a sense of wonder.
11
+ because she feels confused and curious.
12
+ because she finds herself in a peculiar trial.
13
+ because she finds joy in the unexpected.
14
+ because she finds meaning in her adventures.
15
+ because she learns from her mistakes.
16
+ because she learns to appreciate the absurd.
17
+ because she realizes the significance of her journey.
18
+ because she seeks to understand her identity.
19
+ because she understands the value of curiosity.
20
+ because she understands the value of friendship.
21
+ because she values the lessons learned.
22
+ because she's confused by their logic.'
23
+ because she's curious about the mad hatter.
24
+ because she's not afraid to ask questions.
25
+ because the cheshire cat appears and disappears.
26
+ because the duchess is nursing her baby.
27
+ because the hatter offers her tea.
28
+ if she appreciates the whimsical nature of life.
29
+ if she considers the lessons learned.
30
+ if she could find her way back.
31
+ if she embraces her curious nature.
32
+ if she embraces the journey of self-discovery.
33
+ if she embraces the magic of childhood.
34
+ if she embraces the power of imagination.
35
+ if she experiences a sense of adventure.
36
+ if she finds beauty in chaos.
37
+ if she finds comfort in her imagination.
38
+ if she learns to adapt to her surroundings.
39
+ if she learns to embrace her imagination.
40
+ if she learns to find joy in the journey.
41
+ if she reflects on her past experiences.
42
+ if she reflects on her strange experiences.
43
+ if she seeks to understand her surroundings.
44
+ if she seeks to understand the rules of the game.
45
+ if she takes a moment to think.
46
+ if she tries to make sense of the trial.
47
+ if she tries to remember her lessons.
48
+ if she tries to understand the rules.
49
+ if she wishes to return home.
50
+ when Alice falls down the rabbit-hole.
51
+ when she connects with the characters on a deeper level.
52
+ when she contemplates her adventures.
53
+ when she contemplates the meaning of life.
54
+ when she discovers the talking animals.
55
+ when she discovers the truth about the queen.
56
+ when she embraces the magic of childhood.
57
+ when she encounters the caterpillar.
58
+ when she encounters unusual characters.
59
+ when she feels a sense of belonging.
60
+ when she feels empowered to speak out.
61
+ when she feels like she's changing sizes.'
62
+ when she learns about the lobster quadrille.
63
+ when she learns to navigate uncertainty.
64
+ when she learns to trust herself.
65
+ when she listens to the stories of the characters.
66
+ when she meets the march hare.
67
+ when she meets the queen of hearts.
68
+ when she navigates the complexities of wonderland.
69
+ when she realizes she's lost.
70
+ when she realizes the importance of self-acceptance.
71
+ when she reflects on the importance of friendship.
72
+ when she reflects on the lessons of wonderland.
73
+ when she returns home with newfound wisdom.
74
+ when she runs after the white rabbit.
75
+ when she tries to navigate the chaos.
76
+ while she engages in the croquet game.
77
+ while she listens to the mock turtle's story.
78
+ while she listens to the nonsensical riddles.
79
+ while she meets the white rabbit.
80
+ while she observes the card soldiers.
81
+ while she tries to fit in with the crowd.
@@ -0,0 +1,4 @@
1
+ ---
2
+ name: alice
3
+ description: Alice in Wonderland
4
+ triggers: [alice,madhatter,wonderland]
@@ -0,0 +1,20 @@
1
+ and
2
+ but
3
+ or
4
+ nor
5
+ for
6
+ so
7
+ yet
8
+ although
9
+ because
10
+ since
11
+ unless
12
+ while
13
+ whereas
14
+ if
15
+ even though
16
+ as
17
+ before
18
+ after
19
+ until
20
+ whether
@@ -0,0 +1,29 @@
1
+ although
2
+ as
3
+ as far as
4
+ as if
5
+ as long as
6
+ as much as
7
+ as though
8
+ because
9
+ before
10
+ even if
11
+ even though
12
+ if
13
+ in case
14
+ in order that
15
+ once
16
+ provided that
17
+ rather than
18
+ since
19
+ so that
20
+ than
21
+ that
22
+ though
23
+ until
24
+ when
25
+ whenever
26
+ where
27
+ wherever
28
+ whether
29
+ while
@@ -0,0 +1,74 @@
1
+ John
2
+ Jane
3
+ Mary
4
+ Michael
5
+ Sarah
6
+ David
7
+ Emily
8
+ James
9
+ Jessica
10
+ Robert
11
+ Linda
12
+ William
13
+ Patricia
14
+ Brett
15
+ Ashley
16
+ Matthew
17
+ Jennifer
18
+ Yasmin
19
+
20
+ Smith
21
+ Johnson
22
+ Williams
23
+ Brown
24
+ Jones
25
+ Garcia
26
+ Miller
27
+ Davis
28
+ Rodriguez
29
+ Martinez
30
+ Hernandez
31
+ Lopez
32
+ Gonzalez
33
+ Wilson
34
+ Anderson
35
+ Taylor
36
+ Thomas
37
+ Moore
38
+ Jackson
39
+ Martin
40
+ Lee
41
+ Perez
42
+ Thompson
43
+ White
44
+ Harris
45
+ Sanchez
46
+ Clark
47
+ Ramirez
48
+ Lewis
49
+ Robinson
50
+ Walker
51
+ Young
52
+ Allen
53
+ King
54
+ Wright
55
+ Scott
56
+ Torres
57
+ Nguyen
58
+ Hill
59
+ Flores
60
+ Green
61
+ Adams
62
+ Nelson
63
+ Baker
64
+ Hall
65
+ Rivera
66
+ Campbell
67
+ Mitchell
68
+ Carter
69
+ Roberts
70
+ Gomez
71
+ Phillips
72
+ Evans
73
+ Turner
74
+ Diaz
@@ -0,0 +1,95 @@
1
+ adventures
2
+ arms
3
+ authors
4
+ babies
5
+ bats
6
+ beasts
7
+ books
8
+ bookshelves
9
+ caterpillars
10
+ cats
11
+ characters
12
+ charges
13
+ children
14
+ classics
15
+ clocks
16
+ clubs
17
+ comfits
18
+ conversations
19
+ cooks
20
+ courses
21
+ cups
22
+ days
23
+ dishes
24
+ doors
25
+ dreams
26
+ duchesses
27
+ ducks
28
+ eagles
29
+ ears
30
+ executions
31
+ faces
32
+ fingers
33
+ fish
34
+ flowers
35
+ footmen
36
+ friends
37
+ games
38
+ gardens
39
+ gloves
40
+ grins
41
+ heads
42
+ hedgehogs
43
+ histories
44
+ hobs
45
+ hurry
46
+ hymns
47
+ ideas
48
+ immortals
49
+ inches
50
+ inquiries
51
+ invitations
52
+ judges
53
+ kings
54
+ kittens
55
+ lambs
56
+ lands
57
+ laws
58
+ lessons
59
+ lions
60
+ mice
61
+ mushrooms
62
+ names
63
+ noses
64
+ notes
65
+ occasions
66
+ presents
67
+ princes
68
+ questions
69
+ rabbits
70
+ riddles
71
+ rooms
72
+ rules
73
+ saucepans
74
+ senses
75
+ sights
76
+ sisters
77
+ soldiers
78
+ songs
79
+ speeches
80
+ spoons
81
+ stories
82
+ subjects
83
+ tables
84
+ tails
85
+ teas
86
+ teacups
87
+ thoughts
88
+ turtles
89
+ twelve
90
+ twitches
91
+ votes
92
+ wonders
93
+ wonders
94
+ worlds
95
+ writings
@@ -0,0 +1,82 @@
1
+ Alice
2
+ antipathies
3
+ April
4
+ arms
5
+ Aunt
6
+ Baker
7
+ Bank
8
+ Bat
9
+ beard
10
+ beast
11
+ book
12
+ bottle
13
+ bread
14
+ butter
15
+ Caterpillar
16
+ Cheshire Cat
17
+ Clock
18
+ Cook
19
+ Crown
20
+ curiosity
21
+ Daisy
22
+ Duchess
23
+ Duck
24
+ Eaglet
25
+ earth
26
+ Executioner
27
+ eye
28
+ Fan
29
+ field
30
+ Fish
31
+ flower
32
+ foot
33
+ galley
34
+ Gryphon
35
+ hair
36
+ hare
37
+ hat
38
+ Hatter
39
+ head
40
+ Queen of Hearts
41
+ hedge
42
+ Hedgehog
43
+ house
44
+ King
45
+ Kitten
46
+ Length
47
+ Lizard
48
+ Mad Hatter
49
+ March
50
+ Mouse
51
+ muffin
52
+ murmur
53
+ Night
54
+ nonsense
55
+ number
56
+ Owl
57
+ Paper
58
+ Pepper
59
+ Queen
60
+ Rabbit
61
+ Riddle
62
+ Road
63
+ Rules
64
+ Sea
65
+ Seashell
66
+ Sister
67
+ Soup
68
+ Spoon
69
+ Squirrel
70
+ Tarts
71
+ Telescope
72
+ Teacup
73
+ Thimble
74
+ Thought
75
+ Time
76
+ Turtle
77
+ Twilight
78
+ well
79
+ window
80
+ word
81
+ Worm
82
+ White Rabbit
@@ -0,0 +1,5 @@
1
+ ---
2
+ digits: zero one two three four five six seven eight nine
3
+ teens: ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen
4
+ tens: twenty thirty forty fifty sixty seventy eighty ninety
5
+ places: one ten hundred thousand million billion trillion
@@ -0,0 +1,45 @@
1
+ about
2
+ above
3
+ across
4
+ after
5
+ against
6
+ along
7
+ among
8
+ around
9
+ at
10
+ before
11
+ behind
12
+ below
13
+ beneath
14
+ beside
15
+ between
16
+ beyond
17
+ by
18
+ despite
19
+ down
20
+ during
21
+ except
22
+ for
23
+ from
24
+ in
25
+ inside
26
+ into
27
+ like
28
+ near
29
+ of
30
+ off
31
+ on
32
+ onto
33
+ out
34
+ outside
35
+ over
36
+ through
37
+ to
38
+ toward
39
+ under
40
+ until
41
+ up
42
+ upon
43
+ with
44
+ within
45
+ without
@@ -0,0 +1,16 @@
1
+ ,.
2
+ ,.
3
+ ,.
4
+ ,.
5
+ ,.
6
+ ,.
7
+ ,?
8
+ ,?
9
+ ,?
10
+ ,!
11
+ ,!
12
+ ,!
13
+
14
+ ",."
15
+ ',.'
16
+ (,.)