Skip to content

Commit 24666ea

Browse files
committed
Add a bunch of animals.
This helps increase the variety. Names pulled from https://en.wikipedia.org/wiki/List_of_animal_names.
1 parent bd78b23 commit 24666ea

File tree

3 files changed

+79
-3
lines changed

3 files changed

+79
-3
lines changed

src/nouns.txt

Lines changed: 77 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,28 @@ aardvark
22
addax
33
albatross
44
alligator
5+
alpaca
56
anaconda
67
angelfish
78
anteater
89
antelope
910
ant
11+
ape
1012
armadillo
13+
baboon
1114
badger
15+
barracuda
1216
bat
1317
batfish
1418
bear
19+
beaver
1520
bee
1621
beetle
1722
bird
1823
bison
1924
boar
2025
booby
26+
buffalo
2127
bug
2228
butterfly
2329
buzzard
@@ -28,8 +34,11 @@ capybara
2834
caracal
2935
cardinal
3036
caribou
37+
cassowary
3138
cat
39+
caterpillar
3240
centipede
41+
chamois
3342
cheetah
3443
chicken
3544
chimpanzee
@@ -38,6 +47,8 @@ chipmunk
3847
cicada
3948
civet
4049
cobra
50+
cockroach
51+
cod
4152
constrictor
4253
copperhead
4354
cormorant
@@ -47,64 +58,87 @@ cowfish
4758
cow
4859
coyote
4960
crab
61+
crane
5062
crayfish
5163
crocodile
5264
crossbill
5365
curlew
5466
deer
5567
dingo
5668
dog
69+
dogfish
5770
dolphin
71+
donkey
5872
dormouse
73+
dotterel
5974
dove
6075
dragonfly
6176
duck
77+
dugong
78+
dunlin
6279
eagle
6380
earthworm
81+
echidna
6482
eel
83+
eland
6584
elephant
6685
elk
6786
emu
87+
falcon
88+
ferret
6889
finch
6990
fish
7091
flamingo
7192
flatworm
93+
fly
7294
fowl
7395
fox
7496
frog
7597
gannet
98+
gaur
7699
gazelle
77100
gecko
78101
gemsbok
79102
gentoo
103+
gerbil
80104
gerenuk
81105
gharial
82106
gibbon
83107
giraffe
108+
gnat
109+
gnu
84110
goat
111+
goldfinch
112+
goosander
85113
goose
86114
gorilla
115+
goshawk
87116
grasshopper
88117
grebe
89118
grivet
119+
grouse
120+
guanaco
90121
gull
91122
hamerkop
92123
hamster
93124
hare
94125
hawk
95126
hedgehog
96127
heron
128+
herring
97129
hippopotamus
98130
hoopoe
99131
hornet
100132
horse
133+
hummingbird
101134
hyena
102135
ibex
103136
ibis
104137
iguana
105138
impala
106139
jackal
107140
jaguar
141+
jay
108142
jellyfish
109143
kangaroo
110144
katipo
@@ -115,32 +149,49 @@ kinkajou
115149
kitten
116150
koala
117151
kookaburra
152+
kouprey
153+
kudu
118154
ladybird
155+
lapwing
156+
lark
119157
lemur
120158
leopard
121159
lion
122160
lizard
123161
llama
162+
lobster
163+
locust
124164
loris
165+
louse
125166
lynx
167+
lyrebird
126168
macaque
127169
macaw
170+
magpie
171+
mallard
128172
mamba
129173
manatee
174+
mandrill
130175
mantis
131176
manx
132177
markhor
133178
marten
134179
meerkat
135180
millipede
181+
mink
136182
mockingbird
137183
mole
184+
mongoose
138185
monkey
139186
moose
187+
mosquito
140188
moth
141189
mouse
190+
narwhal
142191
newt
192+
nightingale
143193
ocelot
194+
octopus
144195
okapi
145196
opossum
146197
orangutan
@@ -150,8 +201,10 @@ ostrich
150201
otter
151202
owl
152203
ox
204+
oyster
153205
oystercatcher
154206
panda
207+
panther
155208
parrot
156209
partridge
157210
peacock
@@ -162,27 +215,39 @@ penguin
162215
petrel
163216
pheasant
164217
pig
218+
pigeon
165219
pintail
166220
piranha
167221
platypus
168222
plover
169223
polecat
170224
pollan
225+
pony
171226
porcupine
172227
porpoise
173228
puffin
174229
puma
175230
pygmy
176231
quagga
232+
quail
233+
quelea
234+
quetzal
177235
quoll
178236
rabbit
179-
racoon
237+
raccoon
180238
rat
181239
ratel
182240
rattlesnake
241+
raven
183242
ray
243+
reindeer
184244
rhinoceros
245+
rook
185246
sable
247+
salamander
248+
salmon
249+
sandpiper
250+
sardine
186251
scarab
187252
seahorse
188253
seal
@@ -193,19 +258,25 @@ shrew
193258
shrike
194259
skimmer
195260
skipper
261+
skunk
196262
skylark
197263
sloth
264+
snail
198265
snake
199266
spider
200267
squirrel
201268
stag
269+
starling
202270
stoat
203271
stork
272+
swan
204273
swiftlet
205274
tamarin
206275
tapir
207276
tarantula
277+
tarsier
208278
teira
279+
termite
209280
tern
210281
thrush
211282
tiger
@@ -214,12 +285,15 @@ tortoise
214285
toucan
215286
trout
216287
tuatara
288+
turkey
217289
turtle
218290
unicorn
219291
vendace
292+
vicuña
220293
vole
221294
vulture
222295
wallaby
296+
walrus
223297
warbler
224298
wasp
225299
weasel
@@ -231,7 +305,9 @@ wolf
231305
wolverine
232306
wombat
233307
worm
308+
wren
234309
wryneck
235310
xenomorph
236311
yacare
312+
yak
237313
zebra

tests/AllTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ public function getNameForced()
4747
$randomizer = new Randomizer($numberGenerator);
4848

4949
$generator = new All([new Alliteration($randomizer)]);
50-
$this->assertSame('Black Beetle', $generator->getName());
50+
$this->assertSame('Black Bear', $generator->getName());
5151
}
5252
}

tests/AlliterationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ public function getNameForced()
4343
$randomizer = new Randomizer($numberGenerator);
4444

4545
$generator = new Alliteration($randomizer);
46-
$this->assertSame('Black Beetle', $generator->getName());
46+
$this->assertSame('Black Bear', $generator->getName());
4747
}
4848
}

0 commit comments

Comments
 (0)