#include <online-ivector-feature.h>

Classes | |
| struct | FrameInfo | 
Public Member Functions | |
| OnlineSilenceWeighting (const TransitionModel &trans_model, const OnlineSilenceWeightingConfig &config, int32 frame_subsampling_factor=1) | |
| bool | Active () const | 
| template<typename FST > | |
| void | ComputeCurrentTraceback (const LatticeFasterOnlineDecoderTpl< FST > &decoder) | 
| template<typename FST > | |
| void | ComputeCurrentTraceback (const LatticeIncrementalOnlineDecoderTpl< FST > &decoder) | 
| void | GetDeltaWeights (int32 num_frames_ready, int32 first_decoder_frame, std::vector< std::pair< int32, BaseFloat > > *delta_weights) | 
| void | GetDeltaWeights (int32 num_frames_ready, std::vector< std::pair< int32, BaseFloat > > *delta_weights) | 
Private Attributes | |
| const TransitionModel & | trans_model_ | 
| const OnlineSilenceWeightingConfig & | config_ | 
| int32 | frame_subsampling_factor_ | 
| unordered_set< int32 > | silence_phones_ | 
| std::vector< FrameInfo > | frame_info_ | 
| int32 | num_frames_output_and_correct_ | 
Definition at line 465 of file online-ivector-feature.h.
| OnlineSilenceWeighting | ( | const TransitionModel & | trans_model, | 
| const OnlineSilenceWeightingConfig & | config, | ||
| int32 | frame_subsampling_factor = 1  | 
        ||
| ) | 
Definition at line 465 of file online-ivector-feature.cc.
References OnlineSilenceWeighting::frame_subsampling_factor_, rnnlm::i, KALDI_ASSERT, OnlineSilenceWeighting::silence_phones_, OnlineSilenceWeightingConfig::silence_phones_str, and kaldi::SplitStringToIntegers().
      
  | 
  inline | 
Definition at line 478 of file online-ivector-feature.h.
Referenced by main(), SingleUtteranceNnet2DecoderThreaded::RunDecoderSearchInternal(), and SingleUtteranceNnet2DecoderThreaded::RunNnetEvaluationInternal().
| void ComputeCurrentTraceback | ( | const LatticeFasterOnlineDecoderTpl< FST > & | decoder | ) | 
Definition at line 482 of file online-ivector-feature.cc.
References LatticeFasterOnlineDecoderTpl< FST >::BestPathEnd(), LatticeFasterOnlineDecoderTpl< FST >::BestPathIterator::frame, OnlineSilenceWeighting::frame_info_, KALDI_ASSERT, KALDI_ERR, OnlineSilenceWeighting::num_frames_output_and_correct_, LatticeFasterDecoderTpl< FST, decoder::BackpointerToken >::NumFramesDecoded(), LatticeFasterOnlineDecoderTpl< FST >::BestPathIterator::tok, and LatticeFasterOnlineDecoderTpl< FST >::TraceBackBestPath().
Referenced by main(), and SingleUtteranceNnet2DecoderThreaded::RunDecoderSearchInternal().
| void ComputeCurrentTraceback | ( | const LatticeIncrementalOnlineDecoderTpl< FST > & | decoder | ) | 
Definition at line 532 of file online-ivector-feature.cc.
References LatticeIncrementalOnlineDecoderTpl< FST >::BestPathEnd(), LatticeIncrementalOnlineDecoderTpl< FST >::BestPathIterator::frame, OnlineSilenceWeighting::frame_info_, KALDI_ASSERT, KALDI_ERR, OnlineSilenceWeighting::num_frames_output_and_correct_, LatticeIncrementalDecoderTpl< FST, decoder::BackpointerToken >::NumFramesDecoded(), LatticeIncrementalOnlineDecoderTpl< FST >::BestPathIterator::tok, and LatticeIncrementalOnlineDecoderTpl< FST >::TraceBackBestPath().
| void GetDeltaWeights | ( | int32 | num_frames_ready, | 
| int32 | first_decoder_frame, | ||
| std::vector< std::pair< int32, BaseFloat > > * | delta_weights | ||
| ) | 
Definition at line 597 of file online-ivector-feature.cc.
References OnlineSilenceWeighting::config_, OnlineSilenceWeighting::frame_info_, OnlineSilenceWeighting::frame_subsampling_factor_, rnnlm::i, KALDI_ASSERT, KALDI_VLOG, OnlineSilenceWeightingConfig::max_state_duration, OnlineSilenceWeighting::silence_phones_, OnlineSilenceWeightingConfig::silence_weight, OnlineSilenceWeighting::trans_model_, and TransitionModel::TransitionIdToPhone().
Referenced by main(), and SingleUtteranceNnet2DecoderThreaded::RunNnetEvaluationInternal().
      
  | 
  inline | 
Definition at line 519 of file online-ivector-feature.h.
      
  | 
  private | 
Definition at line 527 of file online-ivector-feature.h.
Referenced by OnlineSilenceWeighting::GetDeltaWeights().
      
  | 
  private | 
Definition at line 551 of file online-ivector-feature.h.
Referenced by OnlineSilenceWeighting::ComputeCurrentTraceback(), and OnlineSilenceWeighting::GetDeltaWeights().
      
  | 
  private | 
Definition at line 529 of file online-ivector-feature.h.
Referenced by OnlineSilenceWeighting::GetDeltaWeights(), and OnlineSilenceWeighting::OnlineSilenceWeighting().
      
  | 
  private | 
Definition at line 561 of file online-ivector-feature.h.
Referenced by OnlineSilenceWeighting::ComputeCurrentTraceback().
      
  | 
  private | 
Definition at line 531 of file online-ivector-feature.h.
Referenced by OnlineSilenceWeighting::GetDeltaWeights(), and OnlineSilenceWeighting::OnlineSilenceWeighting().
      
  | 
  private | 
Definition at line 526 of file online-ivector-feature.h.
Referenced by OnlineSilenceWeighting::GetDeltaWeights().