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

Traing2p Class Reference

#include <traing2p.h>

Inheritance diagram for Traing2p:

BOSS_g2p List of all members.

Public Member Functions

 Traing2p (BOSS::Config &config)
 Traing2p (const BOSS_g2p &c)
 Traing2p (BOSS::Config &config, const string &traintype, const bool &createflag, const string &phonfile, const string &treefile, const string &lexfile, const string &featurefile, const LabelFormat &F)

Protected Member Functions

void trainphon (const string &lexfile, const string &treefile, const string &featurefile, const LabelFormat &F)
void trainsyll (const string &lexfile, const string &treefile, const string &featurefile, const LabelFormat &F)
void trainstress (const string &lexfile, const string &treefile, const string &featurefile, const LabelFormat &F)
void create_tree (const string &featurefile, const string &treefile)
string clean_blftrans (const string &s)
string clean_blftrans (const string &s, bool syll_flag)
string remove_quotes (const string &s)
BOSS::t_SVector extract_graphemes (t_MappingTableMap &mt)
t_Alignment align_pair (const string &graph, const string &phon, BOSS_g2pMatrix &gpm)
void assign_scores (const t_Alignment &al, BOSS_g2pMatrix &gpm)
t_Alignment find_bestAlignment (t_Alignment al, BOSS_g2pMatrix &gpm)
BOSS::t_SVector generateSyllFeatures (const BOSS::t_SVector &t)
BOSS::t_SVector generateStressFeatures (const BOSS::t_SVector &t)
BOSS::t_SVector generate_trainset (BOSS_g2pMatrix &gpm)
void print_matrix (BOSS_g2pMatrix &m)
double binomial (const double &n, const double k)

Protected Attributes

BOSS::Phimbl phimbl

Constructor & Destructor Documentation

Traing2p::Traing2p BOSS::Config config  )  [inline]
 

Traing2p::Traing2p const BOSS_g2p c  )  [inline]
 

Traing2p::Traing2p BOSS::Config config,
const string &  traintype,
const bool &  createflag,
const string &  phonfile,
const string &  treefile,
const string &  lexfile,
const string &  featurefile,
const LabelFormat F
 

Author:
Stefan Breuer


Member Function Documentation

t_Alignment Traing2p::align_pair const string &  graph,
const string &  phon,
BOSS_g2pMatrix gpm
[protected]
 

void Traing2p::assign_scores const t_Alignment al,
BOSS_g2pMatrix gpm
[protected]
 

double Traing2p::binomial const double &  n,
const double  k
[protected]
 

string Traing2p::clean_blftrans const string &  s,
bool  syll_flag
[protected]
 

string Traing2p::clean_blftrans const string &  s  )  [protected]
 

void Traing2p::create_tree const string &  featurefile,
const string &  treefile
[protected]
 

BOSS::t_SVector Traing2p::extract_graphemes t_MappingTableMap mt  )  [protected]
 

t_Alignment Traing2p::find_bestAlignment t_Alignment  al,
BOSS_g2pMatrix gpm
[protected]
 

BOSS::t_SVector Traing2p::generate_trainset BOSS_g2pMatrix gpm  )  [protected]
 

BOSS::t_SVector Traing2p::generateStressFeatures const BOSS::t_SVector t  )  [protected]
 

BOSS::t_SVector Traing2p::generateSyllFeatures const BOSS::t_SVector t  )  [protected]
 

void Traing2p::print_matrix BOSS_g2pMatrix m  )  [protected]
 

string Traing2p::remove_quotes const string &  s  )  [protected]
 

void Traing2p::trainphon const string &  lexfile,
const string &  treefile,
const string &  featurefile,
const LabelFormat F
[protected]
 

void Traing2p::trainstress const string &  lexfile,
const string &  treefile,
const string &  featurefile,
const LabelFormat F
[protected]
 

void Traing2p::trainsyll const string &  lexfile,
const string &  treefile,
const string &  featurefile,
const LabelFormat F
[protected]
 


Member Data Documentation

BOSS::Phimbl Traing2p::phimbl [protected]
 

Reimplemented from BOSS_g2p.


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