Using the Recognizers Collection

If you use multiple recognizers, you can use the Recognizers collection to list available recognizers and enable a user to select from among them. A Recognizers collection checks for installed recognizers, queries the attributes of the Recognizer objects, and stores the results. Applications can use the Recognizers collection to display a list of available recognizers without loading each recognizer DLL.

Note

The Recognizers collection uses the system registry to check for both Microsoft recognizers and third-party recognizers.

 

The following table shows the values of the language identifiers each Microsoft recognizer supports.

Note

There are no language identifiers associated with the Microsoft gesture recognizer.

 

Recognizer Name Primary Language Id, Sublanguage Id (in order supported)
Microsoft Gesture Recognizer
None
Microsoft English (United Kingdom) Handwriting Recognizer
LANG_ENGLISH, SUBLANG_ENGLISH_UK
LANG_ENGLISH, SUBLANG_ENGLISH_EIRE
Microsoft English (United States) Handwriting Recognizer
LANG_ENGLISH, SUBLANG_ENGLISH_US
LANG_ENGLISH, SUBLANG_ENGLISH_AUS
LANG_ENGLISH, SUBLANG_ENGLISH_BELIZE
LANG_ENGLISH, SUBLANG_ENGLISH_CAN
LANG_ENGLISH, SUBLANG_ENGLISH_CARIBBEAN
LANG_ENGLISH, SUBLANG_ENGLISH_JAMAICA
LANG_ENGLISH, SUBLANG_ENGLISH_NZ
LANG_ENGLISH, SUBLANG_ENGLISH_PHILIPPINES
LANG_ENGLISH, SUBLANG_ENGLISH_SOUTH_AFRICA
LANG_ENGLISH, SUBLANG_ENGLISH_TRINIDAD
LANG_ENGLISH, SUBLANG_ENGLISH_ZIMBABWE
LANG_ENGLISH, SUBLANG_NEUTRAL
Microsoft French Handwriting Recognizer
LANG_FRENCH, SUBLANG_FRENCH
LANG_FRENCH, SUBLANG_FRENCH_BELGIAN
LANG_FRENCH, SUBLANG_FRENCH_CANADIAN
LANG_FRENCH, SUBLANG_FRENCH_LUXEMBOURG
LANG_FRENCH, SUBLANG_FRENCH_MONACO
LANG_FRENCH, SUBLANG_FRENCH_SWISS
LANG_FRENCH, SUBLANG_NEUTRAL
Microsoft German Handwriting Recognizer
LANG_GERMAN, SUBLANG_GERMAN
LANG_GERMAN, SUBLANG_GERMAN_AUSTRIAN
LANG_GERMAN, SUBLANG_GERMAN_LIECHTENSTEIN
LANG_GERMAN, SUBLANG_GERMAN_LUXEMBOURG
LANG_GERMAN, SUBLANG_GERMAN_SWISS
LANG_GERMAN, SUBLANG_NEUTRAL
Microsoft Spanish Handwriting Recognizer
LANG_SPANISH, SUBLANG_SPANISH
LANG_SPANISH, SUBLANG_NEUTRAL
Microsoft Japanese Handwriting Recognizer
LANG_JAPANESE, SUBLANG_NEUTRAL
LANG_JAPANESE, SUBLANG_DEFAULT
Microsoft Korean Handwriting Recognizer
LANG_KOREAN, SUBLANG_NEUTRAL
LANG_KOREAN, SUBLANG_DEFAULT
Microsoft Chinese (Simplified) Handwriting Recognizer
LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
LANG_CHINESE, SUBLANG_CHINESE_SINGAPORE
LANG_CHINESE, SUBLANG_NEUTRAL
Microsoft Chinese (Traditional) Handwriting Recognizer
LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
LANG_CHINESE, SUBLANG_CHINESE_HONGKONG
LANG_CHINESE, SUBLANG_CHINESE_MACAU
LANG_CHINESE, SUBLANG_NEUTRAL

 

For more information about language identifiers, see Language Identifier Constants and Strings.