• Resolved Fibro Jedi

    (@fibrojedi)


    Hey,

    Your plugin is working fine so this isn’t a bug!

    As I store people’s searches for a time I notice when people type things wrong, where they would have found something if they had typed it correctly.

    I had started my own JS function onKeyPress to detect some common ones, but the list will just get huge if I add every case. Is there any relatively straightforward way to implement (either you or me, I don’t mind) a detection based

    1. If their search brings zero results then
    2. Search using some sort of spellcheck?

    A few examples:

    fine waistcaot -> waistcoat
    misummer -> midsummer
    cosnetic -> cosmetic
    assiocatio -> association

    I’m expecting the answer to be “no” or “not easily”, so I’m just curious. I may just have to keep expanding my own “autocorrect list”!

    Thanks in advace,

    FJ

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @fibrojedi

    Why don’t you activate the autocomplete feature to allow the plugin recommends the user the correct text while he/she types?

    The alternative would be customize the plugin copy to use the MySQL SOUNDEX function in the search query:

    https://database.guide/mysql-soundex-examples/

    Best regards.

    Thread Starter Fibro Jedi

    (@fibrojedi)

    Ah okay, yes I’ll have a play around with the autocomplete feature. I’d missed it because it’s below all the pro version options so I’d assumed everything in that half of settings was pro.

    I’ll also look at SOUNDEX as I’ve not come across that before.

    Thanks for your help ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘(Feature Req/advice) Typos/Letter Inversion’ is closed to new replies.