Package com.sun.speech.freetts.en.us
Class FeatureProcessors.SegCodaFric
java.lang.Object
com.sun.speech.freetts.en.us.FeatureProcessors.SegCodaFric
- All Implemented Interfaces:
FeatureProcessor
- Enclosing class:
FeatureProcessors
Checks for fricative
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
-
SegCodaFric
public SegCodaFric()
-
-
Method Details
-
process
Performs some processing on the given item.- Specified by:
process
in interfaceFeatureProcessor
- Parameters:
seg
- the item to process- Returns:
- "1" if fricative; else "0"
- Throws:
ProcessException
- if an exception occurred during the processing
-