NIHOPA / NLPre

Python library for Natural Language Preprocessing (NLPre)
190 stars 34 forks source link

Don't append period to parenthetical content if punctuation already exists #66

Closed HarryBaker closed 7 years ago

HarryBaker commented 7 years ago

Currently the code only checks to see if a period already exists at the end of parenthetical content. Check if other punctuation exists as well (ie, question marks and exclamation points).