English-language translation of exact interpretations of keyword queries
First Claim
1. A method for translating an interpretation of a keyword query into a grammatically correct plain-language query statement in a computer system having a processor, the method comprising the steps of:
- acquiring, by the processor, at least one keyword to perform a keyword query search upon;
semantically interpreting, by the processor, the acquired keyword, further including the step of building a translation index to determine matching elements, wherein matching elements are derived from information comprising type names, attribute names, and atomic attributes values that are associated with a specific keyword;
merging, by the processor, the matching elements in the event that differing keywords comprise a same matching element and type alias;
providing, by the processor, a clause template for the customization of a plain-language sentence clause, wherein the plain-language sentence clause is based upon the matching elements that are selected for customization;
generating, by the processor, at least one plain-language sentence clause for each of the matching elements, wherein the matching elements relate to matches including a type match, a path patch, a value match and a word match;
determining, by the processor, if the plain-language sentence clauses can be merged, wherein the determination is based upon the attributes matched for a given type element;
specifying, by the processor, the plain-language sentence clauses that are to be merged, the plain-language sentence clause mergers being based upon the attributes matched for a given type element;
merging, by the processor, the plain-language sentence clauses, wherein the merging occurs for at least one of the path match, the value match and a combination of the path match and the value match, and wherein the merging is not possible for the type match and the word match;
generating, by the processor, at least one grammatically valid plain-language sentence for the keyword query from the generated plain-language sentence clauses, wherein the grammatically valid plain-language sentence is based upon differing matching elements;
presenting, by the processor, the at least one grammatically valid plain-language sentence for the keyword query to a keyword query system user for the user'"'"'s review.
0 Assignments
0 Petitions
Accused Products
Abstract
The present invention relates to a methodology to translate exact interpretations of keyword queries into meaningful and grammatically correct plain-language queries in order to convey the meaning of these interpretations to the initiator of the search. The method includes the steps of generating at least one grammatically valid plain-language sentence interpretation for a keyword query from a generated sentence plain-language sentence clauses, wherein the grammatically valid plain-language sentence is based upon differing matching elements, and presenting at least one grammatically valid plain-language sentence interpretation for the keyword query to a keyword query system user for the user'"'"'s review.
-
Citations
16 Claims
-
1. A method for translating an interpretation of a keyword query into a grammatically correct plain-language query statement in a computer system having a processor, the method comprising the steps of:
-
acquiring, by the processor, at least one keyword to perform a keyword query search upon; semantically interpreting, by the processor, the acquired keyword, further including the step of building a translation index to determine matching elements, wherein matching elements are derived from information comprising type names, attribute names, and atomic attributes values that are associated with a specific keyword; merging, by the processor, the matching elements in the event that differing keywords comprise a same matching element and type alias; providing, by the processor, a clause template for the customization of a plain-language sentence clause, wherein the plain-language sentence clause is based upon the matching elements that are selected for customization; generating, by the processor, at least one plain-language sentence clause for each of the matching elements, wherein the matching elements relate to matches including a type match, a path patch, a value match and a word match; determining, by the processor, if the plain-language sentence clauses can be merged, wherein the determination is based upon the attributes matched for a given type element; specifying, by the processor, the plain-language sentence clauses that are to be merged, the plain-language sentence clause mergers being based upon the attributes matched for a given type element; merging, by the processor, the plain-language sentence clauses, wherein the merging occurs for at least one of the path match, the value match and a combination of the path match and the value match, and wherein the merging is not possible for the type match and the word match; generating, by the processor, at least one grammatically valid plain-language sentence for the keyword query from the generated plain-language sentence clauses, wherein the grammatically valid plain-language sentence is based upon differing matching elements; presenting, by the processor, the at least one grammatically valid plain-language sentence for the keyword query to a keyword query system user for the user'"'"'s review. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer program product that includes a non-transitory computer readable medium useable by a processor, the medium having stored thereon a sequence of instructions which, when executed by the processor, causes the processor to translate an interpretation of a keyword query into a grammatically correct plain-language query, wherein the computer program product executes the steps of:
-
acquiring at least one keyword to perform a keyword query search upon; generating a keyword query in order to semantically interpret the acquired keyword, further including the step of building a translation index to determine matching elements, wherein matching elements are derived from information comprising type names, attribute names, and atomic attributes values that are associated with a specific keyword; merging the matching elements in the event that differing keywords comprise a same matching element and type alias; providing a clause template for the customization of a plain-language sentence clause, wherein the plain-language sentence clause is based upon the matching elements that are selected for customization; generating at least one plain-language sentence clause for each of the matching elements, wherein the matching elements relate to matches including a type match, a path patch, a value match and a word match; determining if the plain-language sentence clauses can be merged, wherein the determination is based upon the attributes matched for a given type element; specifying the plain-language sentence clauses that are to be merged, the plain-language sentence clause mergers being based upon the attributes matched for a given matching element; merging the plain-language sentence clauses, wherein the merging occurs for at least one of the path match, the value match and a combination of the path match and the value match, and wherein the merging is not possible for the type match and the word match; generating at least one grammatically valid plain-language sentence interpretation for the keyword query from the generated plain-language sentence clauses, wherein the grammatically valid plain-language sentence is based upon differing matching elements; presenting the at least one grammatically valid plain-language sentence interpretation for the keyword query to a keyword query system user for the user'"'"'s review. - View Dependent Claims (12, 13, 14, 15, 16)
-
Specification