摘要:
A commanding system for a computer. The system includes a memory storing a binding table that connects input to associated action, at least one binding in the binding table including an interface binding. The system also includes a processor in data communication with the memory, the processor programmed to query each binding in the binding table, receive the interface binding associated with the binding; and generate a command interface based on the interface binding. The command interface is dynamically generated based on the information provided by the interface binding. Examples of command interfaces include toolbars and menus.
摘要:
A commanding system and method for a computer including at least one control element at the control level having commanding information. An input sequence can be received from an input device, and the commanding information provided by the control element can be used to connect the input to an associated action. Control elements and the application elements can be arranged as nodes in an tree, each node having one or more children and/or one or more parents. A table of bindings can be associated with each node, the table of bindings including a plurality of binding entries, each including a command binding and a command handler. The input sequence can be passed from node to node in the tree to find a command binding that matches the input sequence. When a matching command binding is found, the command handler associated with the matching command binding can be used to invoke the action that is to be performed based on the input sequence.
摘要:
A commanding system for a computer. The system includes an input module that accepts a plurality of input sequences across multiple input device categories, and a commanding element having a binding table that connects input sequences to associated action. One or more of the binding entries in the binding table includes a command binding with a plurality of sub-command bindings associated with the plurality of input sequences across multiple input device categories. A processor receives the input at the input module and passes the input to the command element, the command element looking up a matching command binding associated with the input in the binding table. In addition, the processor invokes action associated with the input if the matching binding is found in the binding table. The system can also report the commands a particular application can understand upon request.
摘要:
A commanding system for a computer. An input sequence can be received from an input device, and the commanding system can be used to connect the input to an associated action. Commanding can be provided by a plurality of nodes that represent elements of control and application levels. The nodes can be arranged in a hierarchical structure, and each node can include a table of bindings. A service can be attached to one or more of the nodes at run-time to provide additional commanding functionality. For example, a service can modify or supplement the binding entries provided in the table of bindings associated with a given node.
摘要:
The sharing of language models is disclosed. In one embodiment, a language model service is provided that is shareable among handlers for input devices. The service includes a pre-processing mode of operation, and a correction mode of operation. In the former mode, the language model service is designed to receive a range within a document from a handler for an input device, and in response provide advice regarding text under consideration by the handler to insert within the document at the range, based on the context of the document within the range. In the latter mode, the language model service is designed to supervise correction over a range of text within a document, in which a number of different handlers for a number of different input devices were initially responsible for insertion of the text, such that the service solicits suggestions from the handlers, and based thereon determines text corrections. The corrections can then be made by the handlers, or by the service.
摘要:
A multi-modal text editing correction environment is disclosed. An application program owns a document, while each of a number of handlers has a corresponding input device and is capable of entering text into the document. Each handler has a method callable by the program to request: that the handler return correction content for display by the application; and/or that the handler display a correction interface. A common text framework includes a mechanism to track entry of text into the document by handler, and a correction interface callable by the application program to determine the handler responsible for entering a particular range of text into the document.
摘要:
A common text framework for application programs having documents of primarily text and input devices for entering and editing text of such documents is disclosed. The framework provides for the interaction of applications and handlers for input devices, and includes a text store interface and a text input processor interface. The former interface permits an application having a document of primarily text to expose the document as an abstraction. The latter interface permits a handler for an input device to access the abstraction of the document and to insert additional text into the document.
摘要:
The sharing of language models is disclosed. In one embodiment, a language model service is provided that is shareable among handlers for input devices. The service includes a pre-processing mode of operation, and a correction mode of operation. In the former mode, the language model service is designed to receive a range within a document from a handler for an input device, and in response provide advice regarding text under consideration by the handler to insert within the document at the range, based on the context of the document within the range. In the latter mode, the language model service is designed to supervise correction over a range of text within a document, in which a number of different handlers for a number of different input devices were initially responsible for insertion of the text, such that the service solicits suggestions from the handlers, and based thereon determines text corrections. The corrections can then be made by the handlers, or by the service.
摘要:
A commanding system for a computer. An input sequence can be received from an input device, and the commanding system can be used to connect the input to an associated action. Commanding can be provided by a plurality of nodes that represent elements of control and application levels. The nodes can be arranged in a hierarchical structure, and each node can include a table of bindings. A service can be attached to one or more of the nodes at run-time to provide additional commanding functionality. For example, a service can modify or supplement the binding entries provided in the table of bindings associated with a given node.
摘要:
A commanding system and method for a computer including at least one control element at the control level having commanding information. An input sequence can be received from an input device, and the commanding information provided by the control element can be used to connect the input to an associated action. Control elements and the application elements can be arranged as nodes in an tree, each node having one or more children and/or one or more parents. A table of bindings can be associated with each node, the table of bindings including a plurality of binding entries, each including a command binding and a command handler. The input sequence can be passed from node to node in the tree to find a command binding that matches the input sequence. When a matching command binding is found, the command handler associated with the matching command binding can be used to invoke the action that is to be performed based on the input sequence.