CPC G06F 16/245 (2019.01) [G06F 16/1824 (2019.01); G06F 16/211 (2019.01)] | 18 Claims |
1. A method of processing queries, comprising:
inputting, by one or more computer processors, a query as query data;
generating, by the one or more computer processors, a paraphrase from the query data, wherein generating the paraphrase further comprises:
constructing, by the one or more computer processors, a vector of a dependency path;
feeding, by the one or more computer processors, the vector of the dependency path to a neural network for learning a similarity of a pair of verbal paraphrases from the query data; and
extracting, by the one or more computer processors, one or more words from the query data;
rephrasing, by the one or more computer processors, the one or more words while preserving a logic intent of the query data; and
providing, by the one or more computer processors, a pattern, wherein the pattern encodes a condition under which the phrase is a paraphrase, and wherein the paraphrase expresses a same meaning; and
normalizing, by the one or more computer processors, the generated paraphrase according to predefined annotations of a schema, wherein normalizing the generated paraphrase further comprises:
comparing, by the one or more computer processors, the paraphrase generated with a schema annotation list; and
responsive to determining a match is not found in the comparison of the paraphrase generated with the schema annotation list, updating, by the one or more computer processors, the schema annotation list.
|