CPC G06F 16/24534 (2019.01) [G06F 7/14 (2013.01); G06F 16/248 (2019.01); G06N 3/08 (2013.01)] | 20 Claims |
1. A method comprising:
generating, by a query parsing system, a plurality of candidate parses of a search query, each of the plurality of candidate parses including a candidate what portion and a candidate where portion determined from the search query, the candidate what portion representing a point-of-interest, and the candidate where portion representing a location to search for the point-of-interest, at least some candidate parses included in the plurality of candidate parses including a null value for the candidate what portion;
generating, by the query parsing system, a distinct vector for each candidate parse in the plurality of candidate parses, each distinct vector including a plurality of values, each value included in the plurality of values determined based on whether one or more of a plurality of predefined parsing features are found in the respective candidate parse;
generating, by the query parsing system and based on the generating of the distinct vector for each candidate parse, a score for each candidate parse in the plurality of candidate parses; and
selecting, by the query parsing system from the plurality of candidate parses based on the scores for the plurality of candidate parses, the candidate what portion and the candidate where portion of a particular candidate parse included in the plurality of candidate parses as search parameters for the search query.
|