Slashdot Mirror


How Facebook Built Natural Language Into Graph Search

Nerval's Lobster writes "Facebook's Graph Search is an ambitious project: give users the ability to search through the social network's vast webs of data via natural-language queries. But that's much easier said—so to speak—than done. Although human beings think nothing of speaking in 'natural' language, a machine must not only learn all the grammatical building-blocks we take for granted—it needs to compensate for the quirks and errors that inevitably pop up in the course of speech. The Facebook team tasked with building Graph Search also knew that the alternate option, keyword-based search, wasn't a viable one. 'Keywords, which usually consist of nouns or proper nouns, can be nebulous in their intent,' Facebook engineering manager Xiao Li wrote in an April 29 posting on Facebook's blog. 'For example, "friends Facebook" can mean "friends on Facebook," "friends who work at Facebook Inc," or "friends who like Facebook the page."' That left the team with building a natural-language interface. The posting digs deep into the elements of the backend, including everything from 'parse trees' to a lexical analysis system."

2 of 39 comments (clear)

  1. The brightest minds of a generation by Anonymous Coward · · Score: 5, Insightful

    And all they're doing is coming up with new ways to get you to look at ads.

    1. Re:The brightest minds of a generation by fph+il+quozientatore · · Score: 5, Insightful

      Don't forget all those bright minds trying to syphon truckloads of money out of meaningless microsecond virtual financial transations. This should give you a more thorough picture of how screwed up this world is.

      --
      My first program:

      Hell Segmentation fault