opennlp.tools.tokenize
Class TokEventCollector

java.lang.Object
  extended by opennlp.tools.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 tokenization detection. This procedure isn't currrently used for tokenization event creation.

Version:
$Revision: 1.7 $, $Date: 2008/03/05 16:45:13 $
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.

Parameters:
data -
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 2008 Jason Baldridge, Gann Bierner, and Thomas Morton. All Rights Reserved.