System and method for generating improved search queries from natural language questions
First Claim
1. A computer implemented method, in a data processing system comprising a processor and a memory comprising instructions which are executed by the processor to cause the processor to implement an improved search query generation system implemented on a cognitive system, the method comprising:
- inputting a natural language question, wherein the natural language question is a search engine query;
parsing the natural language question into a parse tree;
identifying argument positions comprising one or more argument position terms using the parse tree;
for each argument position term;
comparing a head term'"'"'s discriminator score against a threshold discriminator score; and
if the head term surpasses the threshold discriminator score, adding the head term as a required term to an improved search query;
if the head term does not surpass the threshold discriminator score, considering one or more modifiers within the argument position;
for each modifier;
if the modifier'"'"'s discriminator score surpasses a modifier threshold discriminator score, adding the modifier as the required term to the improved search query;
outputting the improved search query to the cognitive system; and
training the cognitive system with the improved search query.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments can provide a computer implemented method, in a data processing system comprising a processor and a memory comprising instructions which are executed by the processor to cause the processor to implement an improved search query generation system, the method comprising inputting a natural language question; parsing the natural language question into a parse tree; identifying argument positions comprising one or more argument position terms; for each argument position: comparing a head term'"'"'s discriminator score against a threshold discriminator score; and if the head term surpasses the threshold discriminator score, adding the head term as a required term to an improved search query; and outputting the improved search query.
13 Citations
17 Claims
-
1. A computer implemented method, in a data processing system comprising a processor and a memory comprising instructions which are executed by the processor to cause the processor to implement an improved search query generation system implemented on a cognitive system, the method comprising:
-
inputting a natural language question, wherein the natural language question is a search engine query; parsing the natural language question into a parse tree; identifying argument positions comprising one or more argument position terms using the parse tree; for each argument position term; comparing a head term'"'"'s discriminator score against a threshold discriminator score; and if the head term surpasses the threshold discriminator score, adding the head term as a required term to an improved search query; if the head term does not surpass the threshold discriminator score, considering one or more modifiers within the argument position; for each modifier; if the modifier'"'"'s discriminator score surpasses a modifier threshold discriminator score, adding the modifier as the required term to the improved search query; outputting the improved search query to the cognitive system; and training the cognitive system with the improved search query. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer program product for improved search query generation implemented on a cognitive system, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to:
-
input a natural language question, wherein the natural language question is a search engine query; parse the natural language question into a parse tree; identify argument positions comprising one or more argument position terms using the parse tree; for each argument position term; compare a head term'"'"'s discriminator score against a threshold discriminator score; and if the head term surpasses the threshold discriminator score, add the head term as a required term to an improved search query; if the head term does not surpass the threshold discriminator score, consider one or more modifiers within the argument position; for each modifier; if the modifier'"'"'s discriminator score surpasses a modifier threshold discriminator score, add the modifier as the required term to the improved search query; output the improved search query to the cognitive system; and train the cognitive system with the improved search query. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system for improved search query generation implemented on a cognitive system, comprising:
an improved search query generation processor configured to; input a natural language question, wherein the natural language question is a search engine query; parse the natural language question into a parse tree; identify argument positions comprising one or more argument position terms using the parse tree; for each argument position term; compare a head term'"'"'s discriminator score against a threshold discriminator score; and if the head term surpasses the threshold discriminator score, add the head term as a required term to an improved search query; if the head term does not surpass the threshold discriminator score, consider one or more modifiers within the argument position; for each modifier; if the modifier'"'"'s discriminator score surpasses a modifier threshold discriminator score, add the modifier as the required term to the improved search query; output the improved search query to the cognitive system; and train the cognitive system with the improved search query. - View Dependent Claims (14, 15, 16, 17)
Specification