nnet-common.cc File Reference
Include dependency graph for nnet-common.cc:

Go to the source code of this file.


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


static void WriteIndexVectorElementBinary (std::ostream &os, const std::vector< Index > &vec, int32 i)
static void ReadIndexVectorElementBinary (std::istream &is, int32 i, std::vector< Index > *vec)
void WriteIndexVector (std::ostream &os, bool binary, const std::vector< Index > &vec)
void ReadIndexVector (std::istream &is, bool binary, std::vector< Index > *vec)
static void WriteCindexVectorElementBinary (std::ostream &os, const std::vector< Cindex > &vec, int32 i)
static void ReadCindexVectorElementBinary (std::istream &is, int32 i, std::vector< Cindex > *vec)
void WriteCindexVector (std::ostream &os, bool binary, const std::vector< Cindex > &vec)
void ReadCindexVector (std::istream &is, bool binary, std::vector< Cindex > *vec)
std::ostream & operator<< (std::ostream &ostream, const Index &index)
std::ostream & operator<< (std::ostream &ostream, const Cindex &cindex)
void PrintCindex (std::ostream &os, const Cindex &cindex, const std::vector< std::string > &node_names)
void PrintIndexes (std::ostream &ostream, const std::vector< Index > &indexes)
 this will only be used for pretty-printing. More...
void PrintCindexes (std::ostream &ostream, const std::vector< Cindex > &cindexes, const std::vector< std::string > &node_names)
 this will only be used for pretty-printing. More...
void PrintIntegerVector (std::ostream &os, const std::vector< int32 > &ints)


const int kNoTime = std::numeric_limits<int32>::min()