edit-distance-inl.h File Reference
#include <algorithm>
#include <utility>
#include <vector>
#include "util/stl-utils.h"
Include dependency graph for edit-distance-inl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  error_stats
 

Namespaces

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

Functions

template<class T >
int32 LevenshteinEditDistance (const std::vector< T > &a, const std::vector< T > &b)
 
template<class T >
int32 LevenshteinEditDistance (const std::vector< T > &ref, const std::vector< T > &hyp, int32 *ins, int32 *del, int32 *sub)
 
template<class T >
int32 LevenshteinAlignment (const std::vector< T > &a, const std::vector< T > &b, T eps_symbol, std::vector< std::pair< T, T > > *output)