com.sun.speech.freetts.relp
Class UnitConcatenator

java.lang.Object
  extended bycom.sun.speech.freetts.relp.UnitConcatenator
All Implemented Interfaces:
UtteranceProcessor

public class UnitConcatenator
extends java.lang.Object
implements UtteranceProcessor

Concatenates the Units in the given Utterance to the target_lpc result. This class is an UtteranceProcessor. It defines a method processUtterance that helps populate the target_lpcres relation.

See Also:
LPCResult

Field Summary
static java.lang.String PROP_OUTPUT_LPC
           
 
Constructor Summary
UnitConcatenator()
           
 
Method Summary
 void processUtterance(Utterance utterance)
          Concatenate the Units in the given Utterance to the target_lpc result.
 java.lang.String toString()
          Converts this object to a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROP_OUTPUT_LPC

public static final java.lang.String PROP_OUTPUT_LPC
See Also:
Constant Field Values
Constructor Detail

UnitConcatenator

public UnitConcatenator()
Method Detail

processUtterance

public void processUtterance(Utterance utterance)
                      throws ProcessException
Concatenate the Units in the given Utterance to the target_lpc result.

Specified by:
processUtterance in interface UtteranceProcessor
Parameters:
utterance - the Utterance to do concatenation
Throws:
ProcessException - if an error occurs while processing the utterance
See Also:
LPCResult

toString

public java.lang.String toString()
Converts this object to a string

Returns:
the string form of this object.