PHP Classes

PHP Text Comparison: Compare two texts to find similar sentences

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 193 All time: 8,552 This week: 41Up
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.

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: 56
All time rank: 100637 in Italy Italy
Week rank: 164 Up5 in Italy Italy Up
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

Recommendations

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

  Files folder image Files (5)  
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 README.md Doc. Documentation

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:193
This week:0
All time:8,552
This week:41Up