Method and apparatus for dynamic modification of command weights in a natural language understanding system
First Claim
1. A method for context-based dynamic assignment of weights for formal commands in a natural language understanding system, comprising:
- receiving a user input;
determining whether the user input is text-based;
responsive to determining that the user input is text-based, converting the user input into a text form to form a text input;
translating the text input into a formal command;
calculating a weight value for the formal command;
selecting a next set of formal commands;
determining weight values for the next set of formal commands based on the formal command before executing the formal command, wherein determining weight values for the next set of formal commands comprises computing weight values for the next set of formal commands based on a given command history, access method information, and application context, and wherein determining weight values for the next set of formal commands further comprises dynamically boosting command weights for a subset of formal commands of the next set of formal commands, wherein the subset of formal commands comprises a subset of formal commands that are considered more likely for translation of the user input than other formal commands of the set of formal commands and are given higher command weights than the other formal commands; and
executing the formal command.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for dynamically assigning weights to the subset of commands in a natural language dialog system based on prior context of the user'"'"'s interaction with the system. The search space of the translation process may be reduced when some context information is available. A user presents input to the natural language understanding system. The system translates the user input into a formal command and calculates a weight value for a next set of formal commands based on the formal command. The command weights may then be dynamically boosted for the next set of formal commands before executing the formal command. The exemplary aspects of the present invention reduce the time needed to complete a task since the search space of the translation process may be reduced if context information is available and improve the accuracy of the process by using knowledge that users regularly use repeating patterns for repeating tasks.
13 Citations
15 Claims
-
1. A method for context-based dynamic assignment of weights for formal commands in a natural language understanding system, comprising:
-
receiving a user input; determining whether the user input is text-based; responsive to determining that the user input is text-based, converting the user input into a text form to form a text input; translating the text input into a formal command; calculating a weight value for the formal command; selecting a next set of formal commands; determining weight values for the next set of formal commands based on the formal command before executing the formal command, wherein determining weight values for the next set of formal commands comprises computing weight values for the next set of formal commands based on a given command history, access method information, and application context, and wherein determining weight values for the next set of formal commands further comprises dynamically boosting command weights for a subset of formal commands of the next set of formal commands, wherein the subset of formal commands comprises a subset of formal commands that are considered more likely for translation of the user input than other formal commands of the set of formal commands and are given higher command weights than the other formal commands; and executing the formal command. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A data processing system for context-based dynamic assignment of weights for formal commands in a natural language understanding system, comprising:
a processor, the processor comprising; means for receiving a user input; means for determining whether the user input is text-based; means responsive to determining that the user input is text-based, for converting the user input into a text form to form a text input; means for translating the text input into a formal command; means for selecting a next set of formal commands; means for determining weight values for the next set of formal commands based on the formal command before executing the formal command, wherein determining weight values for the next set of formal commands comprises computing weight values for the next set of formal commands based on a given command history, access method information, and application context, and wherein the means for determining weight values for the next set of formal commands further comprises means for dynamically boosting command weights for a subset of formal commands of the next set of formal commands, wherein the subset of formal commands comprises a subset of formal commands that are considered more likely for translation of the user input than other formal commands of the set of formal commands and are given higher command weights than the other formal commands; and means for executing the formal command. - View Dependent Claims (7, 8, 9, 10)
-
11. A computer program product comprising:
-
a computer readable recordable-type storage medium storing computer usable program code for context-based dynamic assignment of weights for formal commands in a natural language understanding system, the computer program product comprising; computer usable program code for receiving a user input; computer usable program code for determining whether the user input is text-based; responsive to determining that the user input is text-based, computer usable program code for converting the user input into a text form to form a text input; computer usable program code for translating the text input into a formal command; computer usable program code for selecting a next set of formal commands; computer usable program code for determining weight values for the next set of formal commands based on the formal command before executing the formal command, wherein the computer usable program code for determining weight values for the next set of formal commands comprises computer usable program code for computing weight values for the next set of formal commands based on a given command history, access method information, and application context, and wherein the computer usable program code for determining weight values for the next set of formal commands further comprises computer usable program code for dynamically boosting command weights for a subset of formal commands of the next set of formal commands, wherein the subset of formal commands comprises a subset of formal commands that are considered more likely for translation of the user input than other formal commands of the set of formal commands and are given higher command weights than the other formal commands; and computer usable program code for executing the formal command. - View Dependent Claims (12, 13, 14, 15)
-
Specification