Quotation mark at the beginning of a sentence breaks segmentation
arp opened this issue · comments
Artur Pyrogovskyi commented
Example:
text = '"These should be two different sentences. Of course."'
s = PragmaticSegmenter::Segmenter.new(text: text)
s.segment
# RETURNS:
["\"These should be two different sentences. Of course.\""]
# SHOULD RETURN:
["\"These should be two different sentences.", "Of course.\""]