demo.inpro.synthesis
Class TreeStructuredInstallmentIU

java.lang.Object
  extended by inpro.incremental.unit.IU
      extended by inpro.incremental.unit.InstallmentIU
          extended by inpro.incremental.unit.SysInstallmentIU
              extended by demo.inpro.synthesis.TreeStructuredInstallmentIU
All Implemented Interfaces:
java.lang.Comparable<IU>

public class TreeStructuredInstallmentIU
extends SysInstallmentIU

multiple synthesis paths organized in a tree structure. this is incredibly inefficient if you've got many options. the XX YY ZZ AA BB CC (with each a few options) results in plenty possible variants at the same time, this doesn't even allow for lengthening/speed changes. However, it allows for zero-latency switching between hypotheses.

Author:
timo

Nested Class Summary
 
Nested classes/interfaces inherited from class inpro.incremental.unit.IU
IU.IUUpdateListener, IU.Progress
 
Field Summary
 
Fields inherited from class inpro.incremental.unit.InstallmentIU
tts
 
Fields inherited from class inpro.incremental.unit.IU
creationTime, FIRST_IU, groundedIn, grounds, nextSameLevelLinks, previousSameLevelLink
 
Constructor Summary
TreeStructuredInstallmentIU(java.util.List<java.lang.String> variants)
           
TreeStructuredInstallmentIU(java.lang.String base)
           
 
Method Summary
 void addAlternativeVariant(java.lang.String variant)
           
 java.util.List<WordIU> getWordsAtPos(int pos)
           
static java.util.List<WordIU> getWordsAtPos(java.util.List<WordIU> parentWords, int i)
           
 
Methods inherited from class inpro.incremental.unit.SysInstallmentIU
getAudio, getFinalWord, getFullPStream, getInitialWord, getSegments, getWords, scaleDeepCopyAndStartAtZero, toLabelLines, toMarkedUpString, toMaryXML, toMbrola, toPayLoad
 
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
 

Constructor Detail

TreeStructuredInstallmentIU

public TreeStructuredInstallmentIU(java.lang.String base)

TreeStructuredInstallmentIU

public TreeStructuredInstallmentIU(java.util.List<java.lang.String> variants)
Method Detail

addAlternativeVariant

public void addAlternativeVariant(java.lang.String variant)

getWordsAtPos

public java.util.List<WordIU> getWordsAtPos(int pos)

getWordsAtPos

public static java.util.List<WordIU> getWordsAtPos(java.util.List<WordIU> parentWords,
                                                   int i)