PHP Classes

Classes of Marius Ciotlos

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Marius Ciotlos (1)  >  Mission progress status  >  Reputation  
Picture of Marius Ciotlos
Name: Marius Ciotlos <contact>
Classes: 1
Country: Romania Romania
Age: 42
All time rank: 130133 in Romania Romania
Week rank: 158 Up5 in Romania Romania Up
All time users: 2382
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image String Similarity  
Calculate the similarity of two text strings
This class can be used to calculate the similarity of two text strings.

It is a PHP port of the fuzzy string comparison algorithm used in GNU diff also ported to Perl by Marc Lehmann.

The class calculates the similarity index between two strings. A value of 0 means that the strings are entirely different. A value of 1 means that the strings are identical. Other values mean that the strings are different but appear to have a degree of similarity.

Optionally it can limit the level of similarity between the strings that must be satisfied before it stops analyzing the strings. The algorithm stops when the similarity level drops below the specified limit.
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 87% 62% - 84% - - 58% 1424
Month: Not yet rated by the users


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z