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 top
  • FAR [OBJ]: ranked objects, furthest from the given value on top

Parameters

  • Similarity function:
    • overlap: based on amount of exact overlap
    • word overlap: based on amount of overlapping words.
    • levenshtein: based on the minimum number of single-character edits.
    • jaro-winkler: a variant of levenshtein which gives more favorable ratings to strings that match from the beginning for a set prefix.
  • Case-sensitive: if set to false, upper/lower case is ignored