summaryrefslogtreecommitdiff
path: root/data/sample-grammars/names.gram
blob: 104c13662dfd69cc450991e1b98c7012312160b2 (plain)
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
# @TODO 10/26/17 Ben Culkin :NameTypes
#	Add rules for producing names in the common 'last, first' style format,
#	as well as producing actual middle names/nick names for people

[full-name] [first-name]
	[last-name]
	[first-name] [last-name]
	[first-name] [middle-initial] . [last-name]
	[consonant] . [middle-initial] . [last-name]
	[middle-initial] . [middle-initial] . [last-name]
	[random-name]
	[random-name] [random-name]
	[random-name] [middle-initial] . [random-name]

pragma initial-rule [full-name-and-title]

pragma export-rule [person]
pragma export-rule [first-name]
pragma export-rule [generic-title]
pragma export-rule [full-name]
pragma export-rule [random-name]

[full-name-and-title] [generic-title] [last-name]
	[generic-title] [middle-initial] . [middle-initial] . [last-name]
	[male-title] [first-name-male]
	[male-title] [first-name-male] [last-name]
	[male-title] [first-name-male] [middle-initial] . [last-name]
	[female-title] [first-name-female]
	[female-title] [first-name-female] [last-name]
	[female-title] [first-name-female] [middle-initial] . [last-name]
	[gender-neutral-title] [full-name]
	[generic-title] [full-name]
	[full-name]
	[full-name]
	[full-name]
	[full-name]

[generic-title] [male-title]
	[female-title]
	[gender-neutral-title]
	[male-title]
	[female-title]
	[gender-neutral-title]
	[career-tech]

# @TODO 10/23/17 Ben Culkin :TitleExpansion
#	Expand titles to
#	- Include place names where appropriate (e.g empereror of ...)
#	- Include ordinals where necessary (first emperor of ...)
#

[male-title] Mr.
	Master
	Uncle
	Lord Mayor
	Prince
	archduke
	grand duke
	duke
	marquis
	marquess
	count
	earl
	jarl
	viscount
	baron
	lord
	emperor
	king
	tsar
	imperator
	viceroy
	pope
	abbot
	brother
	friar
	bishop
	archbishob
	priest
	high priest
	father
	patriarch
	vicar
	chaplain
	pastor
	cardinal
	monsieur
	herr
	senor
	signor
	emir
	sultan
	maharajah
	lord protector
	king-emperor
	rex
	lord of the manor
	high king
	crown prince
	grand prince
	praetor
	headmaster

[female-title] Ms.
	Mrs.
	Miss
	Mistress
	Aunt
	Lady Mayoress
	princess
	arch duchess
	grand duchess
	duchess
	marquise
	marchioness
	countess
	viscountess
	baroness
	lady
	empress
	queen
	tsarina
	imperatrix
	rex
	vicerine
	popess
	dame
	abbess
	sister
	mother superior
	mother
	reverend mother
	priestess
	high priestess
	matriarch
	madame
	mademoiselle
	frau
	fraulein
	senora
	senorita
	signora
	signorina
	emira
	sultana
	maharani
	lady protectoress
	queen-empress
	regina
	lady of the manor
	high queen
	crown princess
	grand princess
	headmistress

[gender-neutral-title] Dr.
	Professor
	Right Honorable
	Rt. Hon.
	Honorable
	Hon.
	Representative
	Senator
	Speaker
	[president]
	Councillor
	Delegate
	Mayor
	Governor
	Lieutenant Governor
	Premier
	[ambassador]
	[envoy]
	[secretary]
	attache
	attache ( to [full-name-and-title] )
	provost
	chevalier
	[judicial-title]
	[religious-title]
	[military-title]
	coach
	wizard
	grand wizard
	imperial wizard
	principal
	comrade
	docent
	lama
	druid
	archdruid
	rabbi
	ayatollah
	bodhisattva
	saoshyant
	sheikh
	archon
	legate
	satrap
	consul
	doge
	pharaoh
	caliph
	khagan
	khan
	shah
	shogun
	despot
	kaiser
	don
	comissioner
	comptroller
	courtier
	courtier (to [full-name-and-title] )
	curator
	intendant
	superindentent
	sheriff
	treasurer
	warden
	lord warden
	apprentice
	apprentice (to a [generic-title] )
	apprentice (to [full-name-and-title] )
	journeyman
	adept
	centurion
	daimyo
	elector
	inquisitor
	grand inquisitor
	pontiff
	knight
	squire
	squire (to [full-name-and-title] )

[military-title] admiral
	grand admiral
	lord high admiral
	rear admiral
	vice admiral
	brigadier
	captain
	group captain
	colonel
	lieutenant colonel
	commander
	commander-in-chief
	lieutenant commander
	wing commander
	commodore
	air commodore
	corporal
	lance corporal
	staff corporal
	general
	first lieutenant
	flight lieutenant
	major
	marshal
	air marshal
	field marshal
	mate
	chief mate
	first mate
	[officer]
	private
	sergeant
	sergeant at arms
	brigadier general
	cadet
	ensign

[officer] officer
	chief academic officer
	chief executive officer
	chief information officer
	chief operating officer
	field officer
	first officer
	flag officer
	warrant officer
	petty officer
	police officer
	political officer
	senior officer
	staff officer
	police officer
	constable
	agent

[religious-title] venerable
	blessed
	Saint
	St.
	decon
	archdeacon
	acolyte
	dean
	elder
	minister
	monsignor
	reader
	almoner

[judicial-title] advocate
	attorney
	attorney general
	bailiff
	chancellor
	judge
	justice
	lord chief justice
	justice of the peace
	magistrate
	solicitor

[president] president
	deputy president
	vice president
	executive vice president
	lord president of the council

[ambassador] ambassador
	ambassador (to [nation] )

[envoy] envoy
	envoy (to [nation] )
	envoy (to the [generic-title] )
	envoy (to [full-name-and-title] )
	special envoy
	special envoy (to [nation] )
	special envoy (to the [generic-title] )
	special envoy (to [full-name-and-title] )

[secretary] secretary
	secretary (to [full-name-and-title] )
	secretary (to the [generic-title] )
	under-secretary
	under-secretary (to [full-name-and-title] )
	under-secretary (to the [generic-title] )
	foreign secretary
	general secretary
	secretary of state

pragma suffix-with [full-name-and-title] [title-generation]
pragma suffix-with [full-name-and-title] [title-suffix]
pragma suffix-with [full-name-and-title] [title-suffix]
pragma suffix-with [full-name-and-title] [title-suffix]

[title-generation] Sr.
	Jr.
	[roman-numeral]
	the [roman-numeral]
	the [ordinal]
	the [ordinal-number]

[title-trailer] CPA
	Ph.D
	MP
	M.D
	DBA
	RNA
	TLA
	A.B
	B.A
	B.S
	M.A
	M.S
	Ed.D
	D.Phil
	Eng.D
	K.B.E
	D.D
	Esq.
	Esquire
	CFA
	P.E
	PMP
	CIA
	CEH
	CISA
	CISM
	CISSP
	CNP
	[cisco-title]
	[ms-title]
	OCP
	[acronym]
	J.D
	J.P
	N.P
	CPL
	DVM
	D.D.S
	D.M.D
	OD
	EMT
	LPN
	CMT
	CRNA
	OTP
	KHS
	GCHS
	KCHS
	MBA

[cisco-title] CCNA
	CCNP
	CCIE

[ms-title] MCDBA
	MCSA
	MCSE
	MCP

[title-suffix] , [title-trailer]

[person] [full-name]

[first-name] [first-name-male]
	[first-name-female]

[random-name] [actual+random-name]

[actual+random-name] [syllable] [syllable]
	[syllable] [syllable] [last-syllable]
	[syllable] [vowel] [consonant-group] [vowel]
	[consonant-group] [vowel] [syllable]
	[vowel] [syllable] [syllable]
	[syllable] [vowel-group] [consonant]