search.matchers

Matcher functions to determine similarity between two strings

Using different algorithms and given two strings, each function returns a value between 0 and 1, where 0 is completely different and 1 represent complete equality (as in “hello world”, “hello world”)

Functions

similarity(query, string) Calculate the match for the given query and string.