Partager via


resourceset Element

  Microsoft Speech Technologies Homepage

In manifest.xml specifies a type of resource used by ASP.NET Speech applications.

<manifest>
 <application>
  <resourceset>

<resourceset>
  type="a speech resource used by a ASP.NET Speech application"
</resourceset>

Required Attribute

Attribute Value Description
type TelephonyRecognizer Speech recognition engine for en-US telephony applications.
fr-CA_TelephonyRecognizer Speech recognition engine for fr-CA telephony applications.
es-US_TelephonyRecognizer Speech recognition engine for es-US telephony applications.
DTMF DTMF recognition engine for telephony applications.
MultimodalRecognizer Speech recognition engine for en-US multimodal applications.
Voice TTS engine for en-US telephony applications.
fr-CA_Voice TTS engine for fr-CA telephony applications.
es-US_Voice TTS engine for es-US telephony applications.

Remarks

Default values for most manifest elements are pre-populated with file names and options specified when running the Speech Web Application Wizard. These include application name, frontpage, and src attribute. Providing meaningful names when running the wizard helps the system administrator identify application resources later, in the deployment environment.

For more information, see:

Using the Project Wizard to Add Grammar Files to a New Project

Using the Project Wizard to Add a Prompt Project

Additionally, the file is pre-populated with an entry (resourceset element) for each type of speech engine that might be used by the application: TelephonyRecognizer or MultiModalRecognizer for recognition engines, and Voice for prompt, or speech output engines.

The values for resourceset element correspond to engine configuration settings in the Microsoft Speech Server (MSS) environment. When the application is deployed, these entries must match the configuration settings or the application may not run as expected. As shown in the following example, separate resource entries are required for the two resourceset categories: speech recognition and TTS.

Example

The following example specifies a prompt database and grammar files for a Spanish (United States) speech application.

<manifest>
  <application>
    <resourceset type="es-US_TelephonyRecognizer">
      <resource src="Grammars/Library.grxml">
      <resource src="Grammars/SpanishGrammar.grxml">
    </resourceset>
    <resourceset type="es-US_Voice">
      <resource src="Prompts/SpanishPrompts.prompts">
    </resourceset>
  </application>
</manifest>

See Also

Manifest File Elements