public class VocalizationSelector extends Object
Modifier and Type | Field and Description |
---|---|
protected double |
contourCostWeight |
protected boolean |
f0ContourImposeSupport |
protected FeatureDefinition |
f0FeatureDefinition |
protected FeatureDefinition |
featureDefinition |
protected VocalizationFeatureFileReader |
featureFileReader |
protected org.apache.log4j.Logger |
logger |
protected int |
noOfSuitableUnits |
protected VocalizationUnitFileReader |
unitFileReader |
protected boolean |
usePrecondition |
protected VocalizationFFRTargetCostFunction |
vffrtContourCostFunction |
protected VocalizationFFRTargetCostFunction |
vffrtUnitCostFunction |
protected VocalizationIntonationReader |
vIntonationReader |
Constructor and Description |
---|
VocalizationSelector(Voice voice) |
Modifier and Type | Method and Description |
---|---|
SourceTargetPair |
getBestCandidatePairtoImposeF0(Element domElement)
Get best candidate pair to impose F0 contour on other
|
int |
getBestMatchingCandidate(Element domElement)
get a best matching candidate for a given target
|
VocalizationCandidate[] |
getBestMatchingCandidates(Element domElement)
get a array of best candidates sorted according to cost
|
FeatureDefinition |
getFeatureDefinition()
Get feature definition used to select suitable candidate
|
protected VocalizationFeatureFileReader featureFileReader
protected FeatureDefinition featureDefinition
protected FeatureDefinition f0FeatureDefinition
protected VocalizationIntonationReader vIntonationReader
protected VocalizationUnitFileReader unitFileReader
protected VocalizationFFRTargetCostFunction vffrtUnitCostFunction
protected VocalizationFFRTargetCostFunction vffrtContourCostFunction
protected boolean f0ContourImposeSupport
protected boolean usePrecondition
protected double contourCostWeight
protected int noOfSuitableUnits
protected org.apache.log4j.Logger logger
public VocalizationSelector(Voice voice) throws MaryConfigurationException
MaryConfigurationException
public FeatureDefinition getFeatureDefinition()
public SourceTargetPair getBestCandidatePairtoImposeF0(Element domElement)
domElement
- xml request for vocalizationpublic int getBestMatchingCandidate(Element domElement)
domElement
- xml request for vocalizationpublic VocalizationCandidate[] getBestMatchingCandidates(Element domElement)
domElement
- xml request for vocalizationCopyright © 2000–2016 DFKI GmbH. All rights reserved.