Login   Register  
PHP Classes

PHP Compare Strings: Compares strings to determine similarity level

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-05-17 (4 years ago) RSS 2.0 feedStarStarStar 54%Total: 1,065 This week: 1All time: 3,249 This week: 1,398Up
Version License PHP version Categories  
php-compare-strings 1Free For Educational Use5Algorithms, 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
Name: Er. Rochak Chauhan is available for providing paid consulting. Contact Er. Rochak Chauhan .
Classes: 52 packages by
Country: India India
Age: 36
All time rank: 21 in India India
Week rank: 10 Down3 in India India Down
Innovation award
Innovation award
Nominee: 14x

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,065All time:3,249
 This week:1This week:1,398Up
User Ratings User Comments (1)  
 All time
Very Good Script.
2 years ago (Samarjit Acharya)