Rank by String similarity¶
Description¶
Ranks objects based on how similar a selected string attribute value is to a given string.
Input¶
SOURCE [OBJ]: the list of objects to rank
Output¶
CLOSE [OBJ]: ranked objects, closest to the given value on topFAR [OBJ]: ranked objects, furthest from the given value on top
Parameters¶
Similarity function:overlap: based on amount of exact overlapword overlap: based on amount of overlapping words.levenshtein: based on the minimum number of single-character edits.jaro-winkler: a variant oflevenshteinwhich gives more favourable ratings to strings that match from the beginning for a set prefix.
Case-sensitive: if set tofalse, upper/lower case is ignored