mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-06-17 22:38:07 +00:00
examples : fix + refactor Levenshtein distance
This commit is contained in:
@ -118,3 +118,5 @@ bool vad_simple(
|
||||
float freq_thold,
|
||||
bool verbose);
|
||||
|
||||
// compute similarity between two strings using Levenshtein distance
|
||||
float similarity(const std::string & s0, const std::string & s1);
|
||||
|
Reference in New Issue
Block a user