Interface ISentenceDetector

Namespace
NOpenNLP.Tools.Sentdetect
Assembly
NOpenNLP.Tools.dll

The interface for sentence detectors, which find the sentence boundaries in a text.

public interface ISentenceDetector

Methods

SentDetect(string)

Sentence detect a string.

string[] SentDetect(string s)

Parameters

s string

The string to be sentence detected.

Returns

string[]

The String[] with the individual sentences as the array elements.

SentPosDetect(string)

Sentence detect a string.

Span[] SentPosDetect(string s)

Parameters

s string

The string to be sentence detected.

Returns

Span[]

The Span[] with the spans (offsets into s) for each detected sentence as the individuals array elements.