Jump to content

"Did you mean" feature


FutureSpy

Recommended Posts

Hello.

 

I'm new to these forums, so if I break any rules (though I've read them) I apologize in advance.

 

I want to implement a "did you mean" feature on a PHP/MySQL based dictionary script, but I have absolutely no idea of how that can be implemented. In short, whenever the word the user looks up isn't found in the dictionary, it'd return a few possible words suggesting it might have been a typo. I was told you give Finite Automata a try. Any ideas?

 

Thanks in advance

 

-Yuji

Link to comment
https://forums.phpfreaks.com/topic/128937-did-you-mean-feature/
Share on other sites

There are a few spelling classes and functions out there.

 

There are functions such as pspell(), then there are classes that other people have made, such as Spell Checker or RhodaSpell. There are more spelling classes on the PHP Classes website.

Link to comment
https://forums.phpfreaks.com/topic/128937-did-you-mean-feature/#findComment-668484
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.