Re: Matching titles from distinct data sources
| From: | James Robertson | Date: | Tue, 03 Jun 2003 00:13:33 +0000 |
| Subject: | Re: Matching titles from distinct data sources | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149858@lists.php.net to get a copy of this message | ||
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" <robleyd@ozemail.com.au> wrote in message
news:MPG.1940164d35fa54859897f2@news.php.net...
> In article <20030527223613.38743.qmail@pb1.pair.com>, info@composite.co.nz
> 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
>
>