public class F0ContourPolynomialDistanceMeasure extends Object implements DistanceMeasure
| Constructor and Description |
|---|
F0ContourPolynomialDistanceMeasure(FeatureFileReader contours) |
| Modifier and Type | Method and Description |
|---|---|
float[] |
computeMean(FeatureVector[] fvs)
Compute the mean polynomial from the given set of polynomials.
|
double |
computeVariance(FeatureVector[] fvs)
Compute the variance of the given set of feature vectors.
|
float |
distance(FeatureVector fv1,
FeatureVector fv2)
Compute the distance between the f0 contours corresponding to the given feature vectors.
|
float |
squaredDistance(FeatureVector fv1,
FeatureVector fv2)
Compute the distance between the f0 contours corresponding to the given feature vectors.
|
float |
squaredDistance(FeatureVector fv,
float[] polynomial) |
public F0ContourPolynomialDistanceMeasure(FeatureFileReader contours) throws IOException
IOExceptionpublic float distance(FeatureVector fv1, FeatureVector fv2)
distance in interface DistanceMeasurefv1 - fv1fv2 - fv2DistanceMeasure.distance(marytts.features.FeatureVector,
marytts.features.FeatureVector)public float squaredDistance(FeatureVector fv1, FeatureVector fv2)
squaredDistance in interface DistanceMeasurefv1 - fv1fv2 - fv2DistanceMeasure.distance(marytts.features.FeatureVector,
marytts.features.FeatureVector)public float squaredDistance(FeatureVector fv, float[] polynomial)
public float[] computeMean(FeatureVector[] fvs)
fvs - fvspublic double computeVariance(FeatureVector[] fvs)
fvs - fvsCopyright © 2000–2016 DFKI GmbH. All rights reserved.