PHP Text Comparison: Compare two texts to find similar sentences

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 143 All time: 8,940 This week: 238Up
Version License PHP version Categories
text-comparison 1.0.0GNU Free Document...5Algorithms, PHP 5, Text processing
Description Author

This class can compare two texts to find similar sentences.

It can take two text strings and compares them to determine how much each of the sentences in the texts are similar.

The class returns all sentences that have similarity level above a given percentage value also passed as parameter.


check similariries between text files
i want to check different text documents to find similarities

Picture of riccardo castagna
  Performance   Level  
Name: riccardo castagna is available for providing paid consulting. Contact riccardo castagna .
Classes: 7 packages by
Country: Italy Italy
Age: 52
All time rank: 109340 in Italy Italy
Week rank: 130 Up7 in Italy Italy Up
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

  Files folder image Files  
File Role Description
Files folder imagelib (1 file)
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file index_2.php Example Example script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file Doc. Documentation

  Files folder image Files  /  lib  
File Role Description
  Plain text file class.comparetext.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,940
This week:238Up

For more information send a message to info at phpclasses dot org.