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

odd and incorrect substitutions in clean_text() function #10

Open
simonatdrg opened this issue Mar 14, 2018 · 1 comment
Open

odd and incorrect substitutions in clean_text() function #10

simonatdrg opened this issue Mar 14, 2018 · 1 comment

Comments

@simonatdrg
Copy link

Why are the lines
affil_text = re.sub('2 ', ' ', affil_text)
affil_text = re.sub('2. ', ' ', affil_text)
present ?

They create incorrect zip code results with an afiiliation string such as
'Department of Audiology, Speech-Language Pathology & Deaf Studies, Towson University, Towson, MD 21252, USA. ' as the zipcode is incorrectly modified

@titipata
Copy link
Owner

Oh! Thanks for pointing out @simonatdrg. I was concerned about affiliation string such as 2. Department of .... I'll make changes on that!

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