Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Microsoft Speech Platform
SPSEMANTICERRORINFO
SPSEMANTICERRORINFO represents information about a recognition error.
SPSEMANTICERRORINFO is used with functions of the ISpXMLRecoResult and ISpPhrase2 interfaces to describe errors that occurred while generating the Semantic Markup Language (SML) that contains the semantic results.
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>typedef struct SPSEMANTICERRORINFO {</strong> <strong>ULONG</strong> <em>ulLineNumber</em>; <strong>LPWSTR</strong> <em>pszScriptLine</em>; <strong>LPWSTR</strong> <em>pszSource</em>; <strong>LPWSTR</strong> <em>pszDescription</em>; <strong>HRESULT</strong> <em>hrResultCode</em>; <strong>} SPSEMANTICERRORINFO;</strong> </pre>
Members
- ulLineNumber
The line number where the error occurred. - pszScriptLine
The text of the line where the error occurred. - pszSource
The location of the file in which the error occurred. - pszDescription
A description of the error. - hrResultCode
The code number of the error.
Remarks
For more information about SML, see Semantic Markup Language Reference (Microsoft.Speech).