opennlp.grok.preprocess.tokenize
Class TokContextGenerator

java.lang.Object
  |
  +--opennlp.grok.preprocess.tokenize.TokContextGenerator
All Implemented Interfaces:
opennlp.maxent.ContextGenerator

public class TokContextGenerator
extends java.lang.Object
implements opennlp.maxent.ContextGenerator

Generate events for maxent decisions for tokenization.

Version:
$Revision: 1.4 $, $Date: 2002/02/11 15:40:16 $
Author:
Jason Baldridge

Constructor Summary
TokContextGenerator()
           
 
Method Summary
 java.lang.String[] getContext(java.lang.Object o)
          Builds up the list of features based on the information in the Object, which is a pair containing a StringBuffer and and Integer which indicates the index of the position we are investigating.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokContextGenerator

public TokContextGenerator()
Method Detail

getContext

public java.lang.String[] getContext(java.lang.Object o)
Builds up the list of features based on the information in the Object, which is a pair containing a StringBuffer and and Integer which indicates the index of the position we are investigating.

Specified by:
getContext in interface opennlp.maxent.ContextGenerator


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