NameParserSharp icon indicating copy to clipboard operation
NameParserSharp copied to clipboard

Invalid Parsing

Open halffloor opened this issue 4 years ago • 1 comments

“JOSEPH J MA SR” is parsed as below

FNAME : JOSEPH LNAME: J SUFFIX: MA SR

instead of

FNAME : JOSEPH MNAME: J LNAME: MA SUFFIX: SR

halffloor avatar Nov 15 '20 03:11 halffloor

This specific example is likely due to "MA" being interpreted as Master of Arts, which is included in the list of suffixes.

A simple fix would be to curate the list of suffixes, which #18 requests. A more involved change could be to be more strict with suffixes, such as requiring more proper suffixes (eg, "ph.d." instead of "phd", or in this example, "m.a." instead of "ma").

aeshirey avatar Apr 04 '21 17:04 aeshirey