[Ferret-talk] Similar words

Robert Hulme hulme at ebi.ac.uk
Wed Jun 11 05:06:15 EDT 2008


Is there a way to get a list of similar words to the ones a user has  
searched for?

So if they search for (in my case) transferaze which has no matches I  
can get back an array like this ['transferase'] ?

I know I can just add ~ on the end to make it fuzzy, but what I'd like  
is to be able to say "Sorry, no matches for 'transferaze'. Did you  
mean 'transferase' (310 matches)?"

Ideally I'd like to get the number of matches for those similar words,  
but I know I could just do a search for each of those to get it.

Is this possible?

-Rob


More information about the Ferret-talk mailing list