inpro.incremental.unit
Class SegmentIU
java.lang.Object
inpro.incremental.unit.IU
inpro.incremental.unit.SegmentIU
- All Implemented Interfaces:
- java.lang.Comparable<IU>
- Direct Known Subclasses:
- SysSegmentIU
public class SegmentIU
- extends IU
Methods inherited from class inpro.incremental.unit.IU |
addNextSameLevelLink, addUpdateListener, commit, compareTo, connectSLL, deepToString, duration, 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, toLabelLine, toString, toTEDviewXML, updateOnGrinUpdates |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
TYPE_MAPPING
public static final java.util.Map<java.lang.String,SegmentIU.SegmentType> TYPE_MAPPING
VOWELS
public static final java.util.Set<java.lang.String> VOWELS
CONSONANTS
public static final java.util.Set<java.lang.String> CONSONANTS
l
Label l
SegmentIU
public SegmentIU(java.lang.String segment,
SegmentIU sll)
SegmentIU
public SegmentIU(Label l)
updateLabel
public void updateLabel(Label l)
startTime
public double startTime()
- Description copied from class:
IU
- return the start of the timespan this IU covers
- Overrides:
startTime
in class IU
- Returns:
- NaN if time is unavailable, a time (in seconds) otherwise
endTime
public double endTime()
- Description copied from class:
IU
- return the end of the timespan this IU covers
- Overrides:
endTime
in class IU
- Returns:
- NaN if time is unavailable, a time (in seconds) otherwise
isSilence
public boolean isSilence()
isVowel
public boolean isVowel()
toPayLoad
public java.lang.String toPayLoad()
- Specified by:
toPayLoad
in class IU
toMbrolaLine
public java.lang.StringBuilder toMbrolaLine()
- this segment represented as an mbrola line
type
public SegmentIU.SegmentType type()
appendMaryXML
public void appendMaryXML(java.lang.StringBuilder sb)
shiftBy
public void shiftBy(double offset,
boolean recurse)