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


Factoids for Western Languages

Factoids for Western Languages

Western languages are defined as English (U.S.), English (Worldwide), French, German, and Spanish. The formats within each factoid below are specific to each language's recognizer. For example, the Telephone factoid is different in each language. Furthermore, each factoid is specific to a particular recognizer. For example, the French Telephone factoid can be used only with the French recognizer.

Note: In addition to the factoids below, all languages use the factoids listed in Factoids Common Across Languages.

Factoid Definition Examples
Filename Sets bias for a Microsoft® Windows® filename path. The name cannot include the characters

/ " < > |

The characters * and ? are included in this factoid to enable searching. Also, extended characters are supported in European languages.

c:

\\directoryname\filename

\\directory1\directory2\filename

\\directoryname\*.*

filename.?

myfile.doc

SystemDictionary Enables the system dictionary only. This is useful if an application queries whether or not a word is in the system dictionary. Set the factoid to SystemDictionary and call the IsStringSupported method. The default language model includes a grammar for the language as well as the system dictionary. This factoid biases recognition towards only the words that occur in the system dictionary. Each language has its own system dictionary.
WordList Enables the word list only. If the factoid is set to WordList but no word list is assigned to the recognizer context, the user dictionary is used. For more information about word lists and dictionaries, see Using Application Dictionaries. This factoid biases the recognizer towards returning only words in the word list. For example, to enable the user to enter a color into a form, you may use this factoid and a word list that contains "Green", "Red", "Blue", "White" and other colors.

The following combinations of factoids are supported for western languages only. Other combinations of factoids are not supported in this version of the Tablet PC Platform application programming interfaces (APIs). These factoid combinations employ a logical OR operator, therefore the input can match any of the factoids in the expression.

Factoid Combination Definition
Web | WordList The Web factoid or the word list.
Email | WordList The Email factoid or the word list.
Filename | Web | WordList The Filename factoid or the Web factoid or the word list.

The following topics show the formats supported for each western language.