21 #ifndef KALDI_UTIL_EDIT_DISTANCE_H_ 22 #define KALDI_UTIL_EDIT_DISTANCE_H_ 37 const std::vector<T> &b);
46 const std::vector<T> &hyp,
58 const std::vector<T> &b,
60 std::vector<std::pair<T, T> > *output);
64 #endif // KALDI_UTIL_EDIT_DISTANCE_H_ This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
int32 LevenshteinAlignment(const std::vector< T > &a, const std::vector< T > &b, T eps_symbol, std::vector< std::pair< T, T > > *output)
int32 LevenshteinEditDistance(const std::vector< T > &a, const std::vector< T > &b)