String distance
|
|
---|---|
String distance metrics |
|
String similarity ratioSimilarity ratios are friendlier than distance measures when trying to rank strings by similarity. |
|
Simple ratiosThese measures are useful for comparing individual words or other short strings. |
|
String similarity ratio |
|
Ratio of the best-matching substring |
|
Token-based ratiosSplitting strings into tokens is useful when comparing the similarity of longer phrases. |
|
Matching based on common tokens |
|
Ordered token matching |
|
Weighted token functionsFunctions that allow you to modify the weight given to different tokens. |
|
Weighted token similarity measure |
|
Weighted version of lev_token_sort_ratio() |
|
Weighted version of |
|
Ranking functionsFunctions for comparing multiple candidates to a single string and ranking the results. |
|
Score multiple candidate strings against a single input |
|
Get the best matched string from a list of candidates |