| Recommend this page to a friend! |
| Classes of Marius Ciotlos | > | String Similarity | > | Download .tar.gz .zip | > | > | > | |||||
|
| |||||||||||||||||||||||||||||||||||||||||||
| Detailed description | ||
| 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. |
| Groups | ||
| Algorithms | Numerical and statistical algorithms | View top rated classes | |
| PHP 5 | Classes using PHP 5 specific features | View top rated classes | |
| Text processing | Manipulating and validating text data | View top rated classes |
| Applications | ||||||
No application links were specified for this class.
|
|||||||||||||||||||||||||||||||||||||||||