online-endpoint.h File Reference
#include <string>
#include <vector>
#include <deque>
#include "matrix/matrix-lib.h"
#include "util/common-utils.h"
#include "base/kaldi-error.h"
#include "feat/feature-functions.h"
#include "feat/feature-mfcc.h"
#include "feat/feature-plp.h"
#include "itf/online-feature-itf.h"
#include "lat/kaldi-lattice.h"
#include "hmm/transition-model.h"
#include "decoder/lattice-faster-online-decoder.h"
#include "decoder/lattice-incremental-online-decoder.h"
Include dependency graph for online-endpoint.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  OnlineEndpointRule
 This header contains a simple facility for endpointing, that should be used in conjunction with the "online2" online decoding code; see ../online2bin/online2-wav-gmm-latgen-faster-endpoint.cc. More...
 
struct  OnlineEndpointConfig
 

Namespaces

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

Functions

bool EndpointDetected (const OnlineEndpointConfig &config, int32 num_frames_decoded, int32 trailing_silence_frames, BaseFloat frame_shift_in_seconds, BaseFloat final_relative_cost)
 This function returns true if this set of endpointing rules thinks we should terminate decoding. More...
 
template<typename FST , typename DEC >
int32 TrailingSilenceLength (const TransitionModel &tmodel, const std::string &silence_phones, const DEC &decoder)
 returns the number of frames of trailing silence in the best-path traceback (not using final-probs). More...
 
template<typename FST >
bool EndpointDetected (const OnlineEndpointConfig &config, const TransitionModel &tmodel, BaseFloat frame_shift_in_seconds, const LatticeFasterOnlineDecoderTpl< FST > &decoder)
 This is a higher-level convenience function that works out the arguments to the EndpointDetected function above, from the decoder. More...
 
template<typename FST >
bool EndpointDetected (const OnlineEndpointConfig &config, const TransitionModel &tmodel, BaseFloat frame_shift_in_seconds, const LatticeIncrementalOnlineDecoderTpl< FST > &decoder)
 This is a higher-level convenience function that works out the arguments to the EndpointDetected function above, from the decoder. More...