#include <string>
#include <vector>
#include "base/kaldi-common.h"
#include "util/common-utils.h"
#include "gmm/am-diag-gmm.h"
#include "hmm/transition-model.h"
#include "transform/regression-tree.h"
#include "transform/regtree-mllr-diag-gmm.h"
#include "fstext/fstext-lib.h"
#include "decoder/faster-decoder.h"
#include "transform/decodable-am-diag-gmm-regtree.h"
#include "base/timer.h"
#include "lat/kaldi-lattice.h"
Go to the source code of this file.
Classes | |
struct | DecodeInfo |
Functions | |
bool | DecodeUtterance (kaldi::FasterDecoder *decoder, kaldi::DecodableInterface *decodable, DecodeInfo *info, const string &uttid, int32 num_frames, BaseFloat *total_like) |
int | main (int argc, char *argv[]) |
bool DecodeUtterance | ( | kaldi::FasterDecoder * | decoder, |
kaldi::DecodableInterface * | decodable, | ||
DecodeInfo * | info, | ||
const string & | uttid, | ||
int32 | num_frames, | ||
BaseFloat * | total_like | ||
) |
Definition at line 69 of file gmm-decode-faster-regtree-mllr.cc.
References DecodeInfo::alignment_writer, DecodeInfo::allow_partial, FasterDecoder::Decode(), FasterDecoder::GetBestPath(), fst::GetLinearSymbolSequence(), rnnlm::i, TableWriter< Holder >::IsOpen(), KALDI_ERR, KALDI_LOG, KALDI_WARN, FasterDecoder::ReachedFinal(), DecodeInfo::word_syms, words, DecodeInfo::words_writer, and TableWriter< Holder >::Write().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 116 of file gmm-decode-faster-regtree-mllr.cc.
References DecodeInfo::acoustic_scale, DecodeInfo::alignment_writer, DecodeInfo::allow_partial, DecodeInfo::decoder, DecodeUtterance(), SequentialTableReader< Holder >::Done(), Timer::Elapsed(), SequentialTableReader< Holder >::FreeCurrent(), ParseOptions::GetArg(), ParseOptions::GetOptArg(), RandomAccessTableReaderMapped< Holder >::HasKey(), KALDI_ERR, KALDI_LOG, KALDI_WARN, SequentialTableReader< Holder >::Key(), SequentialTableReader< Holder >::Next(), ParseOptions::NumArgs(), DecodableAmDiagGmmUnmapped::NumFramesReady(), DecodableAmDiagGmmRegtreeMllr::NumFramesReady(), ParseOptions::PrintUsage(), RegressionTree::Read(), AmDiagGmm::Read(), ParseOptions::Read(), TransitionModel::Read(), fst::ReadFstKaldi(), FasterDecoderOptions::Register(), ParseOptions::Register(), Input::Stream(), DecodeInfo::trans_model, SequentialTableReader< Holder >::Value(), RandomAccessTableReaderMapped< Holder >::Value(), DecodeInfo::word_syms, and DecodeInfo::words_writer.