com.sun.speech.freetts.en
Class PauseGenerator

java.lang.Object
  extended bycom.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
PauseGenerator()
          Constructs a PauseGenerator
 
Method Summary
 void processUtterance(Utterance utterance)
          Annotates an utterance with pause information.
 java.lang.String toString()
          Returns the string representation of the object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PauseGenerator

public PauseGenerator()
Constructs a PauseGenerator

Method Detail

processUtterance

public void processUtterance(Utterance utterance)
                      throws ProcessException
Annotates an utterance with pause information.

Specified by:
processUtterance in interface UtteranceProcessor
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

Returns:
the string representation of the object