opennlp.grok.preprocess.cattag
Class CatEventCollector

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

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

An event generator for the maxent NameFinder.

Version:
$Revision: 1.4 $, $Date: 2002/02/08 12:13:36 $
Author:
Gann Bierner

Constructor Summary
CatEventCollector(java.io.Reader data)
           
 
Method Summary
static opennlp.common.util.Pair convertAnnotatedString(java.lang.String s)
           
 opennlp.maxent.Event[] getEvents()
           
 opennlp.maxent.Event[] getEvents(boolean evalMode)
          Builds up the list of features using the Reader as input.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatEventCollector

public CatEventCollector(java.io.Reader data)
Method Detail

convertAnnotatedString

public static opennlp.common.util.Pair convertAnnotatedString(java.lang.String s)

getEvents

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

getEvents

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

main

public static void main(java.lang.String[] args)


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