RecognitionModes Enumeration
Defines values that specify how the recognizer interprets the ink and determines the result string. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
<FlagsAttribute> _
Public Enumeration RecognitionModes
'Usage
Dim instance As RecognitionModes
[FlagsAttribute]
public enum RecognitionModes
[FlagsAttribute]
public enum class RecognitionModes
public enum RecognitionModes
Members
Member name | Description | |
---|---|---|
None | Specifies that the recognizer applies no recognition modes. | |
WordMode | Specifies that the recognizer treats the ink as a single word. For example, if the context contains "to get her", the recognizer returns "together". | |
TopInkBreaksOnly | Disables multiple segmentation. This turns off the recognizer's ability to return recognition results based on more than one recognition segment of the ink, where each segment corresponds to a word (in recognizers of Latin script) or a character (in recognizers of East Asian characters). The word "together" always returns alternates based on "together" being a single word, and the recognizer does not consider the string might also be "to get her" or some other variation with differing segmentation. Turning on this flag enhances recognition speed. | |
Coerce | Specifies that the recognizer coerces the result based on the factoid that you specified for the context. For example, if the Telephone factoid is specified and the user enters the word hello, the recognizer may return a random phone number or an empty string. If this flag is not specified, the recognizer returns hello as the result. Input scopes and factoids are restrictions on the word level alternates; character alternates may be outside the input scope specified even when COERCE is on. | |
PrefixOk | Apply partial word recognition. | |
LineMode | Specifies that no line breaking occurs inside the recognizer and all of the ink is recognized as one line. | |
DisablePersonalization | Disables personalization on the recognizer. | |
AutoSpace | Specifies the recognizer should perform auto-spacing. |
Remarks
Note
Some compound words in the dictionary are treated as single words by recognizers of Latin script. For example, recognizers of Latin script treat "Los Angeles" as a single word if you use the WordMode flag. In addition, certain factoids—such as the Date Factoid in English (United Kingdom), English (United States), German, and French—treat some multiple word dates as single words. For example, these recognizers treat "January 21, 2000" as a single word if you use the WordMode flag.
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.0