Meta Platforms, Inc.
Natural-language rendering of structured search queries

Last updated:

Abstract:

In one embodiment, a method includes receiving an unstructured text query inputted by a first user, identifying one or more objects associated with the online social network matching at least a portion of the unstructured text query, accessing a context-free grammar model comprising a plurality of grammars, generating one or more structured queries, each structured query corresponding to a selected grammar of a context-free grammar model, wherein each structured query is based on a natural-language string generated by the selected grammar, each structured query comprising at least one query token corresponding to each of the identified object, and sending one or more of the structured queries as suggested queries for display to the first user in response to the unstructured text query inputted by the first user.

Status:
Grant
Type:

Utility

Filling date:

17 Mar 2016

Issue date:

15 Oct 2019