Partilhar via


QA Remarks

  Microsoft Speech Technologies Homepage

The QA control is the primary Dialog Speech Control. It manages dialogue between the computer and the user. The QA contains other Dialog Speech Controls, each of which performs part of the functionality of the QA. These controls are activated according to their functionality; the order of their placement within the control is not significant.

  • The Prompt control plays a prerecorded sound file or reads a text prompt using text-to-speech. The text of the Prompt typically asks the user for a specific type of information.
  • The Dtmf control provides for the collection of data through the telephone keypad.
  • The Reco control specifies a recognition grammar and passes the user's speech to a recognition engine. The engine returns recognition results in Semantic Markup Language (SML), which identifies the semantic value of each element of the results.
  • Answer controls link elements of recognition results to SemanticItem controls. A QA contains an Answer control for each syntactical element of the user's response.

Authors can create QA controls which serve as introductory or welcoming messages. This is done by creating a QA that contains only a Prompt control, and setting the PlayOnce property of the QA to True.

Authors use the QA control to specify how applications perform confirmation of recognized data collected by the control. Placing an Answer control in the Confirms collection of a QA causes the data associated with that Answer to be confirmed explicitly. The AcceptRejectThreshold and DenyRejectThreshold properties set the levels of recognition confidence required to accept or deny confirmation of data elements. Authors can also use the FirstInitialTimeout property to place the QA in short time-out confirmation mode.

Markup

<Speech:QA properties runat="server" >

   <Prompt ...>
   <Dtmf ...>
   <Reco ...>

   <Answers>
      <speech:Answer ...> 
      ...
   </Answers>

   <ExtraAnswers>
      <speech:Answer ...>
      ...
   </ExtraAnswers>

   <Confirms>
      <speech:Answer ...>
      ...
   </Confirms>

</Speech:QA>

See Also

QA Class | QA Constructor | QA Client Object | QA Members | QA Properties | QA Methods | QA Events