opennlp.grok.preprocess.namefind
Class NFEventCollector
java.lang.Object
|
+--opennlp.grok.preprocess.namefind.NFEventCollector
- All Implemented Interfaces:
- opennlp.maxent.EventCollector
- public class NFEventCollector
- extends java.lang.Object
- implements opennlp.maxent.EventCollector
An event generator for the maxent NameFinder.
- Version:
- $Revision: 1.6 $, $Date: 2002/02/08 12:13:36 $
- Author:
- Gann Bierner
Method Summary |
static opennlp.common.util.Pair |
convertAnnotatedString(java.lang.String str)
|
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 |
NFEventCollector
public NFEventCollector(java.io.Reader data)
convertAnnotatedString
public static opennlp.common.util.Pair convertAnnotatedString(java.lang.String str)
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.