Google search working

1.08K views

How google is able to understand everything I type even it has spelling mistakes. Whenever I type something in browser i see that each word will be seperated by a ‘+’ what is the significance of that?

In: Technology

2 Answers

Anonymous 0 Comments

> How google is able to understand everything I type even it has spelling mistakes.

Basically Google creates lots of large dictionaries with lots of words. Because Google constantly crawls the web to find new pages, it can see how popular every word is, so it can easily see if you entered an unpopular word, and check if there’s a similar word that is much more popular.

> Whenever I type something in browser i see that each word will be seperated by a ‘+’ what is the significance of that?

The URL specification doesn’t allow URLs to contain spaces, as well as certain other characters. Browsers and servers use “url encoding” which replaces these characters with other, allowed characters. Most of these characters are encoded with [percent encoding](https://en.wikipedia.org/wiki/Percent-encoding), and as such a space can be encoded with %20, but space was given a special encoding ‘+’ because it is so common (if you want an actual plus sign you need to encode it as %2B).

Anonymous 0 Comments

In addition to the existing answer, there’s a good chance that spelling mistakes are repeated over time by multiple people. Search engines have that history, and they can see that a bunch of people searched for “restauarnt”, and then moments later, searched for “restaurant”. This then is a clue that “restauarnt” is actually a misspelling of “restaurant”.