opennlp.grok.preprocess.postag
Class POSEventCollector
java.lang.Object
  |
  +--opennlp.grok.preprocess.postag.POSEventCollector
- All Implemented Interfaces: 
 - opennlp.maxent.EventCollector
 
- public class POSEventCollector
- extends java.lang.Object
- implements opennlp.maxent.EventCollector
   
An event generator for the maxent POS Tagger.
- Version:
 
  - $Revision: 1.6 $, $Date: 2002/05/07 13:09:19 $
 
- Author:
 
  - Gann Bierner
 
| 
Constructor Summary | 
POSEventCollector(java.io.Reader data,
                  opennlp.maxent.ContextGenerator gen)
 
            | 
 
| 
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 | 
 
POSEventCollector
public POSEventCollector(java.io.Reader data,
                         opennlp.maxent.ContextGenerator gen)
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.