Partager via


User Language Support for English (United Kingdom)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

User languages supported by Speech Server are identified by their culture names, as defined in the System.Globalization.CultureInfo object that represents the language. The culture name for the English language in the locale of the United Kingdom is en-GB and its display name is English (United Kingdom).

The System.Globalization structure also provides a culture identifier, called an LCID, for each language that is supported by Windows. But Speech Server supports certain languages that are not supported by all versions of Windows and these languages cannot be accessed by their LCID. For this reason, it is recommended that application authors reference user-languages by their culture name rather than by LCID.

Support for user interaction in English (United Kingdom) consists of the following elements.

Voice Mode Grammar Library

The Voice Mode Grammar Library for English (United Kingdom) is a collection of ready-to-use rules and rulesets designed to recognize commonly used types of user voice input such as dates, times, currency units, numbers, and confirmatory responses. Use the rules as-is for recognizing simple input or build more complex grammars that reference these rules. Use the library for all types of Web-based and managed code voice response applications in Speech Server.

When an application uses the library, all the rules in the library are loaded into the recognition engine as inactive. Recognition output for a rule is not returned unless the application activates the rule prior to using it. A specific rule is activated by adding a ruleref element that references the rule.

The grammar library is contained in an XML-formatted file named Library.En-gb.grxml at the following location:

%ProgramFiles%\Microsoft Office Communications Server 2007 Speech Server\SDK\Templates\2057\

When you write new grammars for your application, you can add ruleref elements that reference rules in the grammar library or copy rules from the library and paste them into your grammars.

DTMF Mode Grammar Library

The DTMF Mode Grammar Library for English (United Kingdom) is a collection of ready-to-use rules designed to recognize numeric values associated with the DTMF pitches that are generated by a user pressing the keys of a telephone keypad. Use this library similarly to the way in which you use the Voice Mode Grammar Library.

The DTMF library is contained in an XML-formatted file named DTMFRules.grxml at the following location:

%ProgramFiles%\Microsoft Office Communications Server 2007 Speech Server\SDK\Templates\2057\

Remarks

  • Modifying the grammar library file is not recommended. If modification is necessary, copy the library file to a new file (for example, MyRules.grxml) and modify the new file.

Phoneme Table

Custom pronunciations for text-to-speech (TTS) engines are expressed in phonemes specific to the language of the engine. Click the following link for the phoneme table for English (United Kingdom).

Phoneme Table for English (United Kingdom)