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

"What weather today is" Why is this considered an amazing NLP? I type any order of related words in Google (or any other search engine) and the intend of my malformed sentence is sufficiently understood to bring back relevant results. Even if I formed my sentence grammatically, the result is no better.


That's because most search engines use a form of NLP in their processing of user input for queries.


No. the most trivial search strategy just tokenizes the input and looks up those token in the index. A poorly formed sentence, is not a detriment to finding out the intend, as long as key words are there. It doesn't require complex NLP to achieve this end result.


Ironically, "What day this week will be snow?" doesn't give me great results on Google, but Bing actually shows a weekly weather graph.


"snow this week" will return the weather forecast for my location on google


Yeah, but that's grammatically valid. It's not a question, but it's a valid sentence.


I don't think it's a valid sentence, unless you interpret it as commanding someone/something to snow sometime this week.


So will "this snow week when"


Then why is it that you get just as good, if not better, search results when you type words in decreasing order of information content and omit common words, some of which are essential for parsing natural languages? E.g.

   Beatles walrus -> the song "I am the walrus" by the Beatles.
   Tintern vacuum -> the song "Vacuum cleaner" by Tintern Abbey.




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

Search: