opennlp.grok.preprocess.postag
Class POSContextGenerator

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

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

A context generator for the POS Tagger.

Version:
$Revision: 1.7 $, $Date: 2002/04/25 15:22:38 $
Author:
Gann Bierner

Constructor Summary
POSContextGenerator()
           
POSContextGenerator(opennlp.common.morph.MorphAnalyzer ma)
           
 
Method Summary
 java.lang.String[] getContext(java.lang.Object o)
          Either: (rare?, [words, tags, position]) or : [words, tags, position] right now this will be very inefficient for a linked list.
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

POSContextGenerator

public POSContextGenerator()

POSContextGenerator

public POSContextGenerator(opennlp.common.morph.MorphAnalyzer ma)
Method Detail

getContext

public java.lang.String[] getContext(java.lang.Object o)
Either: (rare?, [words, tags, position]) or : [words, tags, position] right now this will be very inefficient for a linked list.

Specified by:
getContext in interface opennlp.maxent.ContextGenerator

main

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


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