Login   Register  
PHP Classes
elePHPant
Icontem

String Similarity: Calculate the similarity of two text strings

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Marius Ciotlos
Name: Marius Ciotlos <contact>
Classes: 1 package by
Country: Romania Romania
Age: 32
All time rank: 122032 in Romania Romania
Week rank: 1067 Up25 in Romania Romania Up


  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of Marius Ciotlos  >  String Similarity  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: String Similarity
Base name: string-similarity
Description: Calculate the similarity of two text strings
Version: -
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 2264 users
All time rank: 1598
Week users: 1 user
Week rank: 1435 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Algorithms Numerical and statistical algorithms View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (91%) Sufficient (62%) - Good (87%) - - Sufficient (60%) 821
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file example Example example file
Plain text file String-Similarity Class main class

Download Download all files: string-similarity.tar.gz string-similarity.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.