| Constructor and Description |
|---|
SentenceDetector(opennlp.tools.sentdetect.SentenceDetectorME sentenceDetector) |
public SentenceDetector(opennlp.tools.sentdetect.SentenceDetectorME sentenceDetector)
public void analyze(Document document)
AnalyzerFor example, it can search all the sentences in the text or tag every word in a sentence.
analyze in interface Analyzerdocument - contains the whole text given by the user. After an analysis it can store the text's sentences, words or its tags.IllegalArgumentException - if document text is null.Copyright © 2012–2017 CoGrOO. All rights reserved.