Login   Register  
PHP Classes
elePHPant
Icontem

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

  Author Author  
Picture of Er. Rochak Chauhan
Name: Er. Rochak Chauhan is available for providing paid consulting. Contact Er. Rochak Chauhan .
Classes: 51 packages by
Country: India India
Age: 35
All time rank: 21 in India India
Week rank: 8 Down2 in India India Down
Innovation award
Innovation award
Nominee: 13x

Winner: 3x


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

  Classes of Er. Rochak Chauhan  >  PHP Compare Strings  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Compare Strings
Base name: php-compare-strings
Description: Compares strings to determine similarity level
Version: 1
PHP version: 5
License: Free For Educational Use
All time users: 1050 users
All time rank: 3255
Week users: 2 users
Week rank: 887 Up
 
  Groups   Rate classes User ratings   Trackback  
  Applications   Related pages   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


  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

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (75%) Sufficient (75%) - Good (91%) - - Not sure (54%) 1317
Month: Not yet rated by the users

  Pages that reference this package  
Comparing two strings in PHP
Well it took me a bit to find out how to do that but here it is:...

Latest pages that reference packages Latest pages that reference packages


  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.

  Related pages  
PhpCompareStrings
Online Demo

  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

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