1
$\begingroup$

If I search 'I love to eate my food' on Google then Google will 'show results for' I love to eat my food.... How does this algorithm work?

$\endgroup$

1 Answer 1

2
$\begingroup$

First of all, no one knows how google search works except what google officially publishes. But I give you a simple algorithm for query correction (I have implemented this previously in production).

It is a simple prediction based on spell-check. First you detect the (possible) typo. Then you find the query which maximizes the likelihood. This search is done in the huge database of user queries plus some language models.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.