#include <cost_de.h>
Inheritance diagram for CostDE:
Public Member Functions | |
CostDE (BOSS::Config &__cl) | |
CostDE constructor. | |
~CostDE () | |
CostDE destructor. | |
float | operator() (const BOSS_Node *l, const BOSS_Node *r) |
Computes total cost of transition between two nodes. | |
double | operator() (const BOSS_Node *u) const |
Computes the total cost of a node. | |
Private Member Functions | |
unsigned | translateStress (unsigned s) const |
double | stress_cost (const BOSS_Node *u) const |
Computes the cost of stress parameteres of a node. | |
double | phrasing_cost (const BOSS_Node *u) const |
Computes the cost of phrasing of a node. | |
double | duration_cost (const BOSS_Node *u) const |
Computes a duration cost of a node. | |
double | treal_cost (const BOSS_Node *u) const |
Assigns costs to discrepancies between the canonical transcription (TKey) and the actual realisation (TReal) of a unit. | |
float | mel_dist (const BOSS_Node *l, const BOSS_Node *r) const |
Computes the Euclidean distance between the mel frequency cepstrum coefficients of two nodes. | |
float | f0_dist (const BOSS_Node *l, const BOSS_Node *r) const |
Computes fundamental frequency distance of two nodes. | |
bool | isSibilant (const string &s) const |
Decides whether the argument is sibilant or not. | |
bool | isNasal (const string &s) const |
Decides whether or not the argument is a nasal. | |
Private Attributes | |
dsp::Euclid< float > | euclid |
|
|
|
|