Lingua-EN-NameParse

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


1.25 2 Jul 2010
   Changed the parse method to match the documentation. It was returning a name
   object and an error flag, when only the flag was required. Note that this
   caused no problem if used as documented, the error value was still assigned
   correctly, and the name object assigned to nothing. Thanks to Chris Prather.

   Added 'use warnings' to modules

1.24 6 Jan 2008
    Removed one more use to $_  in case_surname subroutine. Thanks to Ben Martin

1.23 23 Nov 2006
    components method now returns undef if name cannot be parsed. Thanks to Patrick Kane.
    Stopped assigning to $_  in case_surname subroutine. Thanks to Richard Walker
    Created examples folder
    Fixed alignment problem in report method
    Removed optional title from John_Adam_Smith name type

1.22 12 Jul 2005
    Added the Mr_John_Smith_&_Ms_Mary_Jones name type
    Added the John_Smith_&_Mary_Jones name type
    Added the John_&_Mary_Smith name type
    Added the A_Smith_&_B_Jones name type
    Updated distribution to current CPAN requirements

1.21 20 May 2005
    Fixed bug that was creating a name cased surname of O'sullivan, now O'Sullivan
    Added report method to dump all name properties and components
    Added several new suffixes such as PhD

1.20 16 Feb 2004
    Fixed bug that was preventing some extended titles, such as 'Major General'
    from working

1.19 27 Dec 2003
    Fixed bug in rules.t, thanks to Assad Arnaud
    Added more valid surnames in _valid_name, thanks to Peter Schendzielorz


1.18 28 Mar 2002
    Fixed bug in rules.t, thanks to Assad Arnaud
    Added more reserved words
    Added option to use a limited set of common titles (improves speed)


1.17 21 Mar 2002:
    Added option to remove joint names from grammar (100% speed improvement!)
    NOTE that by default, joint names (Mr & Mrs AB Smith) are not recognized

    Applied correct capitalization to single possessive word, such as French's
    Added Dalle, dela and dall' to list of Italian surname prefixes
    Added San to list of Spanish surname prefixes
    Detect reserved words, such as Pty Ltd in pre parse stage


1.16 24 Sep 2001:
    Minor additions to README file

1.15 25 Jul 2001:
    Added more complete list to surname_prefs.txt

    Allowed for a surname prefix of Dell', as in Dell'Arte

    Added case_all_reversed method to return name in the format of
    surname, initials and/or given_names, useful for alphabetical sorting

    Length of given name set to at least 2 characters for name type John_A_Smith
    Names such as "Al B Jones" now parse correctly

    Length of given name set to at least 2 characters for name type John_Adam_Smith
    Names such as "Al Brian Jones" now parse correctly

    Created a new token for middle names, at least 2 characters long and a look
    ahead to exclude prefixes. Names such as "Mary Jo White" and
    "John Van Der Wald" now parse correctly


1.14 19 Jul 2001:
    Moved prefixes and suffixes back into grammar tree to stop invalid combinations
    Removed pre parse stage
    Changed case_surname to correctly capitalize suffixes in roman numeral format
    Removed POD directives from README
    Added J_Adam_Smith name type, thanks to Michael Cesar

1.13 25 Apr 2001:

    Initialised values for all parsed name components to empty string
    Fixed POD errors, thanks to Jason Gallagher

1.12  4 Apr 2001:
    Allowed for titles in John_Adam_Smith name type (they were  being consumed to early as given names).
    Fixed some incorrect title regular expressions
    Added 'dela' to list of surname Italian prefixes

1.11 24 Feb 2001:
    Fixed bug in Makefile.PL, caused by omission of NameGrammar.pm

1.10 22 Feb 2001:
    Allowed for apostrophes in given names, like D'Artagnan
    Fixed bug for suffixes in 'John_Smith' name type
    Added the John_Adam_Smith name type

    Added correct capitalization of possessive proper names such as
    Australia's to case_surname. Thanks to Dennis Ingram.

    Precursors and suffixes now detected in pre-parsing stage
    Removed precursor and suffix tree from grammar
    Removed Senior and Junior as suffixes, as they are valid surnames
    Extended range of suffixes in roman numeral format
    Moved grammar definition to separate module

1.05  7 Jan 2001:
    Updated README file
    Added test of lower casing prefixes to rules.t

1.04 10 Dec 2000:
    Allowed for reversed order names where the surname appears first, followed
    by a comma and the remaining components of  the name, such as title,
    first name, initials etc.



( run in 0.535 second using v1.01-cache-2.11-cpan-5a3173703d6 )