nipunsadvilkar/pySBD

Text surrounded by quotes seems to not get segmented?

RuABraun opened this issue · 1 comments

>>> s = '"I just love doing this sort of thing. It\'s great."'
>>> seg.segment(s)
['"I just love doing this sort of thing. It\'s great."']
>>> s = '"I phoned the \'Rape Helpline\' yesterday. They suggested I buy a balaclava."'
>>> seg.segment(s)
['"I phoned the \'Rape Helpline\' yesterday. They suggested I buy a balaclava."']

This is the design choice of pragmatic_segmenter
Refer:
diasks2/pragmatic_segmenter#13