Text surrounded by quotes seems to not get segmented?
RuABraun opened this issue · 1 comments
RuABraun commented
>>> 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."']
nipunsadvilkar commented
This is the design choice of pragmatic_segmenter
Refer:
diasks2/pragmatic_segmenter#13