News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jason Sheet's Blog:
Soundex implemented in PHP
May 27, 2006 @ 11:52:57

On Jason Sheet's blog, there's a new post that offers up a brief tutorial on implementing the soundex functionality in PHP.

Soundex is an algorithim to help determine if a word sounds like another word; it is commonly used to detect words that are incorrectly spelled or to make the suggestion "did you mean ? instead of !?" For example if you typed in smythe using soundex a program could look for other names that sound like it and find that smith and smythe sound alike.

In this article I will demonstrate a PHP implementation of soundex, in practice this implementation has little value because PHP itself has soundex() function already but this article should help you understand how it works better.

He jumps right in, mentioning the steps the script will take (seven of them) before getting right to the code. He's written up his own soundex functionality packaged up nicely in a reusable function and has even compared it to the built-in PHP soundex function for accuracy.

1 comment voice your opinion now!
tutorial soundex implementation builtin simple function tutorial soundex implementation builtin simple function


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: PHP with Apache on Windows? Piece of Cake!

PHPBuilder.com: Implementing User Authentication and Session Management with PHP

Rob Allen's Blog: Vagrant in Zend Framework 1

Gonzalo Ayuso's Blog: Building a simple HTTP client with PHP. A REST client

Chance Garcia's Blog: MAMP PRO, PECL, SSH2, and OSX CLI (AKA acronym madness)


Community Events











Don't see your event here?
Let us know!


series opinion unittest symfony2 performance facebook hack install language hhvm application podcast framework composer code package component security release introduction

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework