de.dfki.lt.mary.modules.en
Class XML2UttTokensEn

java.lang.Object
  extended by de.dfki.lt.mary.modules.InternalModule
      extended by de.dfki.lt.mary.modules.XML2UttBase
          extended by de.dfki.lt.mary.modules.en.XML2UttTokensEn
All Implemented Interfaces:
MaryModule

public class XML2UttTokensEn
extends XML2UttBase

Convert a MaryXML DOM tree into FreeTTS utterances (tokens, English).

Author:
Marc Schröder

Field Summary
 
Fields inherited from class de.dfki.lt.mary.modules.XML2UttBase
lastTargetIndex, nextTargetIndex
 
Fields inherited from class de.dfki.lt.mary.modules.InternalModule
logger, state
 
Fields inherited from interface de.dfki.lt.mary.modules.MaryModule
MODULE_OFFLINE, MODULE_RUNNING
 
Constructor Summary
XML2UttTokensEn()
           
 
Method Summary
protected  void fillUtterance(com.sun.speech.freetts.Utterance utterance, org.w3c.dom.Element sentence)
          Depending on the data type, find the right information in the sentence and insert it into the utterance.
 
Methods inherited from class de.dfki.lt.mary.modules.XML2UttBase
addOneElement, appendTokenItem, createSylStructure, fillUtterance, insertWordItem, process, searchFollowingMarks, searchFollowingMarks, searchPrecedingMarks, searchPrecedingMarks, startup
 
Methods inherited from class de.dfki.lt.mary.modules.InternalModule
getState, inputType, name, outputType, powerOnSelfTest, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XML2UttTokensEn

public XML2UttTokensEn()
Method Detail

fillUtterance

protected void fillUtterance(com.sun.speech.freetts.Utterance utterance,
                             org.w3c.dom.Element sentence)
Depending on the data type, find the right information in the sentence and insert it into the utterance.

Specified by:
fillUtterance in class XML2UttBase