opennlp.grok.preprocess.chunk
Class ChunkerContextGenerator

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

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

A context generator for the Shallow Parser.

Version:
$Revision: 1.2 $, $Date: 2002/06/07 14:24:20 $
Author:
Joerg Tiedemann

Constructor Summary
ChunkerContextGenerator()
           
ChunkerContextGenerator(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

ChunkerContextGenerator

public ChunkerContextGenerator()

ChunkerContextGenerator

public ChunkerContextGenerator(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.