#include "fstext/context-fst.h"
#include "fstext/fst-test-utils.h"
#include "tree/context-dep.h"
#include "util/kaldi-io.h"
#include "base/kaldi-math.h"
Go to the source code of this file.
Namespaces | |
fst | |
For an extended explanation of the framework of which grammar-fsts are a part, please see Support for grammars and graphs with on-the-fly parts. (i.e. | |
Functions | |
template<class Arc > | |
static VectorFst< Arc > * | GenAcceptorFromSequence (const vector< typename Arc::Label > &symbols, float cost) |
template<class Arc > | |
static float | CheckPhones (const VectorFst< Arc > &linear_fst, const vector< typename Arc::Label > &phone_ids, const vector< typename Arc::Label > &disambig_ids, const vector< typename Arc::Label > &phone_seq, const vector< vector< typename Arc::Label > > &ilabel_info, int N, int P) |
template<class Arc > | |
static VectorFst< Arc > * | GenRandPhoneSeq (vector< typename Arc::Label > &phone_syms, vector< typename Arc::Label > &disambig_syms, typename Arc::Label subsequential_symbol, int num_subseq_syms, float seq_prob, vector< typename Arc::Label > *phoneseq_out) |
static void | TestContextFst (bool verbose, bool use_matcher) |
int | main () |
int main | ( | ) |
Definition at line 249 of file context-fst-test.cc.
References rnnlm::i, and fst::TestContextFst().