NIHOPA / NLPre

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

Expand Parenthetical Sentences #3

Closed HarryBaker closed 7 years ago

HarryBaker commented 7 years ago

Instead of deleting all of the content in a parenthesis, I want to set them as a new sentence to be parsed. This should work for nested parenthesis. Ie, "AB.C(DE.FG)H" would be processed as "AB.CH.DE.FG