Patent ID: 7533025

Claim:
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.