CPC G06F 16/338 (2019.01) [G06F 3/167 (2013.01); G06F 16/3326 (2019.01); G06F 16/3337 (2019.01); G06F 40/18 (2020.01); G06F 40/58 (2020.01); G06T 11/206 (2013.01); G06F 40/205 (2020.01)] | 20 Claims |
1. A computer-implemented method for processing a natural language query, the method comprising:
obtaining a natural language query;
parsing the natural language query to obtain a query term;
identifying a grid range in a data table as relevant to the query term;
preparing a table summary by extracting a plurality of characteristics from the grid range in the data table;
determining a logic operation to apply on the plurality of characteristics to derive a result corresponding to the query term;
translating the logic operation into a formula executable on the data in the data table;
applying the formula to the data in the data table to generate the result in response to the natural language query;
responsive to receiving negative feedback to the result, automatically processing the negative feedback and preparing a new table summary based on the query term, wherein automatically processing the negative feedback comprises disassociating one or more formula building objects with the query term;
generating an alternative formula of the natural language query based on the new table summary; and
generating an alternative result based on the alternative formula.
|