jvnsegmenter
Class SyllableContextGenerator

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

public class SyllableContextGenerator
extends BasicContextGenerator

The Class SyllableContextGenerator.


Constructor Summary
SyllableContextGenerator(org.w3c.dom.Element node)
          Instantiates a new syllable 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

SyllableContextGenerator

public SyllableContextGenerator(org.w3c.dom.Element node)
Instantiates a new syllable 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