apoc.text.sorensenDiceSimilarity
Function APOC Core
apoc.text.sorensenDiceSimilarityWithLanguage(text1, text2, languageTag) - compare the given strings with 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?