cijef-fullname-matcher 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9646dbbebcb213f077c80bfe00b1963f6a52e675
4
+ data.tar.gz: c314c6567c47e03a5f321e4cf1a54fc617b07b14
5
+ SHA512:
6
+ metadata.gz: '084f921b2461829b5aad9d6d809e3d21d56b47fb03dd739e47c244013f31c806251753202a712002e9b6f12700d3be264ebd981daab9bd1384a03f0a6d9501fa'
7
+ data.tar.gz: 707c846e6e1f1e5865feab68524cbf7419c0a673679c29bd0718bb95a590a30a4ee69d049ea9dc9f879f91ce53c31fb9c9f372efc4f7ea432eeb4ff3dd0c53e1
data/.gitignore ADDED
@@ -0,0 +1,18 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ coverage
6
+ InstalledFiles
7
+ lib/bundler/man
8
+ pkg
9
+ rdoc
10
+ spec/reports
11
+ test/tmp
12
+ test/version_tmp
13
+ tmp
14
+
15
+ # YARD artifacts
16
+ .yardoc
17
+ _yardoc
18
+ doc/
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source :rubygems
2
+ gemspec
3
+
data/README.md ADDED
@@ -0,0 +1,16 @@
1
+ fullname_matcher
2
+ ================
3
+
4
+ Provide fullname, search in database with proper conditions
5
+
6
+ Usage
7
+ ================
8
+
9
+ require 'fullname/matcher'
10
+
11
+ matcher = Fullname::Matcher.create(User, :first => 'firstname', :middle => 'middlename', :last => 'lastname', :suffix => 'suffix') do |m|
12
+ m.set_condition "data_import_key = '2013.01.01'"
13
+ m.match_fullname('Xiaohui, Zhang') # match fullname string in block
14
+ end
15
+
16
+ matcher.match_fullname('Zhang', nil, 'Xiaohui', nil) # match parsed fullname out of block
@@ -0,0 +1,17 @@
1
+ $:.unshift File.expand_path("../lib", __FILE__)
2
+ require 'fullname/matcher/version'
3
+
4
+ Gem::Specification.new do |s|
5
+ s.name = 'cijef-fullname-matcher'
6
+ s.version = Fullname::Matcher::VERSION
7
+ s.platform = Gem::Platform::RUBY
8
+ s.authors = ["yegang"]
9
+ s.email = ['yegang.avvo@gmail.com']
10
+ s.summary = "Match fullname in database"
11
+ s.description = "Provide fullname, search in database with proper conditions"
12
+ s.homepage = 'https://github.com/yegang90/cijef-fullname-matcher'
13
+
14
+ s.files = `git ls-files`.split("\n")
15
+ s.require_path = 'lib'
16
+ s.add_runtime_dependency(%q<fullname-parser>, [">= 1.0.3"])
17
+ end
data/lib/fullname.rb ADDED
@@ -0,0 +1,4 @@
1
+ module Fullname
2
+ end
3
+
4
+ require File.expand_path("../fullname/matcher", __FILE__)
@@ -0,0 +1,1264 @@
1
+ module Fullname
2
+ module Equivalence
3
+
4
+ NAME_EQUIVALENCE_STRING = %{
5
+ Aaron Erin
6
+ Aaron Ron
7
+ Aaron Ronnie
8
+ Abel Ab
9
+ Abel Abe
10
+ Abel Eb
11
+ Abel Ebbie
12
+ Abiel Ab
13
+ Abigail Abby
14
+ Abigail Gail
15
+ Abigail Nabby
16
+ Abner Ab
17
+ Abraham Ab
18
+ Abraham Abe
19
+ Abram Ab
20
+ Adaline Ada
21
+ Adaline Addy
22
+ Adaline Delia
23
+ Adaline Dell
24
+ Adaline Lena
25
+ Adelaide Addy
26
+ Adelaide Adele
27
+ Adelaide Dell
28
+ Adelaide Della
29
+ Adelaide Heidi
30
+ Adeline Ada
31
+ Adeline Addy
32
+ Adeline Delia
33
+ Adeline Dell
34
+ Adeline Lena
35
+ Adelphia Addy
36
+ Adelphia Adele
37
+ Adelphia Dell
38
+ Adelphia Delphia
39
+ Adelphia Philly
40
+ Agatha Aggy
41
+ Agnes Aggy
42
+ Agnes Inez
43
+ Agnes Nessa
44
+ Aileen Allie
45
+ Aileen Lena
46
+ Alan Al
47
+ Alberta Allie
48
+ Alberta Bert
49
+ Alberta Bertie
50
+ Albert Al
51
+ Albert Bert
52
+ Aldo Al
53
+ Aldrich Rich
54
+ Aldrich Riche
55
+ Alexander Al
56
+ Alexander Alex
57
+ Alexander Sandy
58
+ Alexandra Alex
59
+ Alexandra Alla
60
+ Alexandra Sandra
61
+ Alexandra Sandy
62
+ Alfonse Al
63
+ Alfreda Alfy
64
+ Alfreda Freda
65
+ Alfreda Freddy
66
+ Alfreda Frieda
67
+ Alfred Al
68
+ Alfred Fred
69
+ Alfred Freddy
70
+ Alice Allie
71
+ Alice Elsie
72
+ Alice Lisa
73
+ Alicia Allie
74
+ Alicia Elsie
75
+ Alicia Lisa
76
+ Allan Al
77
+ Allen Al
78
+ Allisandra Allie
79
+ Almena Allie
80
+ Almena Mena
81
+ Alonzo Al
82
+ Alonzo Lon
83
+ Alonzo Lonzo
84
+ Amanda Manda
85
+ Amanda Mandy
86
+ Amelia Amy
87
+ Amelia Emily
88
+ Amelia Mel
89
+ Amelia Millie
90
+ Anderson Andy
91
+ Andrew Andy
92
+ Andrew Drew
93
+ Ann Annie
94
+ Anne Annie
95
+ Anne Nan
96
+ Anne Nana
97
+ Anne Nancy
98
+ Anne Nanny
99
+ Ann Nan
100
+ Ann Nana
101
+ Ann Nancy
102
+ Ann Nanny
103
+ Anthony Tony
104
+ Antoinette Ann
105
+ Antoinette Netta
106
+ Antoinette Tony
107
+ Antonia Ann
108
+ Antonia Netta
109
+ Antonia Tony
110
+ Arabella Ara
111
+ Arabella Arry
112
+ Arabella Bella
113
+ Arabella Belle
114
+ Arabelle Ara
115
+ Arabelle Arry
116
+ Arabelle Bella
117
+ Arabelle Belle
118
+ Archibald Archie
119
+ Arlene Arly
120
+ Arlene Lena
121
+ Armena Arry
122
+ Armena Mena
123
+ Arthur Art
124
+ Asahel Asa
125
+ Asaph Asa
126
+ Asenath Assene
127
+ Asenath Natty
128
+ Asenath Sene
129
+ Augusta Aggy
130
+ Augusta Gatsy
131
+ Augusta Gussie
132
+ Augusta Tina
133
+ August Gus
134
+ Augustina Aggy
135
+ Augustina Gatsy
136
+ Augustina Gussie
137
+ Augustina Tina
138
+ Augustine August
139
+ Augustine Austin
140
+ Augustine Gus
141
+ Augustus August
142
+ Augustus Austin
143
+ Augustus Gus
144
+ Azariah Aze
145
+ Azariah Riah
146
+ Barbara Bab
147
+ Barbara Babs
148
+ Barbara Barby
149
+ Barbara Bobbie
150
+ Barnabas Barney
151
+ Bartholomew Bart
152
+ Bartholomew Bartel
153
+ Bartholomew Bat
154
+ Bartholomew Mees
155
+ Bartholomew Meus
156
+ Beatrice Bea
157
+ Beatrice Trisha
158
+ Beatrice Trix
159
+ Beatrice Trixie
160
+ Belinda Belle
161
+ Belinda Linda
162
+ Benedict Ben
163
+ Benedict Bennie
164
+ Benjamin Ben
165
+ Benjamin Benjy
166
+ Benjamin Bennie
167
+ Benjamin Jamie
168
+ Bernard Barney
169
+ Bernard Berney
170
+ Bernard Bernie
171
+ Bertha Bert
172
+ Bertha Bertie
173
+ Bertha Birdie
174
+ Bill Fred
175
+ Billy Fred
176
+ Bradford Brad
177
+ Bradford Ford
178
+ Bridget Biddie
179
+ Bridget Biddy
180
+ Bridget Bridgie
181
+ Bridget Bridie
182
+ Broderick Brady
183
+ Broderick Brody
184
+ Broderick Rick
185
+ Broderick Ricky
186
+ Calvin Cal
187
+ Calvin Vin
188
+ Calvin Vinny
189
+ Cameron Cam
190
+ Cameron Ron
191
+ Cameron Ronny
192
+ Camille Cammie
193
+ Camille Millie
194
+ CarolAnn Carol
195
+ CarolAnn Carole
196
+ Carol Carrie
197
+ Carol Cassie
198
+ Caroline Carol
199
+ Caroline Carole
200
+ Caroline Carrie
201
+ Caroline Cassie
202
+ Caroline Lynn
203
+ Carol Lynn
204
+ Carolyn Carrie
205
+ Carolyn Cassie
206
+ Carolyn Lynn
207
+ Casey K
208
+ Cassandra Cassie
209
+ Cassandra Sandra
210
+ Cassandra Sandy
211
+ Catherine Cassie
212
+ Catherine Cathy
213
+ Catherine Kathy
214
+ Catherine Katy
215
+ Catherine Kay
216
+ Catherine Kit
217
+ Catherine Kittie
218
+ Catherine Lena
219
+ Catherine Trina
220
+ Cathleen Cassie
221
+ Cathleen Cathy
222
+ Cathleen Kathy
223
+ Cathleen Katy
224
+ Cathleen Kay
225
+ Cathleen Kit
226
+ Cathleen Kittie
227
+ Cathleen Lena
228
+ Cathleen Trina
229
+ Cecilia Celia
230
+ Cecilia Cissy
231
+ Cedric Ced
232
+ Cedric Rick
233
+ Cedric Ricky
234
+ Charles Carl
235
+ Charles Charlie
236
+ Charles Chick
237
+ Charles Chuck
238
+ Charlotte Char
239
+ Charlotte Lotta
240
+ Charlotte Lottie
241
+ Charlotte Sherry
242
+ Chauncey Chan
243
+ Chester Chet
244
+ Christa Chris
245
+ Christiana Ann
246
+ Christiana Chris
247
+ Christiana Christy
248
+ Christiana Crissy
249
+ Christiana Kris
250
+ Christiana Kristy
251
+ Christiana Tina
252
+ Christian Chris
253
+ Christian Kit
254
+ Christina Chris
255
+ Christina Christy
256
+ Christina Crissy
257
+ Christina Kris
258
+ Christina Kristy
259
+ Christina Tina
260
+ Christine Chris
261
+ Christine Chrissy
262
+ Christine Crissy
263
+ Christine Kris
264
+ Christine Kristy
265
+ Christine Tina
266
+ Christopher Chris
267
+ Christopher Kit
268
+ Clarence Clair
269
+ Clarence Clare
270
+ Clarinda Clara
271
+ Clarissa Cissy
272
+ Clarissa Clara
273
+ Clement Clem
274
+ Clifford Cliff
275
+ Clifford Ford
276
+ Clifton Cliff
277
+ Clifton Tony
278
+ Columbus Clum
279
+ Conrad Con
280
+ Conrad Conny
281
+ Constance Connie
282
+ Cordelia Cordy
283
+ Cordelia Delia
284
+ Cornelia Cornie
285
+ Cornelia Corny
286
+ Cornelia Nelia
287
+ Cornelia Nelle
288
+ Cornelia Nelly
289
+ Cornelius Con
290
+ Cornelius Conny
291
+ Cornelius Corny
292
+ Cornelius Niel
293
+ Courtney Court
294
+ Courtney Curt
295
+ Curtis Curt
296
+ Cynthia Cindy
297
+ Cynthia Cintha
298
+ Cyrenius Cene
299
+ Cyrenius Cy
300
+ Cyrenius Renius
301
+ Cyrenius Serene
302
+ Cyrenius Swene
303
+ Dal Dahl
304
+ Dalton Dahl
305
+ Daniel Dan
306
+ Daniel Danny
307
+ Darlene Darry
308
+ Darlene Lena
309
+ David Dave
310
+ David Davey
311
+ David Day
312
+ Debora Deb
313
+ Debora Debbie
314
+ Debora Debby
315
+ Deborah Deb
316
+ Deborah Debbie
317
+ Deborah Debby
318
+ Debra Deb
319
+ Debra Debbie
320
+ Delbert Bert
321
+ Delbert Del
322
+ Deliverance Della
323
+ Deliverance Delly
324
+ Deliverance Dilly
325
+ Delores Dee
326
+ Delores Dell
327
+ Delores Della
328
+ Delores Lola
329
+ Delores Lolly
330
+ Dennis Denny
331
+ Dennison Denny
332
+ Derrick Eric
333
+ Derrick Rick
334
+ Derrick Ricky
335
+ Dicey Dicie
336
+ Domenic Dom
337
+ Dominic Dom
338
+ Donald Don
339
+ Donald Donnie
340
+ Donald Donny
341
+ Donald Dony
342
+ Dorcus Darkey
343
+ Dorothy Dolly
344
+ Dorothy Dortha
345
+ Dorothy Dot
346
+ Dorothy Dotty
347
+ Ebenezer Eb
348
+ Ebenezer Ebbie
349
+ Ebenezer Eben
350
+ Edgar Ed
351
+ Edgar Eddie
352
+ Edgar Eddy
353
+ Edith Edie
354
+ Edith Edye
355
+ Edmond Ed
356
+ Edmond Eddie
357
+ Edmond Eddy
358
+ Edmund Ed
359
+ Edmund Eddie
360
+ Edmund Eddy
361
+ Edmund Ned
362
+ Edmund Ted
363
+ Eduardo Ed
364
+ Eduardo Eddie
365
+ Eduardo Eddy
366
+ Edward Ed
367
+ Edward Eddie
368
+ Edward Eddy
369
+ Edward Ned
370
+ Edward Ted
371
+ Edward Teddy
372
+ Edwin Ed
373
+ Edwin Eddie
374
+ Edwin Eddy
375
+ Edwin Ned
376
+ Edwin Win
377
+ Edyth Edie
378
+ Edyth Edye
379
+ Edythe Edie
380
+ Edythe Edye
381
+ Elbert Albert
382
+ Eleanor Elaine
383
+ Eleanor Ellen
384
+ Eleanor Ellie
385
+ Eleanor Lanna
386
+ Eleanor Lenora
387
+ Eleanor Nelly
388
+ Eleanor Nora
389
+ Eleazer Lazar
390
+ Elias Eli
391
+ Elias Lee
392
+ Elias Lias
393
+ Elijah Eli
394
+ Elijah Lige
395
+ Eliphalet Left
396
+ Elisha Eli
397
+ Elisha Lish
398
+ Elizabeth Bess
399
+ Elizabeth Bessie
400
+ Elizabeth Beth
401
+ Elizabeth Betsy
402
+ Elizabeth Betty
403
+ Elizabeth Eliza
404
+ Elizabeth Lib
405
+ Elizabeth Libby
406
+ Elizabeth Lisa
407
+ Elizabeth Liz
408
+ Elizabeth Liza
409
+ Elizabeth Lizzie
410
+ Ellswood Elsey
411
+ Elmira Ellie
412
+ Elmira Elly
413
+ Elmira Mira
414
+ Elouise Louise
415
+ Elsie Elsey
416
+ Elswood Elsey
417
+ Elwood Woody
418
+ Elze Elsey
419
+ Emanuel Manny
420
+ Emanuel Manuel
421
+ Emeline Em
422
+ Emeline Emily
423
+ Emeline Emma
424
+ Emeline Emmy
425
+ Emeline Milly
426
+ Emily Emma
427
+ Emily Emmy
428
+ Emily Millie
429
+ Epaphroditius Dite
430
+ Epaphroditius Ditus
431
+ Epaphroditius Dyce
432
+ Epaphroditius Dyche
433
+ Epaphroditius Eppa
434
+ Ephraim Eph
435
+ Eric Rick
436
+ Eric Ricky
437
+ Ernest Ernie
438
+ Estella Essy
439
+ Estella Stella
440
+ Estelle Essy
441
+ Estelle Stella
442
+ Eugene Gene
443
+ Evaline Eva
444
+ Evaline Eve
445
+ Evaline Lena
446
+ Ezekiel Ez
447
+ Ezekiel Zeke
448
+ Ezra Ez
449
+ Faith Fay
450
+ Feltie Felty
451
+ Ferdinand Ferdie
452
+ Ferdinand Fred
453
+ Ferdinand Freddie
454
+ Ferdinand Freddy
455
+ Fidelia Delia
456
+ Florence Flo
457
+ Florence Flora
458
+ Florence Flossy
459
+ Frances Cissy
460
+ Frances Fanny
461
+ Frances Fran
462
+ Frances Francie
463
+ Frances Frankie
464
+ Frances Frannie
465
+ Frances Franniey
466
+ Frances Sis
467
+ Francine Fran
468
+ Francine Francie
469
+ Francine Frannie
470
+ Francine Franniey
471
+ Francis Fran
472
+ Francis Frank
473
+ Francis Frankie
474
+ Franklind Frank
475
+ Franklin Fran
476
+ Franklin Frank
477
+ Fredericka Freda
478
+ Fredericka Freddy
479
+ Fredericka Frieda
480
+ Fredericka Ricka
481
+ Frederick Fred
482
+ Frederick Freddie
483
+ Frederick Freddy
484
+ Frederick Fritz
485
+ Frieda Fred
486
+ Frieda Freddie
487
+ Frieda Freddy
488
+ Gabriel Gabby
489
+ Gabriel Gabe
490
+ Gabriella Ella
491
+ Gabriella Gabby
492
+ Gabrielle Ella
493
+ Gabrielle Gabby
494
+ Genevieve Eve
495
+ Genevieve Jean
496
+ Genevieve Jenny
497
+ Geoffrey Geoff
498
+ Geoffrey Jeff
499
+ Gerald Gerry
500
+ Geraldine Dina
501
+ Geraldine Gerrie
502
+ Geraldine Gerry
503
+ Geraldine Jerry
504
+ Gerald Jerry
505
+ Gertrude Gert
506
+ Gertrude Gertie
507
+ Gertrude Trudy
508
+ Gilbert Bert
509
+ Gilbert Gil
510
+ Gilbert Wilber
511
+ Gwendolyn Gwen
512
+ Gwendolyn Wendy
513
+ Hannah Anna
514
+ Hannah Nan
515
+ Hannah Nanny
516
+ Harold Hal
517
+ Harold Harry
518
+ Harriet Hattie
519
+ Helene Ella
520
+ Helene Ellen
521
+ Helene Ellie
522
+ Helene Lena
523
+ Helen Ella
524
+ Helen Ellen
525
+ Helen Ellie
526
+ Helen Lena
527
+ Heloise Eloise
528
+ Heloise Elouise
529
+ Heloise Lois
530
+ Henrietta Etta
531
+ Henrietta Etty
532
+ Henrietta Hank
533
+ Henrietta Nettie
534
+ Henrietta Retta
535
+ Henry Hal
536
+ Henry Hank
537
+ Henry Harry
538
+ Hephsibah Hipsie
539
+ Hepsibah Hipsie
540
+ Herbert Bert
541
+ Herbert Herb
542
+ Hermione Hermie
543
+ Hester Esther
544
+ Hester Hessy
545
+ Hester Hetty
546
+ Hezekiah Hez
547
+ Hezekiah Hy
548
+ Hezekiah Kiah
549
+ Hiram Hy
550
+ Hopkins Hop
551
+ Hopkins Hopp
552
+ Horace Horry
553
+ Hubert Bert
554
+ Hubert Hub
555
+ Hubert Hugh
556
+ Ignatius Iggy
557
+ Ignatius Nace
558
+ Ignatius Nate
559
+ Ignatius Natius
560
+ Irene Rena
561
+ Irving Irv
562
+ Isaac Ike
563
+ Isaac Zeke
564
+ Isabel Bell
565
+ Isabel Bella
566
+ Isabel Belle
567
+ Isabel Ib
568
+ Isabel Issy
569
+ Isabella Bella
570
+ Isabella Belle
571
+ Isabella Ib
572
+ Isabella Issy
573
+ Isabella Nib
574
+ Isabella Nibby
575
+ Isabella Tibbie
576
+ Isabelle Bella
577
+ Isabelle Belle
578
+ Isabelle Ib
579
+ Isabelle Issy
580
+ Isabelle Nib
581
+ Isabelle Nibby
582
+ Isabelle Tibbie
583
+ Isabel Nib
584
+ Isabel Nibby
585
+ Isabel Tibbie
586
+ Isadora Dora
587
+ Isadora Issy
588
+ Isidore Izzy
589
+ Jacob Jaap
590
+ Jacob Jake
591
+ Jacob Jay
592
+ Jacobus Jacob
593
+ James Jamie
594
+ James Jem
595
+ James Jim
596
+ James Jimmie
597
+ James Jimmy
598
+ Jane Janie
599
+ Jane Jean
600
+ Jane Jennie
601
+ Jane Jessie
602
+ Janet Jan
603
+ Janet Jessie
604
+ Janice Jan
605
+ Jason Jay
606
+ Jeanette Janet
607
+ Jeanette Jean
608
+ Jeanette Jessie
609
+ Jeanette Nettie
610
+ Jean Jane
611
+ Jean Jeannie
612
+ Jeanne Jane
613
+ Jeanne Jeannie
614
+ Jedidiah Jed
615
+ Jefferson Jeff
616
+ Jefferson Sonny
617
+ Jeffrey Geoff
618
+ Jeffrey Jeff
619
+ Jehiel Hiel
620
+ Jemima Mima
621
+ Jennifer Jennie
622
+ Jeremiah Jereme
623
+ Jeremiah Jerry
624
+ Jessica Jessie
625
+ Joan Jo
626
+ Joanna Hannah
627
+ Joanna Jo
628
+ Joanna Joan
629
+ Joanna Jody
630
+ Joanne Jo
631
+ Joann Jo
632
+ Joan Nonie
633
+ Johannah Hannah
634
+ Johannah Joan
635
+ Johannah Jody
636
+ Johannah Nonie
637
+ Johanna Jo
638
+ John Jack
639
+ John Jock
640
+ John Johnny
641
+ Jonathan John
642
+ Jonathan Nathan
643
+ Jon John
644
+ Jon Nathan
645
+ Josephine Fina
646
+ Josephine Jo
647
+ Josephine Jody
648
+ Josephine Joey
649
+ Josephine Josey
650
+ Joseph Jody
651
+ Joseph Joe
652
+ Joseph Joey
653
+ Joseph Jos
654
+ Joshua Jos
655
+ Joshua Josh
656
+ Josiah Jos
657
+ Joyce Joy
658
+ Juanita Nettie
659
+ Juanita Nita
660
+ Judson Jud
661
+ Judson Sonny
662
+ Julia Jill
663
+ Julia Julie
664
+ Julian Jule
665
+ Julias Jule
666
+ Junior JR
667
+ Junior June
668
+ Junior Junie
669
+ Kasey K
670
+ Katelin Kate
671
+ Katelin Kay
672
+ Katelin Kaye
673
+ Katelyn Kate
674
+ Katelyn Kay
675
+ Katelyn Kaye
676
+ Katherine Cassie
677
+ Katherine Cathy
678
+ Katherine Kate
679
+ Katherine Kathy
680
+ Katherine Katy
681
+ Katherine Kay
682
+ Katherine Kaye
683
+ Katherine Kit
684
+ Katherine Kittie
685
+ Katherine Lena
686
+ Katherine Trina
687
+ Kathleen Cassie
688
+ Kathleen Cathy
689
+ Kathleen Kathy
690
+ Kathleen Katy
691
+ Kathleen Kay
692
+ Kathleen Kit
693
+ Kathleen Kittie
694
+ Kathleen Lena
695
+ Kathleen Trina
696
+ Kathryn Kathy
697
+ Kendall Ken
698
+ Kendall Kenny
699
+ Kenneth Ken
700
+ Kenneth Kendrick
701
+ Kenneth Kenny
702
+ Kent Ken
703
+ Kent Kendrick
704
+ Kent Kenny
705
+ Keziah Kizza
706
+ Keziah Kizzie
707
+ Kimberley Kim
708
+ Kimberly Kim
709
+ Kingsley King
710
+ Kingston King
711
+ Kristen Chris
712
+ Kristin Chris
713
+ Kristine Chris
714
+ Kristine Christy
715
+ Kristine Crissy
716
+ Kristine Kris
717
+ Kristine Kristy
718
+ Kristine Tina
719
+ Kristy Chris
720
+ Lafayette Fate
721
+ Lafayette Laffie
722
+ Lamont Monty
723
+ Laurence Larry
724
+ Laurence Lon
725
+ Laurence Lonny
726
+ Laurence Lorne
727
+ Laurence Lorry
728
+ Lavina Ina
729
+ Lavina Vina
730
+ Lavina Viney
731
+ Lavinia Ina
732
+ Lavinia Vina
733
+ Lavinia Viney
734
+ Lawrence Larry
735
+ Lawrence Lon
736
+ Lawrence Lonny
737
+ Lawrence Lorne
738
+ Lawrence Lorry
739
+ Lemuel Lem
740
+ Lenora Lee
741
+ Lenora Nora
742
+ Leonard Len
743
+ Leonard Lenny
744
+ Leonard Leo
745
+ Leonard Leon
746
+ Leonard Lineau
747
+ LeRoy L
748
+ LeRoy Lee
749
+ LeRoy Roy
750
+ Leslie Les
751
+ Lester Les
752
+ Letitia Lettice
753
+ Letitia Lettie
754
+ Letitia Tish
755
+ Letitia Titia
756
+ Levi Lee
757
+ Lidia Lyddy
758
+ Lillah Lil
759
+ Lillah Lilly
760
+ Lillah Lily
761
+ Lillah Lolly
762
+ Lillian Lil
763
+ Lillian Lilly
764
+ Lillian Lolly
765
+ Lincoln Link
766
+ Linda Lindy
767
+ Linda Lynn
768
+ Lisa Alice
769
+ Lisa Melissa
770
+ Lois Louise
771
+ Lorenzo Loren
772
+ Loretta Etta
773
+ Loretta Lorrie
774
+ Loretta Retta
775
+ Lorraine Lorrie
776
+ Louisa Eliza
777
+ Louisa Lois
778
+ Louisa Lou
779
+ Louise Eliza
780
+ Louise Lois
781
+ Louise Lou
782
+ Lucas Luke
783
+ Lucias Luke
784
+ Lucille Cille
785
+ Lucille Lou
786
+ Lucille Lu
787
+ Lucille Lucy
788
+ Lucinda Cindy
789
+ Lucinda Lou
790
+ Lucinda Lu
791
+ Lucinda Lucy
792
+ Luella Ella
793
+ Luella Lu
794
+ Luella Lula
795
+ Luther Luke
796
+ Lydia Lyddy
797
+ Lyndon Lindy
798
+ Lyndon Lynn
799
+ Madeline Lena
800
+ Madeline Maddy
801
+ Madeline Madge
802
+ Madeline Magda
803
+ Madeline Maggie
804
+ Magdelina Lena
805
+ Magdelina Madge
806
+ Magdelina Magda
807
+ Mahala Hallie
808
+ Marcus Mark
809
+ Margaret Daisy
810
+ Margaret Gretta
811
+ Margaret Madge
812
+ Margaret Maggie
813
+ Margaret Maggy
814
+ Margaret Marge
815
+ Margaret Margery
816
+ Margaret Margie
817
+ Margaret Margy
818
+ Margaret Meg
819
+ Margaret Midge
820
+ Margaret Peg
821
+ Margaret Peggy
822
+ Margaret Rita
823
+ Margaretta Daisy
824
+ Margaretta Gretta
825
+ Margaretta Madge
826
+ Margaretta Maggie
827
+ Margaretta Marge
828
+ Margaretta Margery
829
+ Margaretta Margie
830
+ Margaretta Meg
831
+ Margaretta Midge
832
+ Margaretta Peg
833
+ Margaretta Peggy
834
+ Margaretta Rita
835
+ Marjorie Margie
836
+ Marjorie Margy
837
+ Martha Marty
838
+ Martha Mat
839
+ Martha Mattie
840
+ Martha Patsy
841
+ Martha Patty
842
+ Martina Tina
843
+ Martin Marty
844
+ Marvin Marv
845
+ Mary Mae
846
+ Mary Mamie
847
+ Mary Mitzi
848
+ Mary Molly
849
+ Mary Polly
850
+ Matilda Matty
851
+ Matilda Maud
852
+ Matilda Tilly
853
+ Matthew Matt
854
+ Matthew Mattie
855
+ Matthew Matty
856
+ Matthew Thias
857
+ Matthew Thys
858
+ Matthias Matt
859
+ Matthias Thias
860
+ Matthias Thys
861
+ Maurice Morey
862
+ Mehitabel Hetty
863
+ Mehitabel Hitty
864
+ Mehitabel Mabel
865
+ Mehitabel Mitty
866
+ Melinda Linda
867
+ Melinda Lindy
868
+ Melinda Lynn
869
+ Melinda Mel
870
+ Melinda Mindy
871
+ Melissa Lisa
872
+ Melissa Lissa
873
+ Melissa Mel
874
+ Melissa Milly
875
+ Melissa Missy
876
+ Mervyn Merv
877
+ Michael Micah
878
+ Michael Mick
879
+ Michael Micky
880
+ Michael Mike
881
+ Michelle Mickey
882
+ Mildred Milly
883
+ Millicent Milly
884
+ Millicent Missy
885
+ Minerva Minnie
886
+ Miranda Mandy
887
+ Miranda Mira
888
+ Miranda Randy
889
+ Miriam Mimi
890
+ Miriam Mitzi
891
+ Mitchell Mitch
892
+ Montgomery Gum
893
+ Montgomery Monty
894
+ Morris Morey
895
+ Nancy Ann
896
+ Nancy Nan
897
+ Napoleon Leon
898
+ Napoleon Nap
899
+ Napoleon Nappy
900
+ Natalie Natty
901
+ Natalie Nettie
902
+ Nathaniel Nat
903
+ Nathaniel Nate
904
+ Nathaniel Nathan
905
+ Nathaniel Natty
906
+ Nathaniel Than
907
+ Nathan Nat
908
+ Nathan Nate
909
+ Nicholas Claas
910
+ Nicholas Claes
911
+ Nicholas Nick
912
+ Norbert Bert
913
+ Norbert Norby
914
+ Obadiah Diah
915
+ Obadiah Dyer
916
+ Obadiah Obed
917
+ Obadiah Obie
918
+ Olive Livia
919
+ Olive Nollie
920
+ Olive Ollie
921
+ Oliver Ollie
922
+ Olivia Livia
923
+ Olivia Nollie
924
+ Olivia Ollie
925
+ Oswald Ossy
926
+ Oswald Ozzy
927
+ Oswald Waldo
928
+ Pamela Pam
929
+ Parmelia Amelia
930
+ Parmelia Melia
931
+ Parmelia Milly
932
+ Patience Pat
933
+ Patience Patty
934
+ Patricia Pat
935
+ Patricia Patsy
936
+ Patricia Patty
937
+ Patricia Tricia
938
+ Patrick Paddy
939
+ Patrick Pat
940
+ Patrick Pate
941
+ Patrick Patsy
942
+ Patrick Peter
943
+ Paula Lina
944
+ Paula Polly
945
+ Paulina Lina
946
+ Paulina Polly
947
+ Pelegrine Perry
948
+ Penelope Penny
949
+ Percival Percy
950
+ Peter Pate
951
+ Peter Pete
952
+ Philetus Leet
953
+ Philetus Phil
954
+ Philinda Linda
955
+ Philinda Lindy
956
+ Philinda Lynn
957
+ Philip Phil
958
+ Phillip Phil
959
+ Prescott Pres
960
+ Prescott Scott
961
+ Prescott Scotty
962
+ Priscilla Cilla
963
+ Priscilla Cissy
964
+ Priscilla Prissy
965
+ Prudence Prudy
966
+ Prudence Prue
967
+ Rachel Shelly
968
+ Rafaela Rafa
969
+ Randolph Dolph
970
+ Randolph Randy
971
+ Raphael Ralph
972
+ Raymond Ray
973
+ Rebecca Becca
974
+ Rebecca Beck
975
+ Rebecca Becky
976
+ Rebecca Reba
977
+ Regina Gina
978
+ Reginald Naldo
979
+ Reginald Reg
980
+ Reginald Reggie
981
+ Reginald Renny
982
+ Regina Reggie
983
+ Relief Leafa
984
+ Reuben Rube
985
+ Ricardo Rick
986
+ Ricardo Ricky
987
+ Richard Dick
988
+ Richard Dickie
989
+ Richard Dickon
990
+ Richard Dicky
991
+ Richard Rich
992
+ Richard Rick
993
+ Richard Ricky
994
+ Roberta Bert
995
+ Roberta Bertie
996
+ Roberta Birdie
997
+ Roberta Bobbie
998
+ Roberta Robbie
999
+ Robert Bob
1000
+ Robert Bobby
1001
+ Robert Dob
1002
+ Robert Dobbin
1003
+ Robert Hob
1004
+ Robert Hobkin
1005
+ Robert Rob
1006
+ Rodger Bobby
1007
+ Rodger Hodge
1008
+ Rodger Robby
1009
+ Rodger Robin
1010
+ Rodger Rod
1011
+ Rodger Roge
1012
+ Rodger Rupert
1013
+ Roger Bobby
1014
+ Roger Hodge
1015
+ Roger Robby
1016
+ Roger Robin
1017
+ Roger Rod
1018
+ Roger Roge
1019
+ Roger Rupert
1020
+ Roland Lanny
1021
+ Roland Orlando
1022
+ Roland Rollo
1023
+ Roland Rolly
1024
+ Ronald Naldo
1025
+ Ronald Ron
1026
+ Ronald Ronny
1027
+ Rosabel Belle
1028
+ Rosabella Belle
1029
+ Rosabella Rosa
1030
+ Rosabella Rose
1031
+ Rosabella Roz
1032
+ Rosabel Rosa
1033
+ Rosabel Rose
1034
+ Rosabel Roz
1035
+ Rosalinda Linda
1036
+ Rosalinda Rosa
1037
+ Rosalinda Rose
1038
+ Rosalinda Roz
1039
+ Rosalyn Linda
1040
+ Rosalyn Rosa
1041
+ Rosalyn Rose
1042
+ Rosalyn Roz
1043
+ Roseanna Ann
1044
+ Roseann Ann
1045
+ Roseanna Rose
1046
+ Roseanna Rosie
1047
+ Roseanna Roz
1048
+ Roseanne Ann
1049
+ Roseann Rose
1050
+ Roseann Rosie
1051
+ Roseann Roz
1052
+ Roxanna Ann
1053
+ Roxanna Rose
1054
+ Roxanna Roxie
1055
+ Roxanne Ann
1056
+ Roxanne Rose
1057
+ Roxanne Roxie
1058
+ Rudolph Dolph
1059
+ Rudolph Olph
1060
+ Rudolph Rolf
1061
+ Rudolph Rudy
1062
+ Rudolphus Dolph
1063
+ Rudolphus Olph
1064
+ Rudolphus Rolf
1065
+ Rudolphus Rudy
1066
+ Russell Russ
1067
+ Russell Rusty
1068
+ Sabrina Brina
1069
+ Samuel Sam
1070
+ Samuel Sammy
1071
+ Sandra Cassandra
1072
+ Sandra Sandy
1073
+ Sarah Sadie
1074
+ Sarah Sally
1075
+ Serena Rena
1076
+ Seymour Morey
1077
+ Seymour See
1078
+ Shelton Shel
1079
+ Shelton Shelly
1080
+ Shelton Tony
1081
+ Sheridan Dan
1082
+ Sheridan Danny
1083
+ Sheridan Sher
1084
+ Sheryl Sherry
1085
+ Shirley Lee
1086
+ Shirley Sherry
1087
+ Shirley Shirl
1088
+ Sidney Sid
1089
+ Sidney Syd
1090
+ Silas Si
1091
+ Simeon Si
1092
+ Simeon Sion
1093
+ Simon Si
1094
+ Simon Sion
1095
+ Smith Smitty
1096
+ Solomon Sal
1097
+ Solomon Salmon
1098
+ Solomon Saul
1099
+ Solomon Sol
1100
+ Solomon Solly
1101
+ Solomon Zolly
1102
+ Sophia Sophie
1103
+ Stephan Steve
1104
+ Stephen Steph
1105
+ Stephen Steve
1106
+ Steven Steph
1107
+ Steven Steve
1108
+ Stuart Stu
1109
+ Submit Mitty
1110
+ Sullivan Sully
1111
+ Sullivan Van
1112
+ Susan Hannah
1113
+ Susannah Hannah
1114
+ Susannah Sue
1115
+ Susannah Sukey
1116
+ Susannah Susie
1117
+ Susan Sue
1118
+ Susan Sukey
1119
+ Susan Susie
1120
+ Susan Suzie
1121
+ Sylvester Si
1122
+ Sylvester Sly
1123
+ Sylvester Sy
1124
+ Sylvester Syl
1125
+ Sylvester Vessie
1126
+ Sylvester Vester
1127
+ Sylvester Vet
1128
+ Tabitha Tabby
1129
+ Terence Terry
1130
+ Teresa Terry
1131
+ Thaddeus Thad
1132
+ Theodore Ted
1133
+ Theodore Teddy
1134
+ Theodore Theo
1135
+ Theresa Terry
1136
+ Theresa Tess
1137
+ Theresa Tessa
1138
+ Theresa Tessie
1139
+ Theresa Thirza
1140
+ Theresa Thursa
1141
+ Theresa Tracy
1142
+ Thomas Thom
1143
+ Thomas Tom
1144
+ Thomas Tommy
1145
+ Thom Tom
1146
+ Thom Tommy
1147
+ Timothy Tim
1148
+ Timothy Timmy
1149
+ Tobias Bias
1150
+ Tobias Toby
1151
+ Tryphena Phena
1152
+ Uriah Riah
1153
+ Valentine Felty
1154
+ Valerie Val
1155
+ Valeri Val
1156
+ Vanessa Essa
1157
+ Vanessa Nessa
1158
+ Vanessa Vanna
1159
+ Veronica Franky
1160
+ Veronica Frony
1161
+ Veronica Ron
1162
+ Veronica Ronie
1163
+ Veronica Ronna
1164
+ Veronica Ronnie
1165
+ Veronica Vonnie
1166
+ Victoria Torie
1167
+ Victoria Tory
1168
+ Victoria Vic
1169
+ Victoria Vicki
1170
+ Victoria Vicky
1171
+ Victor Vic
1172
+ Vincent Vic
1173
+ Vincent Vin
1174
+ Vincent Vince
1175
+ Vincent Vinnie
1176
+ Vincent Vinny
1177
+ Vincenzo Vic
1178
+ Vincenzo Vin
1179
+ Vincenzo Vinnie
1180
+ Vincenzo Vinny
1181
+ Vinson Vinny
1182
+ Virginia Ginger
1183
+ Virginia Ginny
1184
+ Virginia Jane
1185
+ Virginia Jennie
1186
+ Virginia Virgy
1187
+ Wallace Wally
1188
+ Walter Wally
1189
+ Walter Walt
1190
+ Washington Wash
1191
+ Wilber Bert
1192
+ Wilber Will
1193
+ Wilbur Willie
1194
+ Wilbur Willy
1195
+ Wilfred Fred
1196
+ Wilfred Will
1197
+ Wilfred Willie
1198
+ Wilhelmina Mina
1199
+ Wilhelmina Minnie
1200
+ Wilhelmina Willie
1201
+ Wilhelmina Wilma
1202
+ Will Fred
1203
+ William Bela
1204
+ William Bell
1205
+ William Bill
1206
+ William Billy
1207
+ William Will
1208
+ William Willie
1209
+ William Willy
1210
+ Willie Fred
1211
+ Wilson Will
1212
+ Wilson Willie
1213
+ Wilson Willy
1214
+ Winfield Field
1215
+ Winfield Win
1216
+ Winfield Winny
1217
+ Winifred Freddie
1218
+ Winifred Winnet
1219
+ Winifred Winnie
1220
+ Winnifred Fred
1221
+ Winnifred Freddie
1222
+ Winnifred Freddy
1223
+ Winnifred Winnie
1224
+ Winnifred Winny
1225
+ Woodrow Drew
1226
+ Woodrow Wood
1227
+ Woodrow Woody
1228
+ Yvonne Vonna
1229
+ Zachariah Zach
1230
+ Zachariah Zachy
1231
+ Zachariah Zeke
1232
+ Zebedee Zeb
1233
+ Zedediah Diah
1234
+ Zedediah Dyer
1235
+ Zedediah Zed
1236
+ Zephaniah Zeph
1237
+ } unless const_defined?(:NAME_EQUIVALENCE_STRING)
1238
+
1239
+ # start building dictionary
1240
+ unless const_defined?(:NAME_EQUIVALENCE_HASH)
1241
+ hash_table = {}
1242
+ NAME_EQUIVALENCE_STRING.lines.each do |line|
1243
+ a, b = line.strip.downcase.split(/\s+/)
1244
+ hash_table[a] ||= []
1245
+ hash_table[a] << b unless hash_table[a].include?(b)
1246
+ hash_table[b] ||= []
1247
+ hash_table[b] << a unless hash_table[b].include?(a)
1248
+ end
1249
+ # freeze values
1250
+ hash_table.each { |k, v| v.freeze }
1251
+ NAME_EQUIVALENCE_HASH = hash_table
1252
+ NAME_EQUIVALENCE_HASH.freeze
1253
+ end
1254
+ # complete building dictionary
1255
+
1256
+ def get_name_equivalence(name)
1257
+ list = NAME_EQUIVALENCE_HASH[name.downcase] || []
1258
+ list.dup
1259
+ end
1260
+
1261
+ extend self
1262
+
1263
+ end
1264
+ end