CPC G06F 16/90335 (2019.01) [G06F 16/243 (2019.01); G06F 16/24534 (2019.01); G06N 5/04 (2013.01); G06N 7/01 (2023.01)] | 20 Claims |
1. A method, comprising:
identifying a current set of context features for a database query that is associated with a string, wherein the database query includes a sequence of tokens of a database syntax, and the current set of context features includes words from the string and tokens from the database query;
selecting an inference record from an inference store based on a comparison of the current set of context features to context features of inference records in the inference store,
wherein the inference record includes a set of context features, a corresponding resolution, and an inference type selected from a set comprising superlative disambiguation and date disambiguation, and
wherein the inference record is learned based on user selections and feedback during query formulations;
modifying the database query using a resolution of the inference record to obtain an inferred database query, wherein the resolution includes one or more tokens of the database syntax; and
invoking a search of a database using a query based on the inferred database query to obtain search results.
|