This documentation is archived and is not being maintained.

How to: View Turn Data

Speech Server 2007

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Use turn views for detailed analysis of tuning issues identified in session and task views in Speech Server.

A SaltLogMessage event generated by a Web-based voice response application appears in turn views as an ApplicationDataEvent, with the text "Salt application" added as an event parameter.

  1. Open Analytics and Tuning Studio.

    For more information, see How to: Start Analytics and Tuning Studio.

  2. In the Tuning Filters pane, select desired parameters, and then enter the appropriate filter values.

  3. At the top of the Tuning Filters pane, select Turn list or Turn details in the View box.

    For more information, see Turn Detail View or Turn List View.

  4. To refresh the view, click Refresh Data on the Analytics and Tuning Studio toolbar.

Filtering Turns by Language

To filter on turns in a particular language, use the Language field in a Turn view. For example, US English turns can be selected by adding the following to the Custom turn SQL filter:

TurnInfo.Language = 'en-us'

Similarly, use es-us for North American Spanish, de-de for German, and so on.

Querying On Transcriptions

To filter a set of turn results on the transcriptions entered for a turn, add the following to the Custom turn SQL filter:

TurnInfo.Transcription = '[phrase]'

where [phrase] is the complete transcription. To apply a similar filter using a partial match on the transcription, for example a particular word within the transcribed phrase, add the following:

TurnInfo.Transcription LIKE '%[word]%'

where [word] is the partial match required.

Finding Turns That Use a Particular Grammar

To select turns that use a particular grammar, add the following to the Custom turn SQL filter:

TurnInfo.TurnInstanceId IN ( SELECT TurnInstanceId FROM TurnInfo TI 
INNER JOIN SpeechGrammarUsage SGU 
ON TI.SpeechRequestId = SGU.SpeechRequestId 
WHERE SGU.GrammarId IN ( SELECT GrammarId 
FROM Grammars WHERE URI LIKE '%[GrammarURI]%'))

where [GrammarURI] is any part of the grammar path, name, or rule, such as MyGrammar.cfg or MyPath/MyGrammar.grxml#MyRule.