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

author_names parser adds extra space to single initial first names #176

Open
tjacovich opened this issue May 5, 2022 · 1 comment
Open
Assignees
Labels

Comments

@tjacovich
Copy link

tjacovich commented May 5, 2022

_normalize_author() method parses all non-whitespace characters as initials. In the case of single initial first names ie. "Stoudenmire, E. M." an extra space is added between the two initials in the normalized author name ie. “Stoudenmire, E  M”. This is due to the regex_author regex parsing the period as a separate initial which is then stripped from the final string.

@tjacovich tjacovich self-assigned this May 5, 2022
@tjacovich tjacovich linked a pull request May 5, 2022 that will close this issue
@tjacovich
Copy link
Author

It is also an issue for hyphenated names ie. "Last, First-Name" -> "Last, F -"

@tjacovich tjacovich added the bug label May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant