|Modifier and Type||Method and Description|
Compute the goodness-of-fit of joining two units, given the corresponding targets
Initialise this join cost function by reading the appropriate settings from the MaryProperties using the given configPrefix.
t1- the left target
u1- the proposed left unit
t2- the right target
u2- the proposed right unit
void init(String configPrefix) throws MaryConfigurationException
configPrefix- the prefix for the (voice-specific) config entries to use when looking up files to load.
MaryConfigurationException- if there is a configuration problem
@Deprecated void load(String joinFileName, InputStream weightStream, String precompiledCostFileName, float wSignal) throws IOException, MaryConfigurationException
joinFileName- the file from which to read default weights and join cost features
weightStream- an optional file from which to read weights, taking precedence over
precompiledCostFileName- an optional file containing precompiled join costs
wSignal- Relative weight of the signal-based join costs relative to the phonetic join costs computed from the target
Copyright © 2000–2018 DFKI GmbH. All rights reserved.