Skip to content

Commit 177cc48

Browse files
derek73claude
andcommitted
feat: add international honorifics to titles (#99)
Adds German/Dutch/Scandinavian (herr, frau, hr, dhr, mevr, mevrouw, fru, frøken, vrouwe, etc.), French (monsieur, monseigneur), Portuguese (senhor, senhora, senhorita), Spanish (señor, señora, señorita, sres, srtas, etc.), and Italian (signor, signora, signorina, etc.) honorifics. Omits 'senhoro' (not a real Portuguese word) and 'frou' (unrecognized title). Skips 'fr' and 'mx' which were already present. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 7421039 commit 177cc48

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

nameparser/config/titles.py

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@
230230
'designer',
231231
'detective',
232232
'developer',
233+
'dhr',
233234
'diplomat',
234235
'dir',
235236
'director',
@@ -289,7 +290,11 @@
289290
'forester',
290291
'founder',
291292
'fr',
293+
'frau',
292294
'friar',
295+
'frk',
296+
'frøken',
297+
'fru',
293298
'gaf',
294299
'gen',
295300
'general',
@@ -312,6 +317,10 @@
312317
'heiress',
313318
'her',
314319
'hereditary',
320+
'heren',
321+
'herr',
322+
'herren',
323+
'herrn',
315324
'high',
316325
'highness',
317326
'his',
@@ -323,6 +332,7 @@
323332
'honorable',
324333
'honourable',
325334
'host',
335+
'hr',
326336
'illustrator',
327337
'imam',
328338
'industrialist',
@@ -398,6 +408,9 @@
398408
'merchant',
399409
'met',
400410
'metropolitan',
411+
'mevr',
412+
'mevrouw',
413+
'mevrouwe',
401414
'mg',
402415
'mgr',
403416
'mgysgt',
@@ -412,6 +425,8 @@
412425
'mobster',
413426
'model',
414427
'monk',
428+
'monseigneur',
429+
'monsieur',
415430
'monsignor',
416431
'most',
417432
'mountaineer',
@@ -538,7 +553,15 @@
538553
'security',
539554
'seigneur',
540555
'senator',
556+
'senhor',
557+
'senhora',
558+
'senhorita',
541559
'senior',
560+
'señor',
561+
'señora',
562+
'señores',
563+
'señorita',
564+
'señoritas',
542565
'senior-judge',
543566
'sergeant',
544567
'servant',
@@ -551,6 +574,10 @@
551574
'sheikh',
552575
'sheriff',
553576
'siddha',
577+
'signor',
578+
'signora',
579+
'signore',
580+
'signorina',
554581
'singer',
555582
'singer-songwriter',
556583
'sma',
@@ -569,6 +596,8 @@
569596
'sr',
570597
'sra',
571598
'srta',
599+
'srtas',
600+
'sres',
572601
'ssg',
573602
'ssgt',
574603
'st',
@@ -619,6 +648,7 @@
619648
'vizier',
620649
'vocalist',
621650
'voice',
651+
'vrouwe',
622652
'warden',
623653
'warrant',
624654
'wing',

0 commit comments

Comments
 (0)