python-nameparser icon indicating copy to clipboard operation
python-nameparser copied to clipboard

SUFFIX_ACRONYMS member "apn aprn"

Open shartzog opened this issue 1 year ago • 0 comments

I'm parsing a lot of anesthesia provider names and found that the credential 'APRN' wasn't getting properly identified as a suffix out of the box. I've already addressed the issue in my codebase by adding:

from nameparser.config import CONSTANTS

CONSTANTS.suffix_acronyms.add("aprn")

to the top of my module, but noticed what might be a bug in the nameparser codebase when investigating a different issue (more on that in a separate issue ;)). Shouldn't this line actually be split into two separate lines, one for "apn" and one for "aprn"?

shartzog avatar Aug 28 '24 17:08 shartzog