Port of PragmaticSegmenter for sentence boundary detection
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.



Build status

This project is a direct port of Pragmatic Segmenter which provides rule-based sentence boundary detection.


The Segmenter class provides the Segment method which in the simplest usage takes a string:

using PragmaticSegmenterNet;

IReadOnlyList<string> result = Segmenter.Segment("One Sentence. And another sentence.");

// ["One Sentence.", "And another sentence."]


This project wouldn't be possible without the work done by Pragmatic Segmenter team. Any bugs in the code are entirely my fault.