|
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 |