marytts.features
Class MaryGenericFeatureProcessors.WordsToNextPunctuation

java.lang.Object
  extended by marytts.features.MaryGenericFeatureProcessors.WordPunc
      extended by marytts.features.MaryGenericFeatureProcessors.WordsToNextPunctuation
All Implemented Interfaces:
ByteValuedFeatureProcessor, MaryFeatureProcessor
Enclosing class:
MaryGenericFeatureProcessors

public static class MaryGenericFeatureProcessors.WordsToNextPunctuation
extends MaryGenericFeatureProcessors.WordPunc

Determines the distance in words to the next word punctuation in the sentence.


Field Summary
 
Fields inherited from class marytts.features.MaryGenericFeatureProcessors.WordPunc
name, navigator, values
 
Constructor Summary
MaryGenericFeatureProcessors.WordsToNextPunctuation()
           
 
Method Summary
 java.lang.String[] getValues()
          List the possible values of the feature processor, as clear-text values.
 byte process(Target target)
           
 
Methods inherited from class marytts.features.MaryGenericFeatureProcessors.WordPunc
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaryGenericFeatureProcessors.WordsToNextPunctuation

public MaryGenericFeatureProcessors.WordsToNextPunctuation()
Method Detail

getValues

public java.lang.String[] getValues()
Description copied from interface: ByteValuedFeatureProcessor
List the possible values of the feature processor, as clear-text values. Byte values as returned by process() can be translated into their string equivalent by using the byte value as an index in the String[] returned.

Specified by:
getValues in interface ByteValuedFeatureProcessor
Overrides:
getValues in class MaryGenericFeatureProcessors.WordPunc
Returns:
an array containing the possible return values of this feature processor, in String representation.

process

public byte process(Target target)
Specified by:
process in interface ByteValuedFeatureProcessor
Overrides:
process in class MaryGenericFeatureProcessors.WordPunc