PHP Classes

Notable PHP package: PHP Similar Text Percentage

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Viewers: 142

Last month viewers: 1

Categories: Notable Packages

PHP comes with built-in functions for comparing strings and determine how similar they are.

This package provides a pure PHP solution that works in a more sophisticated way by performing text comparison on a sentences basis, rather than on a word by word basis.

Read this article to learn more details about how this notable PHP package works.




Loaded Article
The package PHP Similar Text Percentage is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Compare two strings to compute a similarity score

Here follows in more detail what it does:

This class can compare two strings to compute a similarity score.

It takes the text of two strings and analyze them using pure PHP code to evaluate how equal they are.

The class returns a number that represents a percentage of the two strings to tell the level of similarity.

It achieves that by sorting words, ignoring white space and punctuation, removing or adding word, strip URLs, replace words by acronyms or expanding acronyms into the original words, compare words with similar sounds using stems, checking parts of the strings, replace words by abbreviations or using anagrams.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.



You need to be a registered user or login to post a comment

Login Immediately with your account on:



Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)