Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Parsing #16

Open
halffloor opened this issue Nov 15, 2020 · 1 comment
Open

Invalid Parsing #16

halffloor opened this issue Nov 15, 2020 · 1 comment

Comments

@halffloor
Copy link

“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

@aeshirey
Copy link
Owner

aeshirey commented Apr 4, 2021

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").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants