-
Notifications
You must be signed in to change notification settings - Fork 12
/
words.ts
662 lines (656 loc) · 31.6 KB
/
words.ts
1
2
3
4
5
6
7
8
9
10
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
export type PartsOfSpeech = keyof typeof wordList;
export const wordList = {
noun: [
{ word: "accountant", categories: ["profession"] },
{ word: "ability", categories: ["thing"] },
{ word: "accident", categories: ["thing"] },
{ word: "account", categories: ["thing"] },
{ word: "action", categories: ["thing"] },
{ word: "activity", categories: ["thing"] },
{ word: "actor", categories: ["profession"] },
{ word: "ad", categories: ["media"] },
{ word: "addition", categories: ["thing"] },
{ word: "address", categories: ["thing"] },
{ word: "adult", categories: ["people"] },
{ word: "advantage", categories: ["thing"] },
{ word: "advertisement", categories: ["media"] },
{ word: "afternoon", categories: ["time"] },
{ word: "agency", categories: ["thing"] },
{ word: "agent", categories: ["people"] },
{ word: "air", categories: ["thing"] },
{ word: "airline", categories: ["transportation"] },
{ word: "airplane", categories: ["transportation"] },
{ word: "airport", categories: ["transportation", "place"] },
{ word: "alarm", categories: ["thing"] },
{ word: "alligator", categories: ["animals"] },
{ word: "ambulance", categories: ["health"] },
{ word: "analyst", categories: ["profession"] },
{ word: "angle", categories: ["thing"] },
{ word: "animal", categories: ["animals"] },
{ word: "answer", categories: ["thing"] },
{ word: "apartment", categories: ["place"] },
{ word: "apple", categories: ["food"] },
{ word: "application", categories: ["thing"] },
{ word: "appointment", categories: ["thing"] },
{ word: "architect", categories: ["profession"] },
{ word: "argument", categories: ["thing"] },
{ word: "area", categories: ["thing"] },
{ word: "arm", categories: ["thing"] },
{ word: "army", categories: ["thing"] },
{ word: "art", categories: ["thing"] },
{ word: "article", categories: ["thing"] },
{ word: "artist", categories: ["profession"] },
{ word: "australia", categories: ["place"] },
{ word: "author", categories: ["profession"] },
{ word: "autumn", categories: ["time"] },
{ word: "baby", categories: ["people", "family"] },
{ word: "baker", categories: ["profession"] },
{ word: "balloon", categories: ["thing"] },
{ word: "banana", categories: ["food"] },
{ word: "barista", categories: ["profession"] },
{ word: "battery", categories: ["thing"] },
{ word: "beach", categories: ["place"] },
{ word: "bear", categories: ["animals"] },
{ word: "beard", categories: ["thing"] },
{ word: "bed", categories: ["thing"] },
{ word: "belgium", categories: ["place"] },
{ word: "bird", categories: ["animals"] },
{ word: "bit", categories: ["thing", "technology"] },
{ word: "book", categories: ["thing", "education"] },
{ word: "boots", categories: ["thing"] },
{ word: "boy", categories: ["people"] },
{ word: "branch", categories: ["thing"] },
{ word: "breakfast", categories: ["thing"] },
{ word: "brother", categories: ["family"] },
{ word: "businessperson", categories: ["people", "business"] },
{ word: "butcher", categories: ["profession"] },
{ word: "byte", categories: ["thing", "technology"] },
{ word: "camera", categories: ["thing"] },
{ word: "candle", categories: ["thing"] },
{ word: "car", categories: ["transportation"] },
{ word: "caravan", categories: ["transportation"] },
{ word: "carpenter", categories: ["profession"] },
{ word: "carpet", categories: ["thing"] },
{ word: "cartoon", categories: ["media"] },
{ word: "cat", categories: ["animals"] },
{ word: "chef", categories: ["profession"] },
{ word: "child", categories: ["people", "family"] },
{ word: "china", categories: ["place"] },
{ word: "church", categories: ["religion"] },
{ word: "city", categories: ["place"] },
{ word: "coat", categories: ["thing"] },
{ word: "coffeeshop", categories: ["place"] },
{ word: "computer", categories: ["thing", "technology"] },
{ word: "continent", categories: ["place"] },
{ word: "controller", categories: ["thing", "technology"] },
{ word: "country", categories: ["place"] },
{ word: "cpu", categories: ["thing", "technology"] },
{ word: "crayon", categories: ["thing"] },
{ word: "cricket", categories: ["animals"] },
{ word: "crowd", categories: ["people"] },
{ word: "daughter", categories: ["family"] },
{ word: "dawn", categories: ["time"] },
{ word: "daybreak", categories: ["time"] },
{ word: "death", categories: ["thing"] },
{ word: "denmark", categories: ["place"] },
{ word: "dentist", categories: ["profession"] },
{ word: "diamond", categories: ["thing"] },
{ word: "dinner", categories: ["food"] },
{ word: "disease", categories: ["thing"] },
{ word: "doctor", categories: ["profession"] },
{ word: "dog", categories: ["animals"] },
{ word: "dream", categories: ["thing"] },
{ word: "dress", categories: ["thing"] },
{ word: "dusk", categories: ["time"] },
{ word: "easter", categories: ["religion"] },
{ word: "egg", categories: ["food"] },
{ word: "eggplant", categories: ["food"] },
{ word: "egypt", categories: ["place"] },
{ word: "electrician", categories: ["profession"] },
{ word: "elephant", categories: ["animals"] },
{ word: "energy", categories: ["thing"] },
{ word: "engine", categories: ["transportation"] },
{ word: "engineer", categories: ["profession"] },
{ word: "england", categories: ["place"] },
{ word: "eve", categories: ["time"] },
{ word: "evening", categories: ["time"] },
{ word: "eventide", categories: ["time"] },
{ word: "exabyte", categories: ["thing", "technology"] },
{ word: "eye", categories: ["thing"] },
{ word: "fall", categories: ["time"] },
{ word: "family", categories: ["family"] },
{ word: "farmer", categories: ["profession"] },
{ word: "father", categories: ["people", "family"] },
{ word: "finland", categories: ["place"] },
{ word: "fireman", categories: ["profession"] },
{ word: "fish", categories: ["animals"] },
{ word: "flag", categories: ["thing"] },
{ word: "florist", categories: ["profession"] },
{ word: "flower", categories: ["thing"] },
{ word: "football", categories: ["sports"] },
{ word: "forest", categories: ["place"] },
{ word: "fountain", categories: ["thing"] },
{ word: "france", categories: ["place"] },
{ word: "furniture", categories: ["thing"] },
{ word: "garage", categories: ["place"] },
{ word: "garden", categories: ["food"] },
{ word: "gas", categories: ["transportation"] },
{ word: "ghost", categories: ["thing"] },
{ word: "gigabyte", categories: ["thing", "technology"] },
{ word: "girl", categories: ["people"] },
{ word: "glass", categories: ["thing"] },
{ word: "gold", categories: ["thing"] },
{ word: "gpu", categories: ["thing", "technology"] },
{ word: "grandmother", categories: ["people", "family"] },
{ word: "grass", categories: ["thing"] },
{ word: "greece", categories: ["place"] },
{ word: "guitar", categories: ["thing"] },
{ word: "hair", categories: ["thing"] },
{ word: "hairdresser", categories: ["profession"] },
{ word: "hamburger", categories: ["food"] },
{ word: "helicopter", categories: ["transportation"] },
{ word: "helmet", categories: ["thing"] },
{ word: "holiday", categories: ["thing"] },
{ word: "honey", categories: ["food"] },
{ word: "horse", categories: ["animals"] },
{ word: "hospital", categories: ["place"] },
{ word: "house", categories: ["place"] },
{ word: "hydrogen", categories: ["science"] },
{ word: "ice", categories: ["science"] },
{ word: "insect", categories: ["animals"] },
{ word: "insurance", categories: ["thing"] },
{ word: "intern", categories: ["profession"] },
{ word: "iron", categories: ["science"] },
{ word: "island", categories: ["place"] },
{ word: "jackal", categories: ["animals"] },
{ word: "jelly", categories: ["food"] },
{ word: "jewellery", categories: ["thing"] },
{ word: "jordan", categories: ["place"] },
{ word: "journalist", categories: ["profession"] },
{ word: "joystick", categories: ["thing", "technology"] },
{ word: "judge", categories: ["profession"] },
{ word: "juice", categories: ["food"] },
{ word: "kangaroo", categories: ["animals"] },
{ word: "keyboard", categories: ["thing", "technology"] },
{ word: "kilobyte", categories: ["thing", "technology"] },
{ word: "king", categories: ["people"] },
{ word: "kitchen", categories: ["place"] },
{ word: "kite", categories: ["thing"] },
{ word: "knife", categories: ["thing"] },
{ word: "lamp", categories: ["thing"] },
{ word: "laptop", categories: ["thing", "technology"] },
{ word: "lawyer", categories: ["profession"] },
{ word: "leather", categories: ["thing"] },
{ word: "librarian", categories: ["profession"] },
{ word: "library", categories: ["place"] },
{ word: "lifeguard", categories: ["profession"] },
{ word: "lighter", categories: ["thing"] },
{ word: "lion", categories: ["animals"] },
{ word: "lizard", categories: ["animals"] },
{ word: "lock", categories: ["thing"] },
{ word: "london", categories: ["place"] },
{ word: "lunch", categories: ["food"] },
{ word: "machine", categories: ["science"] },
{ word: "magazine", categories: ["media"] },
{ word: "magician", categories: ["people"] },
{ word: "man", categories: ["people"] },
{ word: "manchester", categories: ["place"] },
{ word: "market", categories: ["place"] },
{ word: "match", categories: ["thing"] },
{ word: "mechanic", categories: ["profession"] },
{ word: "megabyte", categories: ["thing", "technology"] },
{ word: "memory", categories: ["thing", "technology"] },
{ word: "microphone", categories: ["thing"] },
{ word: "midnight", categories: ["time"] },
{ word: "minister", categories: ["people", "religion"] },
{ word: "monitor", categories: ["thing", "technology"] },
{ word: "monkey", categories: ["animals"] },
{ word: "morn", categories: ["time"] },
{ word: "morning", categories: ["time"] },
{ word: "mother", categories: ["people", "family"] },
{ word: "motherboard", categories: ["thing", "technology"] },
{ word: "motorcycle", categories: ["transportation"] },
{ word: "mouse", categories: ["thing", "technology", "animals"] },
{ word: "musician", categories: ["profession"] },
{ word: "nail", categories: ["thing"] },
{ word: "napkin", categories: ["thing"] },
{ word: "needle", categories: ["thing"] },
{ word: "nest", categories: ["thing"] },
{ word: "nigeria", categories: ["place"] },
{ word: "night", categories: ["time"] },
{ word: "nightfall", categories: ["time"] },
{ word: "noon", categories: ["time"] },
{ word: "notebook", categories: ["thing"] },
{ word: "nurse", categories: ["profession"] },
{ word: "ocean", categories: ["place"] },
{ word: "oil", categories: ["thing"] },
{ word: "optician", categories: ["profession"] },
{ word: "orange", categories: ["food"] },
{ word: "oxygen", categories: ["science"] },
{ word: "oyster", categories: ["animals"] },
{ word: "pager", categories: ["thing", "technology"] },
{ word: "painter", categories: ["profession"] },
{ word: "painting", categories: ["media"] },
{ word: "park", categories: ["place"] },
{ word: "parrot", categories: ["animals"] },
{ word: "pencil", categories: ["thing", "education"] },
{ word: "petabyte", categories: ["thing", "technology"] },
{ word: "pharmacist", categories: ["profession"] },
{ word: "photographer", categories: ["profession"] },
{ word: "piano", categories: ["thing"] },
{ word: "pillow", categories: ["thing"] },
{ word: "pilot", categories: ["profession"] },
{ word: "pizza", categories: ["food"] },
{ word: "planet", categories: ["science"] },
{ word: "plastic", categories: ["thing"] },
{ word: "plumber", categories: ["profession"] },
{ word: "policeman", categories: ["profession"] },
{ word: "portugal", categories: ["place"] },
{ word: "postman", categories: ["profession"] },
{ word: "potato", categories: ["food"] },
{ word: "printer", categories: ["thing", "technology"] },
{ word: "processor", categories: ["thing", "technology"] },
{ word: "psychiatrist", categories: ["profession"] },
{ word: "queen", categories: ["people"] },
{ word: "quill", categories: ["thing"] },
{ word: "rain", categories: ["thing"] },
{ word: "rainbow", categories: ["science"] },
{ word: "raincoat", categories: ["thing"] },
{ word: "ram", categories: ["thing", "technology"] },
{ word: "receptionist", categories: ["profession"] },
{ word: "refrigerator", categories: ["food"] },
{ word: "restaurant", categories: ["place"] },
{ word: "river", categories: ["thing"] },
{ word: "rocket", categories: ["science"] },
{ word: "room", categories: ["place"] },
{ word: "rose", categories: ["thing"] },
{ word: "russia", categories: ["place"] },
{ word: "salesclerk", categories: ["people", "business"] },
{ word: "salesmen", categories: ["profession"] },
{ word: "sandwich", categories: ["food"] },
{ word: "school", categories: ["education"] },
{ word: "scientist", categories: ["profession"] },
{ word: "scooter", categories: ["transportation"] },
{ word: "secretary", categories: ["profession"] },
{ word: "shampoo", categories: ["thing"] },
{ word: "shoe", categories: ["thing"] },
{ word: "smartphone", categories: ["thing", "technology"] },
{ word: "soccer", categories: ["sports"] },
{ word: "solstice", categories: ["time"] },
{ word: "spoon", categories: ["thing"] },
{ word: "spring", categories: ["time"] },
{ word: "state", categories: ["place"] },
{ word: "stone", categories: ["thing"] },
{ word: "student", categories: ["people", "education"] },
{ word: "sugar", categories: ["food"] },
{ word: "summer", categories: ["time"] },
{ word: "sundown", categories: ["time"] },
{ word: "sunset", categories: ["time"] },
{ word: "sweden", categories: ["place"] },
{ word: "table", categories: ["thing"] },
{ word: "tailor", categories: ["profession"] },
{ word: "teacher", categories: ["people", "education", "profession"] },
{ word: "teenager", categories: ["people", "family"] },
{ word: "telephone", categories: ["thing"] },
{ word: "television", categories: ["media"] },
{ word: "tent", categories: ["thing"] },
{ word: "terabyte", categories: ["thing", "technology"] },
{ word: "thailand", categories: ["place"] },
{ word: "tiger", categories: ["animals"] },
{ word: "toddler", categories: ["people", "family"] },
{ word: "tomato", categories: ["food"] },
{ word: "toothbrush", categories: ["thing"] },
{ word: "traffic", categories: ["thing"] },
{ word: "train", categories: ["transportation"] },
{ word: "translator", categories: ["profession"] },
{ word: "truck", categories: ["thing", "transportation"] },
{ word: "twilight", categories: ["time"] },
{ word: "uganda", categories: ["place"] },
{ word: "umbrella", categories: ["thing"] },
{ word: "van", categories: ["transportation"] },
{ word: "vase", categories: ["thing"] },
{ word: "vegetable", categories: ["food"] },
{ word: "vr", categories: ["thing", "technology"] },
{ word: "vulture", categories: ["animals"] },
{ word: "waiter", categories: ["profession"] },
{ word: "waitress", categories: ["profession"] },
{ word: "wall", categories: ["thing"] },
{ word: "whale", categories: ["animals"] },
{ word: "window", categories: ["thing"] },
{ word: "winter", categories: ["time"] },
{ word: "wire", categories: ["thing"] },
{ word: "wolf", categories: ["animals"] },
{ word: "woman", categories: ["people"] },
{ word: "xylophone", categories: ["thing"] },
{ word: "yacht", categories: ["transportation"] },
{ word: "yak", categories: ["animals"] },
{ word: "yottabyte", categories: ["thing", "technology"] },
{ word: "zebra", categories: ["animals"] },
{ word: "zettabyte", categories: ["thing", "technology"] },
{ word: "zoo", categories: ["animals"] },
] as const,
adjective: [
{ word: "abandoned", categories: ["condition"] },
{ word: "abiding", categories: ["personality"] },
{ word: "able", categories: ["condition"] },
{ word: "abrasive", categories: ["condition", "personality"] },
{ word: "abnormal", categories: ["condition"] },
{ word: "absurd", categories: ["condition"] },
{ word: "abundant", categories: ["quantity"] },
{ word: "acceptable", categories: ["condition"] },
{ word: "acidic", categories: ["taste"] },
{ word: "acoustic", categories: ["sounds"] },
{ word: "acrid", categories: ["condition"] },
{ word: "adamant", categories: ["personality"] },
{ word: "adorable", categories: ["personality"] },
{ word: "adventurous", categories: ["personality"] },
{ word: "aggressive", categories: ["personality"] },
{ word: "agitated", categories: ["personality"] },
{ word: "agreeable", categories: ["personality"] },
{ word: "alert", categories: ["condition"] },
{ word: "alive", categories: ["condition"] },
{ word: "aloof", categories: ["personality"] },
{ word: "ambitious", categories: ["personality"] },
{ word: "ancient", categories: ["time"] },
{ word: "angry", categories: ["personality"] },
{ word: "annoyed", categories: ["personality"] },
{ word: "antsy", categories: ["personality"] },
{ word: "anxious", categories: ["personality"] },
{ word: "appalling", categories: ["personality"] },
{ word: "appetizing", categories: ["taste"] },
{ word: "apprehensive", categories: ["personality"] },
{ word: "arrogant", categories: ["personality"] },
{ word: "ashamed", categories: ["personality"] },
{ word: "astonishing", categories: ["personality"] },
{ word: "attractive", categories: ["appearance"] },
{ word: "average", categories: ["appearance"] },
{ word: "bad", categories: ["condition"] },
{ word: "bald", categories: ["appearance"] },
{ word: "bashful", categories: ["personality"] },
{ word: "beautiful", categories: ["appearance"] },
{ word: "beefy", categories: ["appearance"] },
{ word: "belligerent", categories: ["personality"] },
{ word: "bent", categories: ["condition"] },
{ word: "best", categories: ["condition"] },
{ word: "better", categories: ["condition"] },
{ word: "bewildered", categories: ["personality"] },
{ word: "big", categories: ["size"] },
{ word: "billions", categories: ["quantity"] },
{ word: "billowy", categories: ["appearance"] },
{ word: "bitter", categories: ["taste"] },
{ word: "black", categories: ["color"] },
{ word: "bland", categories: ["taste"] },
{ word: "blue", categories: ["color"] },
{ word: "blushing", categories: ["appearance"] },
{ word: "bored", categories: ["personality"] },
{ word: "boring", categories: ["personality"] },
{ word: "boundless", categories: ["personality"] },
{ word: "brainy", categories: ["personality"] },
{ word: "brash", categories: ["personality"] },
{ word: "brave", categories: ["personality"] },
{ word: "breezy", categories: ["touch"] },
{ word: "brief", categories: ["time"] },
{ word: "bright", categories: ["appearance"] },
{ word: "broad", categories: ["shapes"] },
{ word: "broken", categories: ["condition"] },
{ word: "brown", categories: ["color"] },
{ word: "bulky", categories: ["appearance"] },
{ word: "bumpy", categories: ["touch"] },
{ word: "burly", categories: ["appearance"] },
{ word: "busy", categories: ["personality"] },
{ word: "cagey", categories: ["personality"] },
{ word: "calm", categories: ["personality"] },
{ word: "callous", categories: ["personality"] },
{ word: "careful", categories: ["condition"] },
{ word: "chilly", categories: ["touch"] },
{ word: "chubby", categories: ["appearance"] },
{ word: "clean", categories: ["appearance"] },
{ word: "clever", categories: ["condition"] },
{ word: "clumsy", categories: ["personality"] },
{ word: "cold", categories: ["touch"] },
{ word: "colossal", categories: ["size"] },
{ word: "cool", categories: ["touch"] },
{ word: "crashing", categories: ["sounds"] },
{ word: "creamy", categories: ["taste"] },
{ word: "crooked", categories: ["shapes"] },
{ word: "cuddly", categories: ["touch"] },
{ word: "curved", categories: ["shapes"] },
{ word: "damaged", categories: ["touch"] },
{ word: "damp", categories: ["touch"] },
{ word: "dazzling", categories: ["appearance"] },
{ word: "dead", categories: ["condition"] },
{ word: "deafening", categories: ["sounds"] },
{ word: "deep", categories: ["shapes"] },
{ word: "defeated", categories: ["personality"] },
{ word: "delicious", categories: ["taste"] },
{ word: "delightful", categories: ["personality"] },
{ word: "dirty", categories: ["touch"] },
{ word: "disgusting", categories: ["taste"] },
{ word: "drab", categories: ["appearance"] },
{ word: "dry", categories: ["touch"] },
{ word: "eager", categories: ["personality"] },
{ word: "early", categories: ["time"] },
{ word: "easy", categories: ["condition"] },
{ word: "echoing", categories: ["sounds"] },
{ word: "elegant", categories: ["appearance"] },
{ word: "embarrassed", categories: ["personality"] },
{ word: "enough", categories: ["quantity"] },
{ word: "faint", categories: ["sounds"] },
{ word: "faithful", categories: ["personality"] },
{ word: "famous", categories: ["condition"] },
{ word: "fancy", categories: ["appearance"] },
{ word: "fast", categories: ["time"] },
{ word: "fat", categories: ["size"] },
{ word: "few", categories: ["quantity"] },
{ word: "fierce", categories: ["personality"] },
{ word: "fit", categories: ["appearance"] },
{ word: "flabby", categories: ["appearance"] },
{ word: "flaky", categories: ["touch"] },
{ word: "flat", categories: ["shapes"] },
{ word: "fluffy", categories: ["touch"] },
{ word: "freezing", categories: ["touch"] },
{ word: "fresh", categories: ["taste"] },
{ word: "full", categories: ["quantity"] },
{ word: "future", categories: ["time"] },
{ word: "gentle", categories: ["personality"] },
{ word: "gifted", categories: ["condition"] },
{ word: "gigantic", categories: ["size"] },
{ word: "glamorous", categories: ["appearance"] },
{ word: "gorgeous", categories: ["appearance"] },
{ word: "gray", categories: ["color"] },
{ word: "greasy", categories: ["touch", "taste"] },
{ word: "great", categories: ["size"] },
{ word: "green", categories: ["color"] },
{ word: "grumpy", categories: ["personality"] },
{ word: "hallowed", categories: ["condition"] },
{ word: "handsome", categories: ["appearance"] },
{ word: "happy", categories: ["personality"] },
{ word: "harsh", categories: ["sounds"] },
{ word: "helpful", categories: ["condition"] },
{ word: "helpless", categories: ["personality"] },
{ word: "high", categories: ["shapes"] },
{ word: "hissing", categories: ["sounds"] },
{ word: "hollow", categories: ["shapes"] },
{ word: "hot", categories: ["touch", "taste"] },
{ word: "howling", categories: ["sounds"] },
{ word: "huge", categories: ["size"] },
{ word: "hundreds", categories: ["quantity"] },
{ word: "icy", categories: ["touch"] },
{ word: "immense", categories: ["size"] },
{ word: "important", categories: ["condition"] },
{ word: "incalculable", categories: ["quantity"] },
{ word: "inexpensive", categories: ["condition"] },
{ word: "itchy", categories: ["personality"] },
{ word: "jealous", categories: ["personality"] },
{ word: "jolly", categories: ["personality"] },
{ word: "juicy", categories: ["taste"] },
{ word: "kind", categories: ["personality"] },
{ word: "large", categories: ["size"] },
{ word: "late", categories: ["time"] },
{ word: "lazy", categories: ["personality"] },
{ word: "lemon", categories: ["color"] },
{ word: "limited", categories: ["quantity"] },
{ word: "little", categories: ["size", "quantity"] },
{ word: "lively", categories: ["personality"] },
{ word: "long", categories: ["time", "appearance"] },
{ word: "loose", categories: ["touch"] },
{ word: "loud", categories: ["sounds"] },
{ word: "low", categories: ["shapes"] },
{ word: "magnificent", categories: ["appearance"] },
{ word: "mammoth", categories: ["size"] },
{ word: "mango", categories: ["color"] },
{ word: "many", categories: ["quantity"] },
{ word: "massive", categories: ["size"] },
{ word: "mealy", categories: ["condition"] },
{ word: "melodic", categories: ["sounds"] },
{ word: "melted", categories: ["touch"] },
{ word: "microscopic", categories: ["size"] },
{ word: "millions", categories: ["quantity"] },
{ word: "miniature", categories: ["size"] },
{ word: "modern", categories: ["time"] },
{ word: "moldy", categories: ["taste"] },
{ word: "most", categories: ["quantity"] },
{ word: "muscular", categories: ["appearance"] },
{ word: "mushy", categories: ["condition"] },
{ word: "mysterious", categories: ["personality"] },
{ word: "narrow", categories: ["shapes"] },
{ word: "nervous", categories: ["personality"] },
{ word: "nice", categories: ["personality"] },
{ word: "noisy", categories: ["sounds"] },
{ word: "numerous", categories: ["quantity"] },
{ word: "nutritious", categories: ["taste"] },
{ word: "nutty", categories: ["taste"] },
{ word: "obedient", categories: ["personality"] },
{ word: "obnoxious", categories: ["personality"] },
{ word: "odd", categories: ["condition"] },
{ word: "old", categories: ["time"] },
{ word: "orange", categories: ["color"] },
{ word: "panicky", categories: ["personality"] },
{ word: "petite", categories: ["size"] },
{ word: "pitiful", categories: ["personality"] },
{ word: "plain", categories: ["appearance"] },
{ word: "plump", categories: ["appearance"] },
{ word: "polite", categories: ["personality"] },
{ word: "poor", categories: ["condition"] },
{ word: "powerful", categories: ["condition"] },
{ word: "prehistoric", categories: ["time"] },
{ word: "prickly", categories: ["touch"] },
{ word: "proud", categories: ["personality"] },
{ word: "puny", categories: ["size"] },
{ word: "purple", categories: ["color"] },
{ word: "purring", categories: ["sounds"] },
{ word: "putrid", categories: ["taste"] },
{ word: "quaint", categories: ["appearance"] },
{ word: "quick", categories: ["time"] },
{ word: "quiet", categories: ["sounds"] },
{ word: "rancid", categories: ["taste"] },
{ word: "rapid", categories: ["time"] },
{ word: "rapping", categories: ["sounds"] },
{ word: "raspy", categories: ["sounds"] },
{ word: "red", categories: ["color"] },
{ word: "refined", categories: ["shapes"] },
{ word: "repulsive", categories: ["personality"] },
{ word: "rhythmic", categories: ["sounds"] },
{ word: "rich", categories: ["condition"] },
{ word: "ripe", categories: ["taste"] },
{ word: "rotten", categories: ["taste"] },
{ word: "rough", categories: ["touch"] },
{ word: "round", categories: ["shapes"] },
{ word: "salmon", categories: ["color"] },
{ word: "salty", categories: ["taste"] },
{ word: "savory", categories: ["taste"] },
{ word: "scarce", categories: ["quantity"] },
{ word: "scary", categories: ["personality"] },
{ word: "scrawny", categories: ["size"] },
{ word: "screeching", categories: ["sounds"] },
{ word: "scruffy", categories: ["appearance"] },
{ word: "shaggy", categories: ["touch"] },
{ word: "shallow", categories: ["shapes"] },
{ word: "shapely", categories: ["appearance"] },
{ word: "sharp", categories: ["touch"] },
{ word: "short", categories: ["size", "appearance", "time"] },
{ word: "shrilling", categories: ["sounds"] },
{ word: "shy", categories: ["condition"] },
{ word: "silly", categories: ["personality"] },
{ word: "skinny", categories: ["appearance", "shapes"] },
{ word: "slimy", categories: ["touch"] },
{ word: "slow", categories: ["time"] },
{ word: "small", categories: ["size"] },
{ word: "some", categories: ["quantity"] },
{ word: "sour", categories: ["taste"] },
{ word: "sparse", categories: ["quantity"] },
{ word: "spicy", categories: ["taste"] },
{ word: "spoiled", categories: ["taste"] },
{ word: "square", categories: ["shapes"] },
{ word: "squeaking", categories: ["sounds"] },
{ word: "stale", categories: ["taste"] },
{ word: "steep", categories: ["shapes"] },
{ word: "sticky", categories: ["touch"] },
{ word: "stocky", categories: ["appearance"] },
{ word: "straight", categories: ["shapes"] },
{ word: "strong", categories: ["touch"] },
{ word: "substantial", categories: ["quantity"] },
{ word: "sweet", categories: ["taste"] },
{ word: "swift", categories: ["time"] },
{ word: "tall", categories: ["size"] },
{ word: "tangy", categories: ["taste"] },
{ word: "tart", categories: ["taste"] },
{ word: "tasteless", categories: ["taste"] },
{ word: "tasty", categories: ["taste"] },
{ word: "teeny", categories: ["size"] },
{ word: "tender", categories: ["condition"] },
{ word: "thankful", categories: ["personality"] },
{ word: "thoughtless", categories: ["personality"] },
{ word: "thousands", categories: ["quantity"] },
{ word: "thundering", categories: ["sounds"] },
{ word: "tight", categories: ["touch"] },
{ word: "tinkling", categories: ["sounds"] },
{ word: "tiny", categories: ["size"] },
{ word: "ugly", categories: ["appearance"] },
{ word: "uneven", categories: ["touch"] },
{ word: "unimportant", categories: ["condition"] },
{ word: "uninterested", categories: ["condition"] },
{ word: "unkempt", categories: ["appearance"] },
{ word: "unsightly", categories: ["appearance"] },
{ word: "uptight", categories: ["personality"] },
{ word: "vast", categories: ["condition"] },
{ word: "victorious", categories: ["personality"] },
{ word: "wailing", categories: ["sounds"] },
{ word: "warm", categories: ["touch"] },
{ word: "weak", categories: ["touch"] },
{ word: "wet", categories: ["touch"] },
{ word: "whining", categories: ["sounds"] },
{ word: "whispering", categories: ["sounds"] },
{ word: "white", categories: ["color"] },
{ word: "wide", categories: ["shapes"] },
{ word: "witty", categories: ["personality"] },
{ word: "wonderful", categories: ["personality"] },
{ word: "wooden", categories: ["touch"] },
{ word: "worried", categories: ["personality"] },
{ word: "wrong", categories: ["condition"] },
{ word: "yellow", categories: ["color"] },
{ word: "young", categories: ["time"] },
{ word: "yummy", categories: ["taste"] },
{ word: "zealous", categories: ["personality"] },
] as const,
};
export type WordList = typeof wordList;
export type Categories = {
[K in keyof WordList]: WordList[K][number]["categories"][number];
};
export function getWordsByCategory<P extends PartsOfSpeech>(
partOfSpeech: P,
categories: Categories[P][] = []
) {
const selectedCategoried = new Set(categories);
const selectedWords: WordList[P][number]["word"][] = [];
for (let word of wordList[partOfSpeech]) {
if (
categories.length === 0 ||
word.categories.some((cat: any) => selectedCategoried.has(cat))
) {
selectedWords.push(word.word);
}
}
return selectedWords;
}