similarity

Implements Jacard algorithm. Returns a Float that represents the similarity between two Strings. If equals to 1.0, it means the Strings are the same.
similarity($data , compare ) : Float
$data.similarity( compare ) : Float
Parameters
$data String
compare String
Examples

How to calculate similarity between Strings