1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Add p5-Lingua-EN-MatchNames 1.1, smart matching for human names.

PR:		33379
Submitted by:	Seamus Venasse <svenasse@polaris.ca>
This commit is contained in:
Pete Fritchman 2002-06-08 22:33:42 +00:00
parent 02e74a11f2
commit 330c9e4d73
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60916
6 changed files with 53 additions and 0 deletions

View File

@ -129,6 +129,7 @@
SUBDIR += p5-Lingua-EN-Gender
SUBDIR += p5-Lingua-EN-Infinitive
SUBDIR += p5-Lingua-EN-Inflect
SUBDIR += p5-Lingua-EN-MatchNames
SUBDIR += p5-Lingua-EN-NameCase
SUBDIR += p5-Lingua-EN-NameParse
SUBDIR += p5-Lingua-EN-Nickname

View File

@ -0,0 +1,29 @@
# New ports collection makefile for: Lingua::EN::MatchNames
# Date created: 30 Dec 2001
# Whom: Seamus Venasse <svenasse@polaris.ca>
#
# $FreeBSD$
#
PORTNAME= Lingua-EN-MatchNames
PORTVERSION= 1.1
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Lingua
PKGNAMEPREFIX= p5-
MAINTAINER= svenasse@polaris.ca
BUILD_DEPENDS= ${SITE_PERL}/Lingua/EN/NameParse.pm:${PORTSDIR}/textproc/p5-Lingua-EN-NameParse \
${SITE_PERL}/Lingua/EN/Nickname.pm:${PORTSDIR}/textproc/p5-Lingua-EN-Nickname \
${SITE_PERL}/${PERL_ARCH}/String/Approx.pm:${PORTSDIR}/devel/p5-String-Approx \
${SITE_PERL}/${PERL_ARCH}/Text/Metaphone.pm:${PORTSDIR}/textproc/p5-Text-Metaphone
RUN_DEPENDS= ${BUILD_DEPENDS}
SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
PERL_CONFIGURE= yes
MAN3= Lingua::EN::MatchNames.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Lingua-EN-MatchNames-1.1.tar.gz) = 9c41dcb7d359cc8875a63a850ce0143f

View File

@ -0,0 +1 @@
Smart matching for human names

View File

@ -0,0 +1,14 @@
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.
WWW: http://search.cpan.org/search?dist=Lingua-EN-MatchNames
Seamus Venasse <svenasse@polaris.ca>

View File

@ -0,0 +1,7 @@
lib/perl5/site_perl/%%PERL_VER%%/Lingua/EN/MatchNames.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua/EN/MatchNames/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua/EN/MatchNames
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua/EN 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Lingua/EN 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Lingua 2>/dev/null || true