Package com.sun.speech.freetts.en
Class PauseGenerator
- java.lang.Object
-
- com.sun.speech.freetts.en.PauseGenerator
-
- All Implemented Interfaces:
UtteranceProcessor
public class PauseGenerator extends java.lang.Object implements UtteranceProcessor
Annotates an utterance with pause information.
-
-
Constructor Summary
Constructors Constructor Description PauseGenerator()
Constructs a PauseGenerator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processUtterance(Utterance utterance)
Annotates an utterance with pause information.java.lang.String
toString()
Returns the string representation of the object
-
-
-
Method Detail
-
processUtterance
public void processUtterance(Utterance utterance) throws ProcessException
Annotates an utterance with pause information.- Specified by:
processUtterance
in interfaceUtteranceProcessor
- Parameters:
utterance
- the utterance to process- Throws:
ProcessException
- if an error occurs while processing of the utterance
-
toString
public java.lang.String toString()
Returns the string representation of the object- Overrides:
toString
in classjava.lang.Object
- Returns:
- the string representation of the object
-
-