US 12,001,422 B2
Accuracy of QA systems by normalizing logical queries
Hangu Yeo, Yorktown Heights, NY (US); Octavian Popescu, Yorktown Heights, NY (US); Elahe Khorasani, Yorktown Heights, NY (US); and Vadim Sheinin, Yorktown Heights, NY (US)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Mar. 28, 2019, as Appl. No. 16/367,509.
Prior Publication US 2020/0311057 A1, Oct. 1, 2020
Int. Cl. G06F 7/00 (2006.01); G06F 16/00 (2019.01); G06F 16/182 (2019.01); G06F 16/21 (2019.01); G06F 16/245 (2019.01)
CPC G06F 16/245 (2019.01) [G06F 16/1824 (2019.01); G06F 16/211 (2019.01)] 18 Claims
OG exemplary drawing
 
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.