nnet-component.cc File Reference
#include <iterator>
#include <sstream>
#include "nnet2/nnet-component.h"
#include "nnet2/nnet-precondition.h"
#include "nnet2/nnet-precondition-online.h"
#include "util/stl-utils.h"
#include "util/text-utils.h"
#include "util/kaldi-io.h"
Include dependency graph for nnet-component.cc:

Go to the source code of this file.

Namespaces

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

Functions

static void ExpectOneOrTwoTokens (std::istream &is, bool binary, const std::string &token1, const std::string &token2)
 
bool ParseFromString (const std::string &name, std::string *string, int32 *param)
 Functions used in Init routines. More...
 
bool ParseFromString (const std::string &name, std::string *string, bool *param)
 This version is for parameters of type bool, which can appear as any string beginning with f, F, t or T. More...
 
bool ParseFromString (const std::string &name, std::string *string, BaseFloat *param)
 This version is for parameters of type BaseFloat. More...
 
bool ParseFromString (const std::string &name, std::string *string, std::string *param)
 
bool ParseFromString (const std::string &name, std::string *string, std::vector< int32 > *param)
 This version is for parameters of type std::vector<int32>; it expects them as a colon-separated list, without spaces. More...