Method and apparatus for intelligent help that matches the semantic similarity of the inferred intent of query or command to a best-fit predefined command intent
First Claim
1. The method of operating a data processing system having a memory system for storing programs and data, a processor for executing said programs, input means selectively actuated by user to input user actions comprising questions and commands, and output means to visually provide said user with suggestions, said method providing an intelligent help system for suggesting valid commands to the user when the user enters questions and erroneous commands, comprising the steps of:
- (a) storing within said memory system a plurality of predefined intents, each predefined intent including a plurality of words verbally defining the purpose of a different valid command;
(b) in response to the user entering a question or an erroneous command, storing within said data processing system an inferred intent which contains a plurality of words verbally defining a possible purpose of said question or said erroneous command;
(c) semantically comparing words in said inferred intent with words in different ones of said predefined intents to find a predefined intent that is semantically similar to said inferred intent, said comparing being done by(c1) selecting one of said predefined intents and pairing words in said inferred intent with words in said one predefined intent,(c2) determining whether the meanings of the words in each set of paired words are the same, synonymous, opposite, or not the same, synonymous, or opposite, and(c3) deciding, based on the results of step (c2), whether said inferred intent and said one predefined intent are semantically similar or dissimilar, step (c3) deciding that the intents being compared are semantically similar when each intent has the same number of words, anda. there are no more than two sets of paired words having synonymous meanings while each other set of paired words has the same meaning, orb. there is no more than one set of paired words that are synonymous plus one set that has a meaning of being not the same, or synonymous, or opposite, while each other set has the same meaning, orc. each set of paired words has the same meaning; and
(d) creating a suggestion for said user to use the valid command, the purpose of which is defined by said one predefined intent when step (c3) decides said one predefined intent, is semantically similar to said inferred intent.
1 Assignment
0 Petitions
Accused Products
Abstract
A data processing system which suggests a valid command to a user when the user enters a question or an erroneous command. The purposes of the various commands executable by the system are stored as a plurality of intents. When the user enters a question or an erroneous command, the system looks up the intent corresponding to it and semantically compares such an intent with other intents. When another intent is found, based on the comparison, to be within a predetermined degree of similarity, the command defined by such other intent is offered as a suggestion to the user.
255 Citations
9 Claims
-
1. The method of operating a data processing system having a memory system for storing programs and data, a processor for executing said programs, input means selectively actuated by user to input user actions comprising questions and commands, and output means to visually provide said user with suggestions, said method providing an intelligent help system for suggesting valid commands to the user when the user enters questions and erroneous commands, comprising the steps of:
-
(a) storing within said memory system a plurality of predefined intents, each predefined intent including a plurality of words verbally defining the purpose of a different valid command; (b) in response to the user entering a question or an erroneous command, storing within said data processing system an inferred intent which contains a plurality of words verbally defining a possible purpose of said question or said erroneous command; (c) semantically comparing words in said inferred intent with words in different ones of said predefined intents to find a predefined intent that is semantically similar to said inferred intent, said comparing being done by (c1) selecting one of said predefined intents and pairing words in said inferred intent with words in said one predefined intent, (c2) determining whether the meanings of the words in each set of paired words are the same, synonymous, opposite, or not the same, synonymous, or opposite, and (c3) deciding, based on the results of step (c2), whether said inferred intent and said one predefined intent are semantically similar or dissimilar, step (c3) deciding that the intents being compared are semantically similar when each intent has the same number of words, and a. there are no more than two sets of paired words having synonymous meanings while each other set of paired words has the same meaning, or b. there is no more than one set of paired words that are synonymous plus one set that has a meaning of being not the same, or synonymous, or opposite, while each other set has the same meaning, or c. each set of paired words has the same meaning; and (d) creating a suggestion for said user to use the valid command, the purpose of which is defined by said one predefined intent when step (c3) decides said one predefined intent, is semantically similar to said inferred intent. - View Dependent Claims (2, 3, 4)
-
-
5. In a data processing system having an intelligent help system for suggesting valid commands to a user when the user enters questions and erroneous commands into said data processing system, a memory system for storing programs and data, a processor for executing said programs, input means selectively actuated by said user for input of questions and commands, and output means for visually providing said user with suggestions, said help system comprising:
-
(a) means for storing within said memory system a plurality of predefined intents, each predefined intent including a plurality of words verbally defining the purpose of a different valid command; (b) means operative, in response to the user entering a question or an erroneous command, for storing within said data processing system an inferred intent which contains a plurality of words verbally defining a possible purpose of said question or said erroneous command; (c) means for semantically comparing words in said inferred intent with words in different ones of said predefined intents to find a predefined intent that is semantically similar to said inferred intent, said comparing being done by (c1) means for selecting one of said predefined intents and pairing words in said inferred intent with words in said one predefined intent, said one predefined intent and said inferred intent having different numbers of words, said means (c1) being operative to first drop one or more words from the longer intent and then pair the remaining words, (c2) means for determining whether the meanings of the words in each set of paired words are the same, synonymous, opposite, or not the same, synonymous, or opposite, and (c3) means for deciding, based on the results of means (c2), whether said inferred intent and said one predefined intent are semantically similar or dissimilar, said means (c3) deciding the two intents being semantically compared are (a) semantically similar when no more than one word is dropped from the longer intent and 1. none of the compared sets of paired words has a meaning of being other than the same, synonymous, or opposite meanings, or 2. there is no more than one set of paired words having a synonymous meaning;
or(b) semantically dissimilar when more than one word is dropped or when neither of the conditions of (a)1 or (a)2 are met; and (d) means for creating a suggestion for said user to use the valid command, the purpose of which is defined by said one predefined intent when means (c3) decides said one predefined intent, is semantically similar to said inferred intent. - View Dependent Claims (6, 7, 8, 9)
-
Specification