jvntextpro.data
Class ContextGenerator

java.lang.Object
  extended by jvntextpro.data.ContextGenerator
Direct Known Subclasses:
BasicContextGenerator, POSContextGenerator

public abstract class ContextGenerator
extends java.lang.Object

The Class ContextGenerator.


Constructor Summary
ContextGenerator()
           
 
Method Summary
abstract  java.lang.String[] getContext(Sentence sent, int pos)
          Gets the context.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextGenerator

public ContextGenerator()
Method Detail

getContext

public abstract java.lang.String[] getContext(Sentence sent,
                                              int pos)
Gets the context.

Parameters:
sent - the sent
pos - the pos
Returns:
the context