Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

CostDE Class Reference
[BOSS UnitSelection Module]

Cost class used for german language. More...

#include <cost_de.h>

Inheritance diagram for CostDE:

Cost List of all members.

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

Detailed Description

Cost class used for german language.


Member Function Documentation

unsigned CostDE::translateStress unsigned  s  )  const [inline, private]
 


Member Data Documentation

dsp::Euclid< float > CostDE::euclid [private]
 


The documentation for this class was generated from the following files:
Generated on Tue Dec 20 23:14:40 2005 for BOSS by doxygen 1.3.6