2.2.2.5.1.3.1 ASR Element

The ASR element is the root element of a transcript. Its attributes refer to the transcript as a whole. It contains elements that describe individual recognition objects (words, numbers, pauses, and so on) and possibly also describe associated features (names, telephone numbers, and so on).

 <xs:element name="ASR"> 
     <xs:complexType>   
         <xs:choice minOccurs="0" maxOccurs="unbounded">
             <xs:element ref="evm:ErrorInformation" minOccurs="0"/>
             <xs:element ref="evm:Text"/> 
             <xs:element ref="evm:Break"/>
             <xs:element ref="evm:Feature"/>
             <xs:element ref="evm:Information" minOccurs="0" maxOccurs="1"/>
         </xs:choice>
     <xs:attribute name="productID" type="xs:unsignedInt" use="optional" default="0"/>
     <xs:attribute name="confidence" type="evm:zeroToUnityDoubleType" use="required"/>
     <xs:attribute name="confidenceBand" type="evm:confidenceBandType" 
         use="optional" default="medium"/>
     <xs:attribute name="lang" type="xs:language" use="required"/>
     <xs:attribute name="productVersion" type="evm:versionNumberType" use="optional"/>
     <xs:attribute name="recognitionError" type="evm:recoErrorType" use="required"/>
     <xs:attribute name="recognitionResult" type="evm:recoResultType" use="required"/>
     <xs:attribute name="schemaVersion" type="evm:versionNumberType" use="required"/>
     </xs:complexType>
 </xs:element>

The ASR element has the following attributes. Any data types not specified in this document are specified in [XMLSCHEMA2/2].

Attribute

Type

Definition

confidence

evm:zeroToUnityDoubleType (section 2.2.2.5.1.1.6)

Required. Indicates the overall confidence in the recognition results. This is calculated by the speech recognition system as a weighted average over the individual recognition elements.

confidenceBand

evm:confidenceBandType (section 2.2.2.5.1.1.2)

Optional. Provides a general indication of the system's overall confidence in the recognition results.

lang

xs:language

Required. Indicates the language in which the attempt at automatic speech recognition was made.

productID

xs:unsignedInt

Optional. If present, this attribute identifies the product or service that was used to produce the transcript. Values will be assigned to partner products and services by Microsoft. Partners MUST<3> provide their ID when sending the transcript.

productVersion

evm:versionNumberType (section 2.2.2.5.1.1.5)

Optional. If present, indicates the version of the software that was used to produce the transcript.<4>

recognitionError

evm:recoErrorType (section 2.2.2.5.1.1.3)

Required. If present, provides for a more specific indication of the success or failure of the recognition than does the recognitionResult attribute.

recognitionResult

evm:recoResultType (section 2.2.2.5.1.1.4)

Required. Indicates whether an attempt at recognition was made and, if so, whether the recognition was completed.

schemaVersion

evm:versionNumberType

Required. Indicates the version of the schema description. This SHOULD be "1.0.0.0".

Show: