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
public static class FeatureProcessors.SegCodaFric extends java.lang.Object implements FeatureProcessor
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 Constructor Description SegCodaFric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
process(Item seg)
Performs some processing on the given item.
-
-
-
Method Detail
-
process
public java.lang.String process(Item seg) throws ProcessException
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
-
-