Class UnitConcatenator

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

public class UnitConcatenator extends 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:
  • Field Details

  • Constructor Details

    • UnitConcatenator

      public UnitConcatenator()
  • Method Details

    • 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:
    • toString

      public String toString()
      Converts this object to a string
      Overrides:
      toString in class Object
      Returns:
      the string form of this object.