Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"don't" being turned into "don t" is due to the way search indexes work. It's a computer science problem, not Google specific.

The index is like a dictionary - you look things up by word. But you need to find some way to split up every page on the internet to decide what is a 'word' and what isn't. If you decide that quote marks are part of a word, then you'll end up with apple and apple' making different entries in the index which you probably didn't want.



But apostrophes are not quote marks.


Why not just map "don't" to "dont"? I can't really see too many false positives.


Won't work for wont, cant, well, and probably more. It's also possible that Dont might appear as a proper noun (say, as a new company).


Homonyms are a thing in language, though.

Language models need to account for a sentence like

> Will Will have enough will to see this through?



Don't Do What Donny Don't Does

https://www.youtube.com/watch?v=NRvaR4fqrYY


Do people really type grammatically correct search terms? When searching on google I’d simply type “why wont X work when Y?”

Google has managed fine with this since the beginning.


If you're using quotes, then yes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: