opennlp.tools.postag
Class POSEventCollector

java.lang.Object
  extended by opennlp.tools.postag.POSEventCollector
All Implemented Interfaces:
opennlp.model.EventCollector

Deprecated.

@Deprecated
public class POSEventCollector
extends Object
implements opennlp.model.EventCollector

An event generator for the maxent POS Tagger.

Version:
$Revision: 1.2 $, $Date: 2009/01/24 01:32:19 $
Author:
Gann Bierner

Constructor Summary
POSEventCollector(Reader data, POSContextGenerator gen)
          Deprecated. Initializes the current instance.
 
Method Summary
static Pair<List<String>,List<String>> convertAnnotatedString(String s)
          Deprecated.  
 opennlp.model.Event[] getEvents()
          Deprecated.  
 opennlp.model.Event[] getEvents(boolean evalMode)
          Deprecated. Builds up the list of features using the Reader as input.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POSEventCollector

public POSEventCollector(Reader data,
                         POSContextGenerator gen)
Deprecated. 
Initializes the current instance.

Parameters:
data -
gen -
Method Detail

convertAnnotatedString

public static Pair<List<String>,List<String>> convertAnnotatedString(String s)
Deprecated. 

getEvents

public opennlp.model.Event[] getEvents()
Deprecated. 
Specified by:
getEvents in interface opennlp.model.EventCollector

getEvents

public opennlp.model.Event[] getEvents(boolean evalMode)
Deprecated. 
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.model.EventCollector


Copyright © 2010. All Rights Reserved.