-
-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Milestone
Description
Hi,
While using HumanNameParser, I noticed that some name parts in names such as "Ruvin Phidd" are incorrectly identified as postnominals.
The cause is that the default postnominals
public static final List<String> DEFAULT_POSTNOMINALS = Collections.unmodifiableList(
Arrays.asList(
"phd",
"ph.d.",
"ph.d",
"esq",
"esquire",
"apr",
"rph",
"pe",
"md",
"ma",
"dmd",
"cme",
"dds",
"cpa",
"dvm"));
contains periods (.), which are interpreted as wildcard characters when parsed as regular expressions. As a result, unexpected matches occur during name parsing.
I have created a pull request to address this issue:
#17