-
Notifications
You must be signed in to change notification settings - Fork 13
/
dists.dss
617 lines (617 loc) · 9.13 KB
/
dists.dss
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
# Sccsid: @(#)dists.dss 9.1.1.1 1/25/95 10:52:12
#
# distributions have the following format:
#
# <token> | <weight> # comment
#
# Distributions are used to bias the selection of a token
# based on its associated weight. The list of tokens and values
# between the keywords BEGIN and END define the distribution named after
# the BEGIN. A uniformly random value from [0, sum(weights)]
# will be chosen and the first token whose cumulative weight is greater than
# or equal to the result will be returned. In essence, the weights for each
# token represent its relative weigth within a distribution.
#
# one special token is defined: count (number of data points in the
# distribution). It MUST be defined for each named distribution.
#-----------------------------------------------------------------------
# currently defined distributions and their use:
# NAME FIELD/NOTES
# ======== ==============
# category parts.category
# container parts.container
# instruct shipping instructions
# msegmnt market segment
# names parts.name
# nations must be ordered along with regions
# nations2 stand alone nations set for use with qgen
# o_prio order priority
# regions must be ordered along with nations
# rflag lineitems.returnflag
# types parts.type
# colors embedded string creation
# articles comment generation (must compile with -DNEW_PTEXT)
# nouns comment generation (must compile with -DNEW_PTEXT)
# verbs comment generation (must compile with -DNEW_PTEXT)
# adverbs comment generation (must compile with -DNEW_PTEXT)
###
# category
###
BEGIN category
COUNT|5
FURNITURE|1
STORAGE EQUIP|1
TOOLS|1
MACHINE TOOLS|1
OTHER|1
END category
###
# container
###
begin p_cntr
count|40
SM CASE|1
SM BOX|1
SM BAG|1
SM JAR|1
SM PACK|1
SM PKG|1
SM CAN|1
SM DRUM|1
LG CASE|1
LG BOX|1
LG BAG|1
LG JAR|1
LG PACK|1
LG PKG|1
LG CAN|1
LG DRUM|1
MED CASE|1
MED BOX|1
MED BAG|1
MED JAR|1
MED PACK|1
MED PKG|1
MED CAN|1
MED DRUM|1
JUMBO CASE|1
JUMBO BOX|1
JUMBO BAG|1
JUMBO JAR|1
JUMBO PACK|1
JUMBO PKG|1
JUMBO CAN|1
JUMBO DRUM|1
WRAP CASE|1
WRAP BOX|1
WRAP BAG|1
WRAP JAR|1
WRAP PACK|1
WRAP PKG|1
WRAP CAN|1
WRAP DRUM|1
end p_cntr
###
# instruct
###
begin instruct
count|4
DELIVER IN PERSON|1
COLLECT COD|1
TAKE BACK RETURN|1
NONE|1
end instruct
###
# msegmnt
###
begin msegmnt
count|5
AUTOMOBILE|1
BUILDING|1
FURNITURE|1
HOUSEHOLD|1
MACHINERY|1
end msegmnt
###
# names
###
begin p_names
COUNT|4
CLEANER|1
SOAP|1
DETERGENT|1
EXTRA|1
end p_names
###
# nations
# NOTE: this is a special case; the weights here are adjustments to
# map correctly into the regions table, and are *NOT* cummulative
# values to mimic a distribution
###
begin nations
count|25
ALGERIA|0
ARGENTINA|1
BRAZIL|0
CANADA|0
EGYPT|3
ETHIOPIA|-4
FRANCE|3
GERMANY|0
INDIA|-1
INDONESIA|0
IRAN|2
IRAQ|0
JAPAN|-2
JORDAN|2
KENYA|-4
MOROCCO|0
MOZAMBIQUE|0
PERU|1
CHINA|1
ROMANIA|1
SAUDI ARABIA|1
VIETNAM|-2
RUSSIA|1
UNITED KINGDOM|0
UNITED STATES|-2
end nations
###
# nations2
###
begin nations2
count|25
ALGERIA|1
ARGENTINA|1
BRAZIL|1
CANADA|1
EGYPT|1
ETHIOPIA|1
FRANCE|1
GERMANY|1
INDIA|1
INDONESIA|1
IRAN|1
IRAQ|1
JAPAN|1
JORDAN|1
KENYA|1
MOROCCO|1
MOZAMBIQUE|1
PERU|1
CHINA|1
ROMANIA|1
SAUDI ARABIA|1
VIETNAM|1
RUSSIA|1
UNITED KINGDOM|1
UNITED STATES|1
end nations2
###
# regions
###
begin regions
count|5
AFRICA|1
AMERICA|1
ASIA|1
EUROPE|1
MIDDLE EAST|1
end regions
###
# o_prio
###
begin o_oprio
count|5
1-URGENT|1
2-HIGH|1
3-MEDIUM|1
4-NOT SPECIFIED|1
5-LOW|1
end o_oprio
###
# rflag
###
begin rflag
count|2
R|1
A|1
end rflag
###
# smode
###
begin smode
count|7
REG AIR|1
AIR|1
RAIL|1
TRUCK|1
MAIL|1
FOB|1
SHIP|1
end smode
###
# types
###
begin p_types
COUNT|150
STANDARD ANODIZED TIN|1
STANDARD ANODIZED NICKEL|1
STANDARD ANODIZED BRASS|1
STANDARD ANODIZED STEEL|1
STANDARD ANODIZED COPPER|1
STANDARD BURNISHED TIN|1
STANDARD BURNISHED NICKEL|1
STANDARD BURNISHED BRASS|1
STANDARD BURNISHED STEEL|1
STANDARD BURNISHED COPPER|1
STANDARD PLATED TIN|1
STANDARD PLATED NICKEL|1
STANDARD PLATED BRASS|1
STANDARD PLATED STEEL|1
STANDARD PLATED COPPER|1
STANDARD POLISHED TIN|1
STANDARD POLISHED NICKEL|1
STANDARD POLISHED BRASS|1
STANDARD POLISHED STEEL|1
STANDARD POLISHED COPPER|1
STANDARD BRUSHED TIN|1
STANDARD BRUSHED NICKEL|1
STANDARD BRUSHED BRASS|1
STANDARD BRUSHED STEEL|1
STANDARD BRUSHED COPPER|1
SMALL ANODIZED TIN|1
SMALL ANODIZED NICKEL|1
SMALL ANODIZED BRASS|1
SMALL ANODIZED STEEL|1
SMALL ANODIZED COPPER|1
SMALL BURNISHED TIN|1
SMALL BURNISHED NICKEL|1
SMALL BURNISHED BRASS|1
SMALL BURNISHED STEEL|1
SMALL BURNISHED COPPER|1
SMALL PLATED TIN|1
SMALL PLATED NICKEL|1
SMALL PLATED BRASS|1
SMALL PLATED STEEL|1
SMALL PLATED COPPER|1
SMALL POLISHED TIN|1
SMALL POLISHED NICKEL|1
SMALL POLISHED BRASS|1
SMALL POLISHED STEEL|1
SMALL POLISHED COPPER|1
SMALL BRUSHED TIN|1
SMALL BRUSHED NICKEL|1
SMALL BRUSHED BRASS|1
SMALL BRUSHED STEEL|1
SMALL BRUSHED COPPER|1
MEDIUM ANODIZED TIN|1
MEDIUM ANODIZED NICKEL|1
MEDIUM ANODIZED BRASS|1
MEDIUM ANODIZED STEEL|1
MEDIUM ANODIZED COPPER|1
MEDIUM BURNISHED TIN|1
MEDIUM BURNISHED NICKEL|1
MEDIUM BURNISHED BRASS|1
MEDIUM BURNISHED STEEL|1
MEDIUM BURNISHED COPPER|1
MEDIUM PLATED TIN|1
MEDIUM PLATED NICKEL|1
MEDIUM PLATED BRASS|1
MEDIUM PLATED STEEL|1
MEDIUM PLATED COPPER|1
MEDIUM POLISHED TIN|1
MEDIUM POLISHED NICKEL|1
MEDIUM POLISHED BRASS|1
MEDIUM POLISHED STEEL|1
MEDIUM POLISHED COPPER|1
MEDIUM BRUSHED TIN|1
MEDIUM BRUSHED NICKEL|1
MEDIUM BRUSHED BRASS|1
MEDIUM BRUSHED STEEL|1
MEDIUM BRUSHED COPPER|1
LARGE ANODIZED TIN|1
LARGE ANODIZED NICKEL|1
LARGE ANODIZED BRASS|1
LARGE ANODIZED STEEL|1
LARGE ANODIZED COPPER|1
LARGE BURNISHED TIN|1
LARGE BURNISHED NICKEL|1
LARGE BURNISHED BRASS|1
LARGE BURNISHED STEEL|1
LARGE BURNISHED COPPER|1
LARGE PLATED TIN|1
LARGE PLATED NICKEL|1
LARGE PLATED BRASS|1
LARGE PLATED STEEL|1
LARGE PLATED COPPER|1
LARGE POLISHED TIN|1
LARGE POLISHED NICKEL|1
LARGE POLISHED BRASS|1
LARGE POLISHED STEEL|1
LARGE POLISHED COPPER|1
LARGE BRUSHED TIN|1
LARGE BRUSHED NICKEL|1
LARGE BRUSHED BRASS|1
LARGE BRUSHED STEEL|1
LARGE BRUSHED COPPER|1
ECONOMY ANODIZED TIN|1
ECONOMY ANODIZED NICKEL|1
ECONOMY ANODIZED BRASS|1
ECONOMY ANODIZED STEEL|1
ECONOMY ANODIZED COPPER|1
ECONOMY BURNISHED TIN|1
ECONOMY BURNISHED NICKEL|1
ECONOMY BURNISHED BRASS|1
ECONOMY BURNISHED STEEL|1
ECONOMY BURNISHED COPPER|1
ECONOMY PLATED TIN|1
ECONOMY PLATED NICKEL|1
ECONOMY PLATED BRASS|1
ECONOMY PLATED STEEL|1
ECONOMY PLATED COPPER|1
ECONOMY POLISHED TIN|1
ECONOMY POLISHED NICKEL|1
ECONOMY POLISHED BRASS|1
ECONOMY POLISHED STEEL|1
ECONOMY POLISHED COPPER|1
ECONOMY BRUSHED TIN|1
ECONOMY BRUSHED NICKEL|1
ECONOMY BRUSHED BRASS|1
ECONOMY BRUSHED STEEL|1
ECONOMY BRUSHED COPPER|1
PROMO ANODIZED TIN|1
PROMO ANODIZED NICKEL|1
PROMO ANODIZED BRASS|1
PROMO ANODIZED STEEL|1
PROMO ANODIZED COPPER|1
PROMO BURNISHED TIN|1
PROMO BURNISHED NICKEL|1
PROMO BURNISHED BRASS|1
PROMO BURNISHED STEEL|1
PROMO BURNISHED COPPER|1
PROMO PLATED TIN|1
PROMO PLATED NICKEL|1
PROMO PLATED BRASS|1
PROMO PLATED STEEL|1
PROMO PLATED COPPER|1
PROMO POLISHED TIN|1
PROMO POLISHED NICKEL|1
PROMO POLISHED BRASS|1
PROMO POLISHED STEEL|1
PROMO POLISHED COPPER|1
PROMO BRUSHED TIN|1
PROMO BRUSHED NICKEL|1
PROMO BRUSHED BRASS|1
PROMO BRUSHED STEEL|1
PROMO BRUSHED COPPER|1
end p_types
###
# colors
###
begin colors
COUNT|92
almond|1
antique|1
aquamarine|1
azure|1
beige|1
bisque|1
black|1
blanched|1
blue|1
blush|1
brown|1
burlywood|1
burnished|1
chartreuse|1
chiffon|1
chocolate|1
coral|1
cornflower|1
cornsilk|1
cream|1
cyan|1
dark|1
deep|1
dim|1
dodger|1
drab|1
firebrick|1
floral|1
forest|1
frosted|1
gainsboro|1
ghost|1
goldenrod|1
green|1
grey|1
honeydew|1
hot|1
indian|1
ivory|1
khaki|1
lace|1
lavender|1
lawn|1
lemon|1
light|1
lime|1
linen|1
magenta|1
maroon|1
medium|1
metalic|1
midnight|1
mint|1
misty|1
moccasin|1
navajo|1
navy|1
olive|1
orange|1
orchid|1
pale|1
papaya|1
peach|1
peru|1
pink|1
plum|1
powder|1
puff|1
purple|1
red|1
rose|1
rosy|1
royal|1
saddle|1
salmon|1
sandy|1
seashell|1
sienna|1
sky|1
slate|1
smoke|1
snow|1
spring|1
steel|1
tan|1
thistle|1
tomato|1
turquoise|1
violet|1
wheat|1
white|1
yellow|1
end colors
###
# articles
###
BEGIN articles
COUNT|2
The|1
A|1
END articles
###
# nouns
###
BEGIN nouns
COUNT|40
foxes|1
ideas|1
theodolites|1
pinto beans|1
instructions|1
dependencies|1
excuses|1
associations|1
asymptotes|1
courts|1
dolphins|1
multipliers|1
sauternes|1
warthogs|1
frets|1
dinos|1
attainments|1
somas|1
Tiresias'|1
patterns|1
forges|1
braids|1
frays|1
warhorses|1
dugouts|1
notornis|1
epitaphs|1
pearls|1
tithes|1
waters|1
orbits|1
gifts|1
sheaves|1
depths|1
sentiments|1
decoys|1
realms|1
pains|1
grouches|1
escapades|1
END nouns
###
# verbs
###
BEGIN verbs
COUNT|40
sleep|1
wake|1
are|1
cajole|1
haggle|1
nag|1
use|1
boost|1
affix|1
detect|1
integrate|1
maintain|1
nod|1
was|1
lose|1
sublate|1
solve|1
thrash|1
promise|1
engage|1
hinder|1
print|1
x-ray|1
breach|1
eat|1
grow|1
impress|1
mold|1
poach|1
serve|1
run|1
dazzle|1
snooze|1
doze|1
unwind|1
kindle|1
play|1
hang|1
believe|1
doubt|1
END verbs
###
# adverbs
##
BEGIN adverbs
COUNT|25
furiously|1
slyly|1
carefully|1
blithely|1
quickly|1
fluffily|1
slowly|1
quietly|1
ruthlessly|1
thinly|1
closely|1
doggedly|1
daringly|1
bravely|1
stealthily|1
permanently|1
enticingly|1
idly|1
busily|1
regularly|1
finally|1
ironically|1
evenly|1
boldly|1
silently|1
END adverbs