VLC 4.0.0-dev
|
Go to the source code of this file.
Functions | |
int | vlc_jaro_winkler (const char *a, const char *b, float *res) |
Calculate a “Jaro Winkler” metric. | |
int vlc_jaro_winkler | ( | const char * | a, |
const char * | b, | ||
float * | res | ||
) |
Calculate a “Jaro Winkler” metric.
Algorithm: http://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance
Like “Jaro” but gives a boost to strings that have a common prefix.
a | string A |
b | string B |
res | [OUT] a pointer to a float to receive the result |
References jaro_inner().
Referenced by config_LoadCmdLine().