|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--opennlp.grok.preprocess.sentdetect.SentenceDetectorME | +--opennlp.grok.preprocess.sentdetect.EnglishSentenceDetectorME
A sentence detector which uses a model trained on English data (Wall Street Journal text).
Constructor Summary | |
EnglishSentenceDetectorME()
No-arg constructor which loads the English sentence detection model transparently. |
Method Summary | |
static void |
main(java.lang.String[] args)
Perform sentence detection on a string passed in on the command line. |
Methods inherited from class opennlp.grok.preprocess.sentdetect.SentenceDetectorME |
isAcceptableBreak, process, requires, sentDetect, sentPosDetect, train, train |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EnglishSentenceDetectorME()
Method Detail |
public static void main(java.lang.String[] args)
Perform sentence detection on a string passed in on the command line. For example:
java opennlp.grok.preprocess.sentdetect.EnglishSentenceDetectorME "First sentence. Second sentence? Here is another one. And so on and so forth - you get the idea."
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |