The following module was proposed for inclusion in the Module List:
modid: Lingua::EN::TitleParse
DSLIP: adphp
description: Parses people's names to identify titles
userid: PJA (Philip Abrahamson)
chapterid: 11 (String_Lang_Text_Proc)
communities:
https://github.com/vendapja/Lingua-EN-TitleParse
similar:
Lingua::EN::NameParse
rationale:
Firstly, Lingua::EN::TitleParse performs well irrespective of the
number of titles being matched against. While Lingua::EN::NameParse
loops through a series of regular expressions, and suffers when the
set of titles being matched is long, Lingua::EN::TitleParse uses
hash-lookups after "normalising" each name string, providing
consistently good performance.
Secondly, Lingua::EN::TitleParse is only focused on parsing titles
in names, whereas Lingua::EN::NameParse attempts much more. However
the extra intelligence of Lingua::EN::NameParse can come at the cost
of predictablity. Lingua::EN::TitleParse is more conservative, and
by default makes no changes to the case or content (with the
exception of compressing extra white-space) of what was input,
effectively only splitting the input string in two. (But that said,
there is an option to output cleaned titles).
enteredby: PJA (Philip Abrahamson)
enteredon: Fri Nov 8 19:02:20 2013 UTC
The resulting entry would be:
Lingua::EN::
::TitleParse adphp Parses people's names to identify titles PJA
Thanks for registering,
--
The PAUSE
PS: The following links are only valid for module list maintainers:
Registration form with editing capabilities:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=d5e00000_ea4df606eaf3cf53&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=d5e00000_ea4df606eaf3cf53&SUBMIT_pause99_add_mod_insertit=1
Peek at the current permissions:
https://pause.perl.org/pause/authenquery?pause99_peek_perms_by=me&pause99_peek_perms_query=Lingua%3A%3AEN%3A%3ATitleParse