inpro.incremental.unit
Class SysInstallmentIU

java.lang.Object
  extended by inpro.incremental.unit.IU
      extended by inpro.incremental.unit.InstallmentIU
          extended by inpro.incremental.unit.SysInstallmentIU
All Implemented Interfaces:
java.lang.Comparable<IU>
Direct Known Subclasses:
CompletionInstallmentIU, HesitatingSynthesisIU, PhraseBasedInstallmentIU, TreeStructuredInstallmentIU

public class SysInstallmentIU
extends InstallmentIU

an installment that supports incremental synthesis

Author:
timo

Nested Class Summary
 
Nested classes/interfaces inherited from class inpro.incremental.unit.IU
IU.IUUpdateListener, IU.Progress
 
Field Summary
(package private)  org.apache.log4j.Logger logger
           
 
Fields inherited from class inpro.incremental.unit.InstallmentIU
systemProduced, tts
 
Fields inherited from class inpro.incremental.unit.IU
creationTime, FIRST_IU, groundedIn, grounds, nextSameLevelLinks, previousSameLevelLink, updateListeners
 
Constructor Summary
SysInstallmentIU(java.util.List<? extends IU> words)
           
SysInstallmentIU(java.lang.String tts)
           
SysInstallmentIU(java.lang.String tts, java.util.List<WordIU> words)
           
 
Method Summary
 javax.sound.sampled.AudioInputStream getAudio()
           
 WordIU getFinalWord()
           
 FullPStream getFullPStream()
          return the HMM parameter set for this utterance (based on getWords())
 WordIU getInitialWord()
           
 java.util.List<SysSegmentIU> getSegments()
           
 java.util.List<WordIU> getWords()
           
 void scaleDeepCopyAndStartAtZero(double scale)
           
 java.lang.CharSequence toLabelLines()
           
 java.lang.String toMarkedUpString()
           
 java.lang.String toMaryXML()
           
 java.lang.String toMbrola()
           
 java.lang.String toPayLoad()
          Returns a string representation of the payload of this IU.
 
Methods inherited from class inpro.incremental.unit.InstallmentIU
systemProduced, userProduced
 
Methods inherited from class inpro.incremental.unit.IU
addNextSameLevelLink, addUpdateListener, commit, compareTo, connectSLL, deepToString, duration, endTime, equals, getAge, getAmongNextSameLevelLinks, getCreationTime, getID, getNextSameLevelLink, getNextSameLevelLinks, getOngoingGroundedIU, getProgress, getSameLevelLink, ground, groundedIn, groundIn, groundIn, grounds, hashCode, isCommitted, isCompleted, isOngoing, isRevoked, isUpcoming, notifyListeners, payloadEquals, removeAllNextSameLevelLinks, removeGrin, removeGrin, reorderNextSameLevelLink, revoke, setAsTopNextSameLevelLink, setSameLevelLink, startTime, toLabelLine, toString, toTEDviewXML, updateOnGrinUpdates
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

org.apache.log4j.Logger logger
Constructor Detail

SysInstallmentIU

public SysInstallmentIU(java.lang.String tts)

SysInstallmentIU

public SysInstallmentIU(java.lang.String tts,
                        java.util.List<WordIU> words)

SysInstallmentIU

public SysInstallmentIU(java.util.List<? extends IU> words)
Method Detail

scaleDeepCopyAndStartAtZero

public void scaleDeepCopyAndStartAtZero(double scale)

getFullPStream

public FullPStream getFullPStream()
return the HMM parameter set for this utterance (based on getWords())


getSegments

public java.util.List<SysSegmentIU> getSegments()

toLabelLines

public java.lang.CharSequence toLabelLines()

getAudio

public javax.sound.sampled.AudioInputStream getAudio()

toMaryXML

public java.lang.String toMaryXML()

toMbrola

public java.lang.String toMbrola()

getInitialWord

public WordIU getInitialWord()

getFinalWord

public WordIU getFinalWord()

getWords

public java.util.List<WordIU> getWords()

toPayLoad

public java.lang.String toPayLoad()
Description copied from class: InstallmentIU
Returns a string representation of the payload of this IU. For user-produced installments, the payload is a String representation of the spoken words grounding this IU. For system-produced installments, it's a string representation of the spoken output grounded in this IU.

Overrides:
toPayLoad in class InstallmentIU

toMarkedUpString

public java.lang.String toMarkedUpString()