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.

From: Date: Sat, 17 Jul 2010 21:17:34 +0000
Subject: 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.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-306967@lists.php.net to get a copy of this message
At 12:09 PM -0400 7/15/10, Daniel P. Brown wrote:
On Thu, Jul 15, 2010 at 11:54, Richard Quadling <rquadling@gmail.com> 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

« previous php.general (#306967) next »