apply method

  1. @override
double apply(
  1. String s1,
  2. String s2, {
  3. double scoreCutoff = 0.0,
})
override

Returns the score of similarity computed from s1 and s2 Optionally takes a scoreCutoff which will return early if the score is below the threshold

Implementation

@override
double apply(String s1, String s2, {double scoreCutoff = 0.0}) {
  return core.partialRatio(s1, s2, scoreCutoff: scoreCutoff);
}