PHP Classes

Sound Regex: Search for similar words in a text using soundex

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 673 All time: 4,807 This week: 673Up
Version License PHP version Categories
sound-regex 1.0GNU General Publi...5.0PHP 5, Searching, Text processing
Description 

Author

This class can be used to search for similar words in a text using soundex.

It converts words to be searched in a regular expression that would match other words that would result in the same text using the soundex algorithm.

The class can then search a given text using the resulting regular expressions and computes the level of similarity of the searched text with the search words.

Innovation Award
PHP Programming Innovation award winner
March 2011
Winner


Prize: One copy of RadPHP XE
Soundex is an algorithm that transforms words in such way that becomes easier to detect which words sound similar in a given idiom.

This class can transform words in a regular expression that can match other words in a given text using the soundex algorithm.

This is a clever way to very quickly find similar sounding words in a large text.

Manuel Lemos
Picture of Thiago Luiz Alves
  Performance   Level  
Name: Thiago Luiz Alves <contact>
Classes: 3 packages by
Country: Brazil Brazil
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

Screenshots (1)  
  • SoundRegexPrint
  Files folder image Files (3)  
File Role Description
Plain text file demo.php Example example of use
Plain text file SoundRegex.class.php Class Class File

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  
 0%
Total:673
This week:0
All time:4,807
This week:673Up