by thrwawy3493 · 7y ago · 0 comments
For example I just looked at the top post on Reddit right now, it's about 20 page-downs of comments, and has the words this many times:
from 17
what 22
it 223
is 169
to 195
a - more than 1000
pretty much every English-language web page on the whole Internet will have those words, unless it is very short.If you have a positional index [1] you don't have to go through the full cached content, you only have to check the index to see whether there's an occurrence of the words in the query with the correct distance. E.g. for that Reddit post, you'd check the 17 occurrences of "from" and notice quickly that your query string doesn't match at that position.
[1] https://nlp.stanford.edu/IR-book/html/htmledition/positional...
… because everyone speaks english?!?
England had a large empire back in the days but it wasn't that big, nor did it span the whole world.