apoc.text.jaroWinklerDistance
Function
apoc.text.jaroWinklerDistance(text1 String, text2 String)
- compares the two given strings using the Jaro-Winkler distance algorithm.
Usage Examples
RETURN apoc.text.jaroWinklerDistance("Neo4j", "Neo4j") AS output;
output |
---|
0.0 |
RETURN apoc.text.jaroWinklerDistance("Neo4j", "Neoj4") AS output;
output |
---|
0.046666666666666745 |
RETURN apoc.text.jaroWinklerDistance("Neo4j Aura", "Neo4j Graph Database") AS output;
output |
---|
0.15999999999999992 |
Was this page helpful?