The Manifest File

 < Day Day Up > 

The Manifest.xml file contains a reference to the start page used for the application along with a listing of resources that can be preloaded by Speech Engine Services (SES). When you create a new speech project, it automatically includes entries for the default project grammars. If new grammars are added, make sure a reference to them is added to this file in order to take advantage of the preloading ability. The manifest for this chapter is seen as follows:

 <manifest>   <application frontpage="Default.aspx">     <resourceset type="MultimodalRecognizer">       <resource src="/books/4/387/1/html/2/Grammars/Library.grxml"/>       <resource src="/books/4/387/1/html/2/Grammars/Days.grxml"/>     <resource src="/books/4/387/1/html/2/Grammars/Departments.grxml"/>     <resource src="/books/4/387/1/html/2/Grammars/Instructors.grxml"/>     <resource src="/books/4/387/1/html/2/Grammars/QueryPostamble.grxml"/>     <resource src="/books/4/387/1/html/2/Grammars/QueryPreamble.grxml"/>     <resource src="/books/4/387/1/html/2/Grammars/SpeakQuery.grxml"/>     <resource src="/books/4/387/1/html/2/Grammars/StartTimes.grxml"/>     <resource src="/books/4/387/1/html/2/Grammars/Title.grxml"/>     </resourceset>   </application> </manifest> 

The manifest file contains a resourceset node with a type attribute. This value specifies the type of engine to use when loading a resource. For voice-only applications it should be valued as "TelephonyRecognizer." For the multimodal application in this chapter, it is valued as "Multimodalrecognizer."

     < Day Day Up > 


    Building Intelligent  .NET Applications(c) Agents, Data Mining, Rule-Based Systems, and Speech Processing
    Building Intelligent .NET Applications(c) Agents, Data Mining, Rule-Based Systems, and Speech Processing
    ISBN: N/A
    EAN: N/A
    Year: 2005
    Pages: 123

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net