apoc.text.sorensenDiceSimilarity
Function
apoc.text.sorensenDiceSimilarityWithLanguage(text1 String, text2 String, languageTag String)
- compares the two given strings using the Sørensen–Dice coefficient formula, with the provided IETF language tag.
Signature
apoc.text.sorensenDiceSimilarity(text1 :: STRING?, text2 :: STRING?, languageTag = en :: STRING?) :: (FLOAT?)
Usage Examples
RETURN apoc.text.sorensenDiceSimilarity("belly", "jolly") AS output;
output |
---|
0.5 |
Was this page helpful?