19 #ifndef KALDI_UTIL_SIMPLE_IO_FUNCS_H_ 20 #define KALDI_UTIL_SIMPLE_IO_FUNCS_H_ 39 const std::vector<int32> &v);
45 std::vector<int32> *v);
54 const std::vector<std::vector<int32> > &v);
57 std::vector<std::vector<int32> > *v);
63 #endif // KALDI_UTIL_SIMPLE_IO_FUNCS_H_ This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
bool ReadIntegerVectorVectorSimple(const std::string &rxfilename, std::vector< std::vector< int32 > > *list)
bool WriteIntegerVectorVectorSimple(const std::string &wxfilename, const std::vector< std::vector< int32 > > &list)
bool WriteIntegerVectorSimple(const std::string &wxfilename, const std::vector< int32 > &list)
WriteToList attempts to write this list of integers, one per line, to the given file, in text format.
bool ReadIntegerVectorSimple(const std::string &rxfilename, std::vector< int32 > *list)
ReadFromList attempts to read this list of integers, one per line, from the given file...