Accuracy of QA systems by normalizing logical queries
AssigneeInternational Business Machines Corporation
InventorsHangu Yeo, Octavian Popescu, Elahe Khorasani, Vadim Sheinin
Life of this patent
Estimating the term…
Abstract
A method, system and apparatus of processing queries, including inputting a query as query data, generating paraphrases from the query data, and normalizing the generated paraphrases according to predefined annotations of a schema.
Claims18
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.
A system for processing logical queries, comprising:
- a memory storing computer instructions;
- and
- a processor configured to execute the computer instructions to:
- input a query as query data;
- generate a paraphrase from the query data, wherein the computer instructions to generate the paraphrase further comprise:
- construct a vector of a dependency path;
- and
- feed 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
- extract one or more words from the query data;
- rephrase the one or more words while preserving a logic intent of the query data;
- and
- provide a pattern, wherein the pattern encodes a condition under which the phrase is a paraphrase, and wherein the paraphrase expresses a same meaning;
- and
- normalize the generated paraphrases according to predefined annotations of a schema, wherein the computer instructions to normalize the generated paraphrase further comprise:
- compare 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, update the schema annotation list.
A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions readable and executable by a computer to cause the computer to perform a method, comprising:
- inputting a query as query data;
- generating a paraphrase from the query data, wherein generating the paraphrase further comprises:
- constructing a vector of a dependency path;
- feeding 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 one or more words from the query data;
- rephrasing the one or more words while preserving a logic intent of the query data;
- and
- providing 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 the generated paraphrases according to predefined annotations of a schema, wherein normalizing the generated paraphrase further comprises:
- comparing 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 the schema annotation list.
Dependencies are inferred from the claim text.