From: Tim S. <ti...@we...> - 2011-11-22 13:06:05
|
On 22 November 2011 08:40, Tim Schofield <ti...@we...> wrote: > On 22 November 2011 08:17, Tim Schofield <ti...@we...> wrote: >> Hi Debi, >> >> 2 I have wanted for a long time to implement a soundex >> (http://en.wikipedia.org/wiki/Soundex) algorithm into our search. A >> lot of our users in warehouses tend to type in descriptions >> phonetically, and it would be really great to have it. I'm sure I >> found some PHP implementations of it before. >> > > Of course I should point out that soundex searches make no sense with > languages that use none phonetic characters such as Chinese. I'm not > sure what happens with these?? > Apologies for keeping replying to my own messages, but PHP does actually have a soundex function. http://php.net/manual/en/function.soundex.php so writing it into the search shouldn't be that hard. Its amazing how many new PHP functions I keep finding even now :-) -- WebERP Africa Ltd +447710427049 +254706554559 www.weberpafrica.com |