com.sun.speech.freetts.en.us
Class FeatureProcessors.WordPunc

java.lang.Object
  extended bycom.sun.speech.freetts.en.us.FeatureProcessors.WordPunc
All Implemented Interfaces:
FeatureProcessor
Enclosing class:
FeatureProcessors

public static class FeatureProcessors.WordPunc
extends java.lang.Object
implements FeatureProcessor

Determines the word punctuation. This is a feature processor. A feature processor takes an item, performs some sort of processing on the item and returns an object.


Constructor Summary
FeatureProcessors.WordPunc()
           
 
Method Summary
 java.lang.String process(Item word)
          Performs some processing on the given item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureProcessors.WordPunc

public FeatureProcessors.WordPunc()
Method Detail

process

public java.lang.String process(Item word)
                         throws ProcessException
Performs some processing on the given item.

Specified by:
process in interface FeatureProcessor
Parameters:
word - the item to process
Returns:
the punctuation for this word
Throws:
ProcessException - if an exception occurred during the processing