Поделиться через


RecognitionModes - перечисление

Обновлен: Ноябрь 2007

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.

Это перечисление имеет атрибут FlagsAttribute, поддерживающий побитовое соединение составляющих его значений.

Пространство имен:  Microsoft.Ink
Сборка:  Microsoft.Ink (в Microsoft.Ink.dll)

Синтаксис

'Декларация
<FlagsAttribute> _
Public Enumeration RecognitionModes
'Применение
Dim instance As RecognitionModes
[FlagsAttribute]
public enum RecognitionModes
[FlagsAttribute]
public enum class RecognitionModes
/** @attribute FlagsAttribute */
public enum RecognitionModes
public enum RecognitionModes

Члены

Имя члена Описание
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.

Заметки

ms552532.alert_note(ru-ru,VS.90).gifПримечание.

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.

Платформы

Windows Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

Microsoft.Ink - пространство имен

Factoid

WordList

RecognizerContext.RecognitionFlags