Re: Determining the similarity between a user supplied short piece of text (between 5 and 15 characters) and a list of similar length text items.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 12:09 PM -0400 7/15/10, Daniel P. Brown wrote:
On Thu, Jul 15, 2010 at 11:54, Richard Quadling <rquadling@xxxxxxxxx> wrote:

 I'm looking for is a way to compare what they've entered against a
 known list and to provide my 10 best guesses.

    Look into the following functions and families:

        levenshtein()
        similar_text()

What would one use to have MySQL do the heavy lifting here?

In other words, are there similar MySQL functions?

Cheers,

tedd

PS: I thought of this Friday, but finally got my fingers to work today.

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux