apoc.text.phoneticDelta
Procedure APOC Core
apoc.text.phoneticDelta(text1, text2) yield phonetic1, phonetic2, delta - Compute the US_ENGLISH soundex character difference between two given strings
Signature
apoc.text.phoneticDelta(text1 :: STRING?, text2 :: STRING?) :: (phonetic1 :: STRING?, phonetic2 :: STRING?, delta :: INTEGER?)
Usage Examples
CALL apoc.text.phoneticDelta("Neo4j", "Neo4j");
phonetic1 | phonetic2 | delta |
---|---|---|
"N200" |
"N200" |
4 |
CALL apoc.text.phoneticDelta("Neo4j Graph Data Science Library", "Neo4j Graph Database");
phonetic1 | phonetic2 | delta |
---|---|---|
"N261" |
"N261" |
4 |
CALL apoc.text.phoneticDelta("GRANDstack", "GraphQL");
phonetic1 | phonetic2 | delta |
---|---|---|
"G653" |
"G612" |
2 |