Package opennlp.tools.sentdetect
Class SentenceSample
java.lang.Object
opennlp.tools.sentdetect.SentenceSample
- All Implemented Interfaces:
- Serializable,- Sample
A 
SentenceSample contains a document with
 begin indexes of the individual sentences.- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionSentenceSample(CharSequence document, Span... sentences) Initializes the current instance.SentenceSample(Detokenizer detokenizer, String[][] sentences) 
- 
Method Summary
- 
Constructor Details- 
SentenceSampleInitializes the current instance.- Parameters:
- document- The document represented as plain- CharSequence.
- sentences- One or more- spansthat represent a sentence each.
 
- 
SentenceSample
 
- 
- 
Method Details