Package com.sun.speech.freetts.en.us
Class FeatureProcessors.NumDigits
java.lang.Object
com.sun.speech.freetts.en.us.FeatureProcessors.NumDigits
- All Implemented Interfaces:
FeatureProcessor
- Enclosing class:
FeatureProcessors
Returns the length of the string. (generally this is a digit
string)
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
Constructors -
Method Summary
-
Constructor Details
-
NumDigits
public NumDigits()
-
-
Method Details
-
process
Performs some processing on the given item.- Specified by:
process
in interfaceFeatureProcessor
- Parameters:
item
- the item to process- Returns:
- the length of the string
- Throws:
ProcessException
- if an exception occurred during the processing
-