We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I believe acronym-based suffixes are being incorrectly capitalized.
> python3 Python 3.8.10 (default, Jun 22 2022, 20:18:18) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import nameparser >>> nameparser.__version__ '1.1.1' >>> n = nameparser.HumanName('GREGORY HOUSE M.D.') >>> n <HumanName : [ title: '' first: 'GREGORY' middle: '' last: 'HOUSE' suffix: 'M.D.' nickname: '' ]> >>> n.capitalize() >>> n <HumanName : [ title: '' first: 'Gregory' middle: '' last: 'House' suffix: 'M.d.' nickname: '' ]> >>>
I believe the suffix should be 'M.D.'
'M.D.'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I believe acronym-based suffixes are being incorrectly capitalized.
I believe the suffix should be
'M.D.'
The text was updated successfully, but these errors were encountered: