public class HalfPhoneTarget extends Target
Modifier and Type | Field and Description |
---|---|
protected boolean |
isLeftHalf |
duration, f0, featureVector, isSilence, maryxmlElement, name, targetFeatureCloner
Constructor and Description |
---|
HalfPhoneTarget(String name,
Element maryxmlElement,
boolean isLeftHalf)
Create a target associated to the given segment item.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isLeftHalf()
Is this target the left half of a phone?
|
boolean |
isRightHalf()
Is this target the right half of a phone?
|
getAllophone, getFeatureVector, getMaryxmlElement, getName, getTargetDurationInSeconds, getTargetF0InHz, hasFeatureVector, isSilence, setFeatureVector, setTargetDurationInSeconds, toString
public HalfPhoneTarget(String name, Element maryxmlElement, boolean isLeftHalf)
name
- a name for the target, which may or may not coincide with the segment name.maryxmlElement
- the phone segment item in the Utterance structure, to be associated to this targetisLeftHalf
- true if this target represents the left half of the phone, false if it represents the right half of the phoneCopyright © 2000–2016 DFKI GmbH. All rights reserved.