Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MatchNames(3)	      User Contributed Perl Documentation	 MatchNames(3)

NAME
       Lingua::EN::MatchNames -	Smart matching for human names.

SYNOPSIS
	 use Lingua::EN::MatchNames;

	 $score= name_eq( $firstn_0, $lastn_0, $firstn_1, $lastn_1 );

DESCRIPTION
       You have	two databases of person	records	that need to be	synchronized
       or matched up, but they use different keys--maybe one uses SSN and the
       other uses employee id.	The only fields	you have to match on are first
       and last	name.

       That's what this	module is for.

       Just feed the first and last names to the "name_eq()" function, and it
       returns "undef" for no possible match, and a percentage of certainty
       (rank) otherwise.  The ranking system isn't very	scientific, and	gender
       isn't considered, though	it probably should be.

       The "name_eq()" function, checks	for:

       o   inconsistent	case (MacHenry = Machenry = MACHENRY)

       o   inconsistent	symbols	(O'Brien = Obrien = O BRIEN)

       o   misspellings	(Grene = Green)

       o   last	name hyphenation (Smith-Curry =	Curry)

       o   similar phonetics (Hanson = Hansen)

       o   nicknames (Midge = Peggy = Margaret)

       o   extraneous initials (H. Ross	= Ross)

       o   extraneous suffixes (Reed, Jr. = Reed II = Reed)

       o   and more...

   Preliminary Tests:
	 Homer Simpson HOMER SIMPOSN: 77
	 Marge Simpson MIDGE SIMPSON: 81
	 Brian Lalonde BRYAN LA	LONDE: 82
	 Brian Lalonde RYAN LALAND: 72
	 Peggy MacHenry	Midge Machenry:	81
	 Liz Grene Elizabeth Green: 72
	 Chuck Reed, Jr. Charles Reed II: 82
	 Kathy O'Brien Catherine Obrien: 81
	 Lizzie	Hanson Lisa Hanson: 91
	 H. Ross Perot Ross PEROT: 88
	 Kathy Smith-Curry KATIE CURRY:	81
	 Dina Johnson-Warner Dinah J-Warner: 80
	 Leela Miles-Conrad Leela MilesConrad: 86
	 C. Renee Smythe Cathy Smythe: 71
	 Victoria (Honey) Rider	HONEY RIDER: 88
	 Bart Simpson El Barto Simpson:	80
	 Bart Simpson Lisa Simpson: (no	match)
	 Arthur	Dent Zaphod Beeblebrox:	(no match)

WARNING
       The scoring in this version is utterly arbitrary.  I made all of	the
       numbers up.  The	certainty percentages should be	OK relative to each
       other, but would	be better if someone could give	me some	statistical
       data.

       Be sure and test	this against your data first!  Your data may not look
       like my test data.

       And although I hope this	is useful to many, I do	not provide any	kind
       of warranty (expressed or implied), and do not suggest the suitability
       of this module to any particular	purpose.  This module probably should
       not be used for life support or military	purposes, and it must not be
       used for	unsolicited commercial email or	other bulk advertising.

REPOSITORY
       <https://github.com/brianary/Lingua-EN-MatchNames>

AUTHOR
       Brian Lalonde, <brian@webcoder.info>

REQUIREMENTS
       Lingua::EN::NameParse, Lingua::EN::Nickname, Parse::RecDescent,
       String::Approx, Text::Metaphone,	Text::Soundex

SEE ALSO
       perl(1),	Lingua::EN::NameParse, Lingua::EN::Nickname, String::Approx,
       Text::Metaphone,	Text::Soundex

perl v5.24.1			  2015-02-27			 MatchNames(3)

NAME | SYNOPSIS | DESCRIPTION | WARNING | REPOSITORY | AUTHOR | REQUIREMENTS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Lingua::EN::MatchNames&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help