I would like to use spacy to get the sentences out of a text.
nlp = English() # just the language with no model
sentencizer = nlp.create_pipe("sentencizer")
nlp.add_pipe(sentencizer)
doc = nlp("This is a sentence. This is another sentence.")
for sent in doc.sents:
print(sent.text)
Is it possible to increase the reliability of the sentence splitter bypassing rules as for instance never divides a sentence after an acronym like "no.".
Imagine of course I have a bunch of very technical and particular acronyms.
How would you proceed?