#include "lat/determinize-lattice-pruned.h"
#include "fstext/lattice-utils.h"
#include "fstext/fst-test-utils.h"
#include "lat/kaldi-lattice.h"
#include "lat/lattice-functions.h"
#include "hmm/hmm-test-utils.h"
#include "lat/word-align-lattice-lexicon.h"
Go to the source code of this file.
Namespaces | |
kaldi | |
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for mispronunciations detection tasks, the reference: | |
Functions | |
void | GenerateLexicon (const std::vector< int32 > &phones, bool allow_zero_words, bool allow_empty_word, bool allow_multiple_prons, std::vector< std::vector< int32 > > *lexicon) |
static void | PrintLexicon (const std::vector< std::vector< int32 > > &lexicon) |
static void | PrintWordsAndPhones (const std::vector< int32 > &words, const std::vector< int32 > &phones) |
void | GenerateWordAndPhoneSequence (std::vector< std::vector< int32 > > &lexicon, std::vector< int32 > *phone_seq, std::vector< int32 > *word_seq) |
void | GenerateCompactLatticeRandomly (const std::vector< int32 > &alignment, const std::vector< int32 > &words, CompactLattice *clat) |
void | TestWordAlignLatticeLexicon () |
int | main () |
int main | ( | ) |
Definition at line 232 of file word-align-lattice-lexicon-test.cc.
References rnnlm::i, and kaldi::TestWordAlignLatticeLexicon().