inpro.incremental.unit
Class SysInstallmentIU
java.lang.Object
inpro.incremental.unit.IU
inpro.incremental.unit.InstallmentIU
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
Field Summary |
(package private) org.apache.log4j.Logger |
logger
|
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 |
logger
org.apache.log4j.Logger logger
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)
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()