I am trying to add an exception to recognize '>>' and '>> ' as an indicator to start a new sentence. For example,
import spacy
nlp = spacy.load('en_core_web_sm')
doc = nlp(u'>> We should. >>No.')
for sent in doc.sents:
print (sent)
It prints out:
>> We should.
>
>
No.
But, I'd like it to print out:
>> We should.
>> No.
Thank you for your time in advance!