Semi-automatic example-based induction of semantic translation rules to support natural language search
First Claim
1. A method for generating a translation rule to support natural language search, comprising:
- receiving a first expression and a second expression;
generating a first representation based on the first expression;
generating a second representation based on the second expression;
determining aligned pairs of a first term in the first representation and a second term in the second representation;
replacing, for each aligned pair, the first term in the first representation and the second term in the second representation with a variable associated the aligned pair;
upon replacing the variables that correspond to the aligned pairs with the variable, removing word facts from the first representation and the second representation that occur in both the first representation and the second representation;
upon removing the word facts that correspond to the replaced variables, replacing the remaining word facts in the first representation with a broader representation of the word facts; and
upon replacing the remaining word facts in the first representation with the broader representation, generating the translation rule including the first representation, an operator, and the second semantic representation.
3 Assignments
0 Petitions
Accused Products
Abstract
Technologies are described herein for generating a semantic translation rule to support natural language search. In one method, a first expression and a second expression are received. A first representation is generated based on the first expression, and a second representation is generated based on the second expression. Aligned pairs of a first term in the first representation and a second term in the second representation are determined. For each aligned pair, the first term and the second term are replaced with a variable associated with the aligned pair. Word facts that occur in both the first representation and the second representation are removed from the first representation and the second representation. The remaining word facts in the first representation are replaced with a broader representation of the word facts. The translation rule including the first representation, an operator, and the second semantic representation is generated.
35 Citations
20 Claims
-
1. A method for generating a translation rule to support natural language search, comprising:
-
receiving a first expression and a second expression; generating a first representation based on the first expression; generating a second representation based on the second expression; determining aligned pairs of a first term in the first representation and a second term in the second representation; replacing, for each aligned pair, the first term in the first representation and the second term in the second representation with a variable associated the aligned pair; upon replacing the variables that correspond to the aligned pairs with the variable, removing word facts from the first representation and the second representation that occur in both the first representation and the second representation; upon removing the word facts that correspond to the replaced variables, replacing the remaining word facts in the first representation with a broader representation of the word facts; and upon replacing the remaining word facts in the first representation with the broader representation, generating the translation rule including the first representation, an operator, and the second semantic representation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 14)
-
-
11. A method for generating a translation rule to support natural language search, comprising:
-
receiving a first natural language expression and a second natural language expression, the first expression being semantically different from the second expression; generating a first representation by parsing the first expression; generating a second representation by parsing the second expression, the first representation and the second representation each comprising word facts and roles; determining aligned pairs based on the first semantic representation and the second semantic representation; replacing, in the first representation and the second representation, variables that correspond to the aligned pairs with a generic variable; upon replacing the variables that correspond to the aligned pairs with the generic variable, removing the word facts from the first representation and the second semantic representation that that occur in both the first and second representation; upon removing the word facts that correspond to the replaced variables, replacing the remaining word facts in the first representation with a broader representation of the word facts; and upon replacing the remaining word facts in the first representation with the broader representation, generating the translation rule including the first representation, an operator, and the second representation. - View Dependent Claims (12, 13, 15, 16, 17)
-
-
18. A computer-readable medium having computer-executable instructions stored thereon which, when executed by a computer, cause the computer to:
-
receive a first expression and a second expression, the first expression being semantically different from the second expression; generate a first semantic representation by parsing the first expression; generate a second semantic representation by parsing the second expression, the first semantic representation and the second semantic representation each comprising word facts and roles, the roles identifying relationships between the word facts; determine aligned pairs based on the first semantic representation and the second semantic representation; replace, in the first semantic representation and the second semantic representation, variables that correspond to the aligned pairs with a generic variable by matching variables in the first semantic representation with variables in the second representation that correspond to the same word and by matching the remaining variables in the first semantic representation with the remaining variables in the second semantic representation based on induction; upon replacing the variables that correspond to the aligned pairs with the generic variable, remove the word facts from the first semantic representation and the second semantic representation that correspond to the replaced variables; upon removing the word facts that correspond to the replaced variables, replace the remaining word facts in the first semantic representation with a broader representation of the word facts; and upon replacing the remaining word facts in the first semantic representation with the broader representation, generate a translation rule including the first semantic representation, an operator, and the second semantic representation. - View Dependent Claims (19, 20)
-
Specification