Tablet PC includes technology for recognizing ink input that is most commonly in the form of handwriting. The software module that provides the recognition is called a recognizer. A recognizer recognizes one language, a group of related languages, or a class of related objects such as musical notes, system gestures, or geometric shapes. You can dynamically add recognizers to the ink services system.
Recognition is handled through the use of a recognizer context. Recognition consists of four basic steps:
- Setting up the recognition constraints by:
- Selecting the recognizer and input mode (geometric constraints).
- Setting the language constraints. For example, you can restrict input to alphanumeric characters or you can pass schemas to assist the recognizer.
- Sending ink to the recognizer.
- Processing the input (recognizing).
- Returning the results of the recognition.
Steps 2 and 3 may be repeated in a loop, or all of the ink strokes may be added to the ink before recognition is attempted.
Recognizer DLL Sample contains a template for creating a recognizer DLL. The template contains functions for registering and unregistering the server, as well as skeletons for primary recognizer functions.
The following sections describe the basic concepts behind the Tablet PC recognition technology. For detailed information about creating custom recognizers, see Creating a Recognizer.