PHP Classes

PHP Compare Strings: Compares strings to determine similarity level

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 1,195 All time: 3,164 This week: 164Up
Version License PHP version Categories
php-compare-strings 1Free For Educatio...5Algorithms, PHP 5, Text processing
Description 

Author

This class can be used to compares strings to determine similarity level.

It takes two strings to compare and split the strings into words.

The class uses the Levenshtein algorithm to compare the words and determine the overall similarity level.

Innovation Award
PHP Programming Innovation award nominee
May 2010
Number 11
There are many algorithms that can be used to compare two strings. One of such algorithms Levenshtein. It can return the similarity level of two words.

This class provides a more enhanced solution to determine the similarity of strings with multiple words using Levenshtein algorithm.

Manuel Lemos
Picture of Er. Rochak Chauhan
  Performance   Level  
Name: Er. Rochak Chauhan <contact>
Classes: 54 packages by
Country: India India
Innovation award
Innovation award
Nominee: 15x

Winner: 3x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example Script
Plain text file phpCompareStrings.inc.php Class Example Script

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,195
This week:0
All time:3,164
This week:164Up
User Ratings User Comments (2)
 All time
Utility:87%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:91%StarStarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:1192
 
just what I needed
7 years ago (JS)
52%StarStarStar
Very Good Script.
11 years ago (Samarjit Acharya)
67%StarStarStarStar