StringExtensions extension
- on
Methods
-
activeSimilarity(
String t, {bool caseSensitive = false}) → double -
Available on String, provided by the StringExtensions extension
Returns a value between in range[0,1]indicating the similarity ratio of the two substrings using the active similarity algorithm defined inOmniModelPreferences.similarityBackend -
levenshtein(
String t, {bool caseSensitive = true}) → double -
Available on String, provided by the StringExtensions extension
Calculate a coefficient based on the Levenshtein distance between two arbitrary strings -
similarityConvolution(
String t, {bool caseSensitive = false}) → double -
Available on String, provided by the StringExtensions extension
Returns a value between in range[0,1]indicating the similarity ratio of the two substrings