arpa-lm-compiler.cc File Reference
#include <algorithm>
#include <limits>
#include <sstream>
#include <utility>
#include "base/kaldi-math.h"
#include "lm/arpa-lm-compiler.h"
#include "util/stl-utils.h"
#include "util/text-utils.h"
#include "fstext/remove-eps-local.h"
Include dependency graph for arpa-lm-compiler.cc:

Go to the source code of this file.

Classes

class  ArpaLmCompilerImplInterface
 
class  ArpaLmCompilerImpl< HistKey >
 

Namespaces

 kaldi
 This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for mispronunciations detection tasks, the reference:
 

Variable Documentation

◆ data_

uint64 data_
private

Definition at line 108 of file arpa-lm-compiler.cc.

Referenced by AccumulateMultiThreadedClass::AccumulateMultiThreadedClass(), CuArrayBase< Int32Pair >::Add(), CuVectorBase< float >::Add(), VectorBase< float >::Add(), CuMatrixBase< float >::Add(), CuMatrixBase< float >::AddCols(), MatrixBase< float >::AddCols(), VectorBase< float >::AddColSumMat(), MatrixRandomizer::AddData(), VectorRandomizer::AddData(), StdVectorRandomizer< T >::AddData(), VectorBase< float >::AddDiagMat2(), CuVectorBase< float >::AddDiagMatMat(), VectorBase< float >::AddDiagMatMat(), SpMatrix< float >::AddDiagVec(), CuMatrixBase< float >::AddDiagVecMat(), MatrixBase< float >::AddDiagVecMat(), CuMatrixBase< float >::AddElements(), CuMatrixBase< float >::AddMat(), MatrixBase< float >::AddMat(), SpMatrix< float >::AddMat2Vec(), CuMatrixBase< float >::AddMatBlock(), CuMatrixBase< float >::AddMatBlocks(), CuMatrixBase< float >::AddMatDiagVec(), MatrixBase< float >::AddMatDiagVec(), CuMatrixBase< float >::AddMatMat(), MatrixBase< float >::AddMatMat(), CuMatrixBase< float >::AddMatMatElements(), MatrixBase< float >::AddMatMatElements(), MatrixBase< float >::AddMatSmat(), VectorBase< float >::AddMatSvec(), CuVectorBase< float >::AddMatVec(), VectorBase< float >::AddMatVec(), PackedMatrix< float >::AddPacked(), CuPackedMatrix< Real >::AddPacked(), CuMatrixBase< float >::AddRowRanges(), CuMatrixBase< float >::AddRows(), MatrixBase< float >::AddRows(), VectorBase< float >::AddRowSumMat(), SpMatrix< float >::AddSmat2Sp(), MatrixBase< float >::AddSmatMat(), MatrixBase< float >::AddSp(), MatrixBase< float >::AddSpSp(), CuVectorBase< float >::AddSpVec(), VectorBase< float >::AddSpVec(), CuPackedMatrix< Real >::AddToDiag(), PackedMatrix< float >::AddToDiag(), CuMatrixBase< float >::AddToDiag(), CuMatrixBase< float >::AddToElements(), CuMatrixBase< float >::AddToRows(), MatrixBase< float >::AddToRows(), VectorBase< float >::AddVec(), CuVectorBase< float >::AddVec(), VectorBase< float >::AddVec2(), SpMatrix< float >::AddVec2(), SpMatrix< float >::AddVec2Sp(), VectorBase< float >::AddVecDivVec(), CuMatrixBase< float >::AddVecToCols(), MatrixBase< float >::AddVecToCols(), CuMatrixBase< float >::AddVecToRows(), MatrixBase< float >::AddVecToRows(), MatrixBase< float >::AddVecVec(), CuVectorBase< float >::AddVecVec(), SpMatrix< float >::AddVecVec(), CuMatrixBase< float >::AddVecVec(), VectorBase< float >::ApplyAbs(), VectorBase< float >::ApplyExp(), CuVectorBase< float >::ApplyExp(), VectorBase< float >::ApplyFloor(), VectorBase< float >::ApplyLog(), CuVectorBase< float >::ApplyLog(), VectorBase< float >::ApplyLogAndCopy(), CuVectorBase< float >::ApplyLogSoftMax(), VectorBase< float >::ApplyLogSoftMax(), VectorBase< float >::ApplyPowAbs(), CuVectorBase< float >::ApplySoftMax(), VectorBase< float >::ApplySoftMax(), VectorBase< float >::ApproxEqual(), ArcIterator< GrammarFst >::ArcIterator(), CuBlockMatrix< Real >::Block(), VectorBase< float >::Ceiling(), CuVectorBase< float >::Ceiling(), CuMatrixBase< float >::Ceiling(), MatrixBase< float >::Ceiling(), TpMatrix< float >::Cholesky(), WaveData::Clear(), OnlineCacheInput::Compute(), ArcIterator< GrammarFst >::CopyArcToTemp(), CuVectorBase< float >::CopyColFromMat(), VectorBase< float >::CopyColFromMat(), MatrixBase< float >::CopyColFromVec(), CuMatrixBase< float >::CopyColFromVec(), CuMatrixBase< float >::CopyCols(), MatrixBase< float >::CopyCols(), VectorBase< float >::CopyColsFromMat(), MatrixBase< float >::CopyColsFromVec(), CuMatrixBase< float >::CopyColsFromVec(), CuVectorBase< float >::CopyDiagFromMat(), VectorBase< float >::CopyDiagFromMat(), CuVectorBase< float >::CopyDiagFromPacked(), VectorBase< float >::CopyDiagFromPacked(), CuVectorBase< float >::CopyElements(), WaveData::CopyFrom(), CuArrayBase< Int32Pair >::CopyFromArray(), CuArray< Int32Pair >::CopyFromArray(), CuSpMatrix< Real >::CopyFromMat(), TpMatrix< float >::CopyFromMat(), SpMatrix< float >::CopyFromMat(), MatrixBase< float >::CopyFromMat(), CuMatrixBase< float >::CopyFromMat(), PackedMatrix< float >::CopyFromPacked(), CuPackedMatrix< Real >::CopyFromPacked(), VectorBase< float >::CopyFromPtr(), CuMatrixBase< float >::CopyFromSp(), MatrixBase< float >::CopyFromSp(), MatrixBase< float >::CopyFromTp(), CuMatrixBase< float >::CopyFromTp(), CuArrayBase< Int32Pair >::CopyFromVec(), PackedMatrix< float >::CopyFromVec(), VectorBase< float >::CopyFromVec(), CuArray< Int32Pair >::CopyFromVec(), CuVectorBase< float >::CopyFromVec(), CuMatrixBase< float >::CopyLowerToUpper(), MatrixBase< float >::CopyLowerToUpper(), VectorBase< float >::CopyRowFromMat(), VectorBase< float >::CopyRowFromSp(), CuMatrixBase< float >::CopyRows(), MatrixBase< float >::CopyRows(), CuVectorBase< float >::CopyRowsFromMat(), VectorBase< float >::CopyRowsFromMat(), MatrixBase< float >::CopyRowsFromVec(), CuMatrixBase< float >::CopyRowsFromVec(), CuArrayBase< Int32Pair >::CopyToHost(), CuMatrixBase< float >::CopyToMat(), CuPackedMatrix< Real >::CopyToPacked(), CuMatrixBase< float >::CopyToRows(), MatrixBase< float >::CopyToRows(), CuArrayBase< Int32Pair >::CopyToVec(), CuVectorBase< float >::CopyToVec(), CuMatrixBase< float >::CopyUpperToLower(), MatrixBase< float >::CopyUpperToLower(), CuBlockMatrix< Real >::CuBlockMatrix(), CuSubArray< T >::CuSubArray(), CuSubMatrix< Real >::CuSubMatrix(), WaveData::Data(), OnlineCacheInput::Deallocate(), CuPackedMatrix< Real >::Destroy(), CuBlockMatrix< Real >::Destroy(), CuArray< Int32Pair >::Destroy(), PackedMatrix< float >::Destroy(), CuVector< float >::Destroy(), Vector< float >::Destroy(), CuMatrix< float >::Destroy(), CuMatrixBase< float >::DiffGroupPnorm(), CuMatrixBase< float >::DiffLogSoftmaxPerRow(), CuMatrixBase< float >::DiffParametricRelu(), CuMatrixBase< float >::DiffSigmoid(), MatrixBase< float >::DiffSigmoid(), CuMatrixBase< float >::DiffSoftmaxPerRow(), CuMatrixBase< float >::DiffTanh(), MatrixBase< float >::DiffTanh(), CuMatrixBase< float >::DiffXent(), VectorBase< float >::DivElements(), CuMatrixBase< float >::DivElements(), CuMatrixBase< float >::DivRowsVec(), ArcIterator< GrammarFst >::Done(), WaveData::Duration(), CuMatrixBase< float >::EqualElementMask(), CuMatrixBase< float >::Exp(), MatrixBase< float >::Exp(), CuMatrixBase< float >::ExpLimited(), MatrixBase< float >::ExpLimited(), CuMatrixBase< float >::ExpSpecial(), MatrixBase< float >::ExpSpecial(), CuMatrixBase< float >::FindRowMaxId(), VectorBase< float >::Floor(), CuVectorBase< float >::Floor(), CuMatrixBase< float >::Floor(), MatrixBase< float >::Floor(), OnlineCacheInput::GetCachedData(), CuMatrixBase< float >::GroupMax(), CuMatrixBase< float >::GroupMaxDeriv(), CuMatrixBase< float >::GroupPnorm(), CuMatrixBase< float >::Heaviside(), MatrixBase< float >::Heaviside(), PackedMatrix< float >::Init(), Vector< float >::Init(), Matrix< BaseFloat >::Init(), TpMatrix< float >::Invert(), SpMatrix< float >::Invert(), MatrixBase< float >::Invert(), CuVectorBase< float >::InvertElements(), VectorBase< float >::InvertElements(), CuMatrixBase< float >::InvertElements(), VectorBase< float >::IsZero(), MatrixBase< float >::LapackGesvd(), CuMatrixBase< float >::Log(), MatrixBase< float >::Log(), CuMatrixBase< float >::LogSoftMaxPerRow(), VectorBase< float >::LogSumExp(), CuMatrixBase< float >::Lookup(), CuVectorBase< float >::Max(), VectorBase< float >::Max(), CuMatrixBase< float >::Max(), CuBlockMatrix< Real >::MaxBlockRows(), CuVectorBase< float >::Min(), VectorBase< float >::Min(), CuMatrixBase< float >::Min(), CuMatrixBase< float >::MulColsVec(), CuVectorBase< float >::MulElements(), MatrixBase< float >::MulElements(), VectorBase< float >::MulElements(), CuMatrixBase< float >::MulElements(), CuMatrixBase< float >::MulRows(), CuMatrixBase< float >::MulRowsGroupMat(), CuMatrixBase< float >::MulRowsVec(), CuVectorBase< float >::MulTp(), VectorBase< float >::MulTp(), VectorBase< float >::Norm(), CuVectorBase< float >::Norm(), AccumulateMultiThreadedClass::operator()(), CuBlockMatrix< Real >::operator=(), CuMatrixBase< float >::ParametricRelu(), VectorBase< float >::Pow(), CuVectorBase< float >::Pow(), CuMatrixBase< float >::Pow(), MatrixBase< float >::Pow(), CuMatrixBase< float >::PowAbs(), MatrixBase< float >::PowAbs(), VectorBase< float >::RandCategorical(), MatrixRandomizer::Randomize(), VectorRandomizer::Randomize(), StdVectorRandomizer< T >::Randomize(), WaveData::Read(), PackedMatrix< float >::Read(), Vector< float >::Read(), Vector< float >::RemoveElement(), CuVectorBase< float >::ReplaceValue(), VectorBase< float >::ReplaceValue(), PackedMatrix< float >::Resize(), CuPackedMatrix< Real >::Resize(), CuArray< Int32Pair >::Resize(), CuVector< float >::Resize(), Vector< float >::Resize(), CuMatrix< float >::Resize(), Matrix< BaseFloat >::Resize(), OptimizeLbfgs< Real >::S(), CuPackedMatrix< Real >::Scale(), CuVectorBase< float >::Scale(), PackedMatrix< float >::Scale(), MatrixBase< float >::Scale(), VectorBase< float >::Scale(), CuMatrixBase< float >::Scale(), CuPackedMatrix< Real >::ScaleDiag(), PackedMatrix< float >::ScaleDiag(), CuArrayBase< Int32Pair >::Sequence(), VectorBase< float >::Set(), CuArrayBase< Int32Pair >::Set(), CuVectorBase< float >::Set(), CuMatrixBase< float >::Set(), CuPackedMatrix< Real >::SetDiag(), PackedMatrix< float >::SetDiag(), CuMatrixBase< float >::SetMatMatDivMat(), VectorBase< float >::SetRandn(), PackedMatrix< float >::SetRandn(), CuPackedMatrix< Real >::SetRandn(), VectorBase< float >::SetRandUniform(), PackedMatrix< float >::SetUnit(), VectorBase< float >::SetZero(), CuArrayBase< Int32Pair >::SetZero(), PackedMatrix< float >::SetZero(), CuPackedMatrix< Real >::SetZero(), CuVectorBase< float >::SetZero(), MatrixBase< float >::SetZero(), CuMatrixBase< float >::SetZero(), CuMatrixBase< float >::SetZeroAboveDiag(), VectorBase< float >::Sigmoid(), CuMatrixBase< float >::Sigmoid(), MatrixBase< float >::Sigmoid(), CuMatrixBase< float >::SoftHinge(), CuMatrixBase< float >::SoftMaxPerRow(), VectorBase< float >::Solve(), SubMatrix< Real >::SubMatrix(), CuVectorBase< float >::Sum(), VectorBase< float >::Sum(), CuMatrixBase< float >::Sum(), CuMatrixBase< float >::SumColumnRanges(), VectorBase< float >::SumLog(), SpMatrix< float >::Swap(), TpMatrix< float >::Swap(), CuBlockMatrix< Real >::Swap(), WaveData::Swap(), PackedMatrix< float >::Swap(), CuArray< Int32Pair >::Swap(), CuVector< float >::Swap(), Vector< float >::Swap(), Matrix< BaseFloat >::Swap(), CuMatrixBase< float >::SymAddMat2(), MatrixBase< float >::SymAddMat2(), VectorBase< float >::Tanh(), CuMatrixBase< float >::Tanh(), MatrixBase< float >::Tanh(), SpMatrix< float >::Trace(), CuMatrixBase< float >::Trace(), MatrixRandomizer::Value(), VectorRandomizer::Value(), StdVectorRandomizer< T >::Value(), WaveData::Write(), PackedMatrix< float >::Write(), and OptimizeLbfgs< Real >::Y().

◆ vector_

std::vector<Symbol> vector_
private