All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
arpa-file-parser-test.cc File Reference

Unit tests for language model code. More...

#include <iomanip>
#include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include "base/kaldi-common.h"
#include "fst/fstlib.h"
#include "lm/arpa-file-parser.h"
Include dependency graph for arpa-file-parser-test.cc:

Go to the source code of this file.

Namespaces

 kaldi
 Relabels neural network egs with the read pdf-id alignments.
 

Functions

int main (int argc, char *argv[])
 

Detailed Description

Unit tests for language model code.

Definition in file arpa-file-parser-test.cc.

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 368 of file arpa-file-parser-test.cc.

368  {
369  kaldi::ReadIntegerLmLogconvExpectSuccess();
370  kaldi::ReadSymbolicLmNoOovTests();
371  kaldi::ReadSymbolicLmWithOovTests();
372 }

Variable Documentation

const T* array

Definition at line 65 of file arpa-file-parser-test.cc.

float backoff
const size_t count

Definition at line 66 of file arpa-file-parser-test.cc.

Referenced by MleAmSgmm2Accs::Accumulate(), FmllrRawAccs::AccumulateFromPosteriors(), NnetStats::StatsElement::AddStats(), NnetStats::AddStatsFromNnet(), kaldi::ApplyCmvn(), kaldi::ApplyCmvnReverse(), ComputationGraphBuilder::Check(), kaldi::ClusterKMeansOnce(), DiscriminativeExampleSplitter::CollapseTransitionIds(), DiscriminativeSupervisionSplitter::CollapseTransitionIds(), kaldi::nnet3::ComputeCommandAttributes(), kaldi::cu::CpuBackpropLstmNonlinearity(), DiagGmm::DiagGmm(), LdaEstimate::Estimate(), FeatureTransformEstimate::Estimate(), FeatureTransformEstimateMulti::Estimate(), kaldi::FakeStatsForSomeDims(), kaldi::nnet2::FixNnet(), kaldi::GenRandStats(), FasterDecoder::GetCutoff(), BiglmFasterDecoder::GetCutoff(), LatticeFasterOnlineDecoder::GetCutoff(), LatticeFasterDecoder::GetCutoff(), LatticeBiglmFasterDecoder::GetCutoff(), kaldi::GetFeatureMeanAndVariance(), ClipGradientComponent::Init(), kaldi::InitAmGmm(), kaldi::KMeansClusterPhones(), main(), DiagGmm::MergeKmeans(), kaldi::MleAmDiagGmmUpdate(), kaldi::nnet2::ProcessFile(), NormalizeComponent::Read(), MleAmSgmm2Updater::RenormalizeV(), Semaphore::Semaphore(), UtteranceSplitter::SetOutputWeights(), kaldi::SplitDecisionTree(), kaldi::TestHashList(), kaldi::TestUniq(), kaldi::TrainOneIter(), kaldi::UnitTestDiagGmmGenerate(), UnitTestEstimateDiagGmm(), UnitTestEstimateFullGmm(), kaldi::UnitTestEstimateMmieDiagGmm(), kaldi::UnitTestFmllrDiagGmm(), kaldi::UnitTestFmllrDiagGmmDiagonal(), kaldi::UnitTestFmllrDiagGmmOffset(), kaldi::UnitTestFmllrRaw(), UnitTestFullGmmEst(), EbwAmSgmm2Updater::UpdatePhoneVectors(), MleAmSgmm2Updater::UpdatePhoneVectors(), IvectorExtractorStats::UpdateProjections(), and EbwAmSgmm2Updater::UpdateVars().

bool header_available_

Definition at line 89 of file arpa-file-parser-test.cc.

int32 last_order_

Definition at line 91 of file arpa-file-parser-test.cc.

int32 line_number
std::vector<NGramTestData> ngrams_

Definition at line 92 of file arpa-file-parser-test.cc.

bool read_complete_

Definition at line 90 of file arpa-file-parser-test.cc.