Universe

Sentence Segmenter

Custom sentence segmentation for spaCy

Example

from seg.newline.segmenter import NewLineSegmenter import spacy nlseg = NewLineSegmenter() nlp = spacy.load('en') nlp.add_pipe(nlseg.set_sent_starts, name='sentence_segmenter', before='parser') doc = nlp(my_doc_text)
Author info

tc64

Categories pipeline

Submit your project

If you have a project that you want the spaCy community to make use of, you can suggest it by submitting a pull request to the spaCy website repository. The Universe database is open-source and collected in a simple JSON file. For more details on the formats and available fields, see the documentation. Looking for inspiration your own spaCy plugin or extension? Check out the project idea label on the issue tracker.

Read the docsJSON source