string_jaro_winkler
Functions
- string_jaro_winkler(first, second) ⇒
number
Calculate the Jaro-Winkler distance between two strings
- getPrefix(a1, a2, character_limit) ⇒
number
Counts the number of common characters at the beginning of each word up to a maximum of 4
string_jaro_winkler(first, second) ⇒ number
Calculate the Jaro-Winkler distance between two strings
Kind: global function
Returns: number
- similarity score, higher value means strings are more similar
Param | Type | Description |
---|---|---|
first | string | The string to compare |
second | string | The string to compare with |
getPrefix(a1, a2, character_limit) ⇒ number
Counts the number of common characters at the beginning of each word up to a maximum of 4
Kind: global function
Param | Type | Description |
---|---|---|
a1 | string | The first string to compare |
a2 | string | The second string to compare |
character_limit | number |