Package com.sun.speech.freetts.relp
Class UnitConcatenator
- java.lang.Object
-
- com.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 methodprocessUtterance
that helps populate the target_lpcres relation.- See Also:
LPCResult
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROP_OUTPUT_LPC
-
Constructor Summary
Constructors Constructor Description UnitConcatenator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
Field Detail
-
PROP_OUTPUT_LPC
public static final java.lang.String PROP_OUTPUT_LPC
- See Also:
- Constant Field Values
-
-
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 interfaceUtteranceProcessor
- 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- Overrides:
toString
in classjava.lang.Object
- Returns:
- the string form of this object.
-
-