Package com.sun.speech.freetts.en.us
Class FeatureProcessors.StressedSylIn
- java.lang.Object
-
- com.sun.speech.freetts.en.us.FeatureProcessors.StressedSylIn
-
- All Implemented Interfaces:
FeatureProcessor
- Enclosing class:
- FeatureProcessors
public static class FeatureProcessors.StressedSylIn extends java.lang.Object implements FeatureProcessor
Counts the number of stressed syllables since the last major break. 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 Constructor Description StressedSylIn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
process(Item item)
Performs some processing on the given item.
-
-
-
Method Detail
-
process
public java.lang.String process(Item item) throws ProcessException
Performs some processing on the given item.- Specified by:
process
in interfaceFeatureProcessor
- Parameters:
item
- the item to process- Returns:
- the number of stresses syllables since the last major break
- Throws:
ProcessException
- if an exception occurred during the processing
-
-