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

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

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

Checks for onset coda 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.SegOnsetCoda()
           
 
Method Summary
 java.lang.String process(Item seg)
          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.SegOnsetCoda

public FeatureProcessors.SegOnsetCoda()
Method Detail

process

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

Specified by:
process in interface FeatureProcessor
Parameters:
seg - the item to process
Returns:
if onset coda "1"; otherwise "0"
Throws:
ProcessException - if an exception occurred during the processing