odd and incorrect substitutions in clean_text() function
simonatdrg opened this issue · comments
SimonR commented
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
Titipat Achakulvisut commented
Oh! Thanks for pointing out @simonatdrg. I was concerned about affiliation string such as 2. Department of ...
. I'll make changes on that!