opennlp.grok.preprocess.tokenize
Class TokEventCollector

java.lang.Object
  |
  +--opennlp.grok.preprocess.tokenize.TokEventCollector
All Implemented Interfaces:
opennlp.maxent.EventCollector

public class TokEventCollector
extends java.lang.Object
implements opennlp.maxent.EventCollector

Generate event contexts for maxent decisions for sentence detection.

Version:
$Revision: 1.4 $, $Date: 2002/02/11 15:40:16 $
Author:
Jason Baldridge

Constructor Summary
TokEventCollector(java.io.Reader data)
          Class constructor.
 
Method Summary
 opennlp.maxent.Event[] getEvents()
          Builds up the list of features using the Reader as input.
 opennlp.maxent.Event[] getEvents(boolean evalMode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokEventCollector

public TokEventCollector(java.io.Reader data)
Class constructor.

Method Detail

getEvents

public opennlp.maxent.Event[] getEvents()
Builds up the list of features using the Reader as input. For now, this should only be used to create training data.

Specified by:
getEvents in interface opennlp.maxent.EventCollector

getEvents

public opennlp.maxent.Event[] getEvents(boolean evalMode)
Specified by:
getEvents in interface opennlp.maxent.EventCollector


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