opennlp.grok.preprocess.sentdetect
Class EnglishSentenceDetectorME

java.lang.Object
  |
  +--opennlp.grok.preprocess.sentdetect.SentenceDetectorME
        |
        +--opennlp.grok.preprocess.sentdetect.EnglishSentenceDetectorME
All Implemented Interfaces:
opennlp.common.preprocess.Pipelink, opennlp.common.preprocess.SentenceDetector

public class EnglishSentenceDetectorME
extends SentenceDetectorME

A sentence detector which uses a model trained on English data (Wall Street Journal text).

Version:
$Revision: 1.4 $, $Date: 2002/02/08 12:13:37 $
Author:
Jason Baldridge

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

EnglishSentenceDetectorME

public EnglishSentenceDetectorME()
No-arg constructor which loads the English sentence detection model transparently.

Method Detail

main

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."



Copyright © 2003 Jason Baldridge and Gann Bierner. All Rights Reserved.