Audio: SpeechWorks Does Not Work with Unified CVP

From DocWiki

(Difference between revisions)
Jump to: navigation, search
m (1 revision)

Revision as of 18:11, 18 September 2009

SpeechWorks Does Not Work with Unified CVP

Problem Summary ScanSoft OSSServer.cfg, and Baseline.xml files require changes.
Error Message The default configuration for SpeechWorks Media Server (SWMS) 3.19, OpenSpeech Recognizer (OSR) 3.09, RealSpeak 4.0.10 from ScanSoft requires changes to work with Unified CVP.
Possible Cause Default configuration still in place.
Recommended Action The default configuration for SpeechWorks Media Server (SWMS) 3.19, OpenSpeech Recognizer (OSR) 3.09, RealSpeak 4.0.10 from ScanSoft requires changes to work with Unified CVP. The following parameters need to be set:

OSSServer.cfg:

The OSSServer.cfg file is for MRCP server and webserver application configuration. On a Scansoft Server it can be found at the following path location:

C:\Program Files\SpeechWorks\MediaServer\server\config

The Name, Type and Value entries should be configured as shown below. Values should be changed, lines un-commented or entries added in order to have the OSSServer.cfg file reflect these entries. Be careful to search for each one first because most exist already and just need changes to the "Value".

server.session.ossrec.useWidecharStringGrammers VXIInteger 0

server.transport.port VXIInteger 554

server.transport.dtmfPayloadType VXIInteger 101

server.session.ossweb.machine VXIString <server_name>

server.session.mrcpdefaults.nbest_list_length VXIString 1

server.session.mrcpdefaults.no-input-timeout VXIString 10000

server.session.mrcpdefaults.completetimeout VXIString 1000

server.session.mrcpdefaults.incompletetimeout VXIString 1000

server.session.mrcpdefaults.fetch-timeout VXIString 5000

server.transport.dtmfTriggerLeading VXIInteger 0

server.transport.dtmfTrailingEdgeTimeout VXIInteger 2000

## All DiagTag values should be set to "0" to disable debug and improve performance.

server.log.diagTag.2000 VXIInteger 0

server.log.diagTag.2001 VXIInteger 0

server.log.diagTag.3000 VXIInteger 0

server.log.diagTag.3001 VXIInteger 0

server.log.diagTag.6000 VXIInteger 0

server.log.diagTag.6001 VXIInteger 0

server.log.diagTag.8000 VXIInteger 0

server.log.diagTag.9000 VXIInteger 0

server.log.diagTag.10000 VXIInteger 0

server.log.diagTag.10001 VXIInteger 0

server.log.diagTag.79999 VXIInteger 0

Baseline.xml:

In the Baseline.xml file, there is a parameter called, swirec_extra_nbest_keys that specifies which ScanSoft keys to return. The default setting of this parameter:

<!-- Add a ScanSoft grammar key to the XML result. -->

<param name="swirec_extra_nbest_keys">

<value>SWI_meaning</value>

<value>SWI_literal</value>

<value>SWI_grammarName</value>

</param>

Below are the results of the default code:

Code: <result><interpretation conf="1"><text mode="voice">reebar</text>

<instance grammar="mygrammar"><SWI_ literal>reebar</SWI_literal>

<SWI_grammarName>mygrammar</SWI_grammarName>

<SWI_meaning>{SWI_literal:reebar}</SWI_meaning>

</instance></interpretation></result>

The following are changes that need to be made to the Baseline.xml file to in order to remove grammar keys in the XML result.

Below are the required changes to the Program Files\SpeechWorks\OpenSpeech Recognizer\config\Baseline.xml.

  1. Open the Baseline.xml file.
  2. Change the swirec_extra_nbest_keys parameter from:
<!-- Add a ScanSoft grammar key to the XML result. --> 
param name="swirec_extra_nbest_keys">
<value>SWI_meaning</value>
<value>SWI_literal</value>
<value>SWI_grammarName</value>
</param>
  1. to:

<!-- Add a ScanSoft grammar key to the XML result. --> param name="swirec_extra_nbest_keys"> <value></value> </param>

  1. Save the Baseline.xml file.
  2. Restart the server.
  3. With the changes in place, the XML result will now be:
    Code:
    <result><interpretation conf="1"><text mode="voice">reebar</text><instance grammar="mygrammar"></instance></interpretation></result>
Release Release 7.0(2)
Associated CDETS # None.

Rating: 0.0/5 (0 votes cast)

Personal tools