jvnsegmenter
Class VietnameseContextGenerator

java.lang.Object
  extended by jvntextpro.data.ContextGenerator
      extended by jvnsegmenter.BasicContextGenerator
          extended by jvnsegmenter.VietnameseContextGenerator

public class VietnameseContextGenerator
extends BasicContextGenerator

The Class VietnameseContextGenerator.


Constructor Summary
VietnameseContextGenerator(org.w3c.dom.Element node)
          Instantiates a new vietnamese context generator.
 
Method Summary
 java.lang.String[] getContext(Sentence sent, int pos)
          Gets the context.
 
Methods inherited from class jvnsegmenter.BasicContextGenerator
readFeatureNodes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VietnameseContextGenerator

public VietnameseContextGenerator(org.w3c.dom.Element node)
Instantiates a new vietnamese context generator.

Parameters:
node - the node
Method Detail

getContext

public java.lang.String[] getContext(Sentence sent,
                                     int pos)
Description copied from class: ContextGenerator
Gets the context.

Specified by:
getContext in class ContextGenerator
Parameters:
sent - the sent
pos - the pos
Returns:
the context