That's great, thanks David :-) For anyone who is interested I also got some helpful responses in, news://comp.ai.fuzzy
Cheers James "David Robley" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > says... > > Hello > > > > Does anyone know of an algorithm or program for matching pieces of text > > (such as film titles) that are conceptually the same, but which may be > > written/spelled differently? > > > > eg. I need something which will identify a (likely to be) the same: > > "The Matrix Reloaded" > > "Matrix Reloaded, The" > > "Matrix Reloaded" > > "The Matrix: Reloaded" > > etc. > > > > Thanks > > James > > Maybe one or more of soundex(), metaphone(), levenshtein() or > similar_text() might do the trick for you. All php functions :-) > > Cheers > -- > Quod subigo farinam > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php