how to install nuance asr & tts (tvf) - cisco support ... · web viewhow to install nuance asr...

30
How to Install Nuance ASR & TTS (TVF) Knowledge base article This document contains some hints and tips about the installation of the Nuance ASR recognition and TTS RealSpeak software. For a more detailed description consult the installation and product documentation of Nuance. The document covers the following components and their versions - Nuance License Manager version 11.4.0b - Nuance Recognizer version 9.0.2 (Service Pack 2) - Nuance RealSpeak version 4.5 - Nuance Speech Server version 5.0.2 Contents Contents..................................................................1 Installation of the Nuance License Manager................................2 Install the License Manager......................................................2 Test the installation............................................................4 Install a license file...........................................................5 Installation of the Nuance Recognizer.....................................7 Install the Nuance Recognizer....................................................7 Install the Language Packages...................................................10 Install recognizer licensing....................................................12 Test the recognizer.............................................................13 Installation of the Nuance TTS...........................................13 Install the RealSpeak engine....................................................13 Install the RealSpeak voices....................................................17 Install realspeak licensing.....................................................18 Test the realspeak engine.......................................................19 Installation of the Nuance Speech Server.................................19 Install the Speech Server.......................................................20 Install the Speech Server client................................................24 Configuration of the Speech Server..............................................28 Test the Speech Server..........................................................29 Quick test for server installation............................................29 1 22.12.09 How to Install Nuance ASR & TTS (TVF)

Upload: danghanh

Post on 03-Apr-2018

297 views

Category:

Documents


10 download

TRANSCRIPT

How to Install Nuance ASR & TTS (TVF)Knowledge base article

This document contains some hints and tips about the installation of the Nuance ASR recognition and TTS RealSpeak software. For a more detailed description consult the installation and product documentation of Nuance. The document covers the following components and their versions- Nuance License Manager version 11.4.0b- Nuance Recognizer version 9.0.2 (Service Pack 2)- Nuance RealSpeak version 4.5- Nuance Speech Server version 5.0.2

ContentsContents........................................................................................................1Installation of the Nuance License Manager....................................................2

Install the License Manager..............................................................................................................2Test the installation..........................................................................................................................4Install a license file...........................................................................................................................5

Installation of the Nuance Recognizer.............................................................7Install the Nuance Recognizer..........................................................................................................7Install the Language Packages.......................................................................................................10Install recognizer licensing.............................................................................................................12Test the recognizer.........................................................................................................................13

Installation of the Nuance TTS......................................................................13Install the RealSpeak engine..........................................................................................................13Install the RealSpeak voices...........................................................................................................17Install realspeak licensing...............................................................................................................18Test the realspeak engine..............................................................................................................19

Installation of the Nuance Speech Server......................................................19Install the Speech Server................................................................................................................20Install the Speech Server client......................................................................................................24Configuration of the Speech Server................................................................................................28Test the Speech Server...................................................................................................................29

Quick test for server installation..................................................................................................29Client test....................................................................................................................................29

1 25.01.12 How to Install Nuance ASR & TTS (TVF)

Installation of the Nuance License ManagerInstall the License Manager Run the setup to install the Nuance License Manager V11.4.0b and click the Next > button to

continue

Select the destination folder, the default destination folder (installation path) is<LM install path> = C:\Program Files\Nuance\license_manager

2 25.01.12 How to Install Nuance ASR & TTS (TVF)

The setup copies all the necessary files to the destination location

3 25.01.12 How to Install Nuance ASR & TTS (TVF)

Click the Finish button to complete the installation

Test the installation Test the License Manager with the dummy license <LM install path>\license\temp.lic Start/Stop the license manager from the Windows service control panel

Start/Stop the License Manager from the license manager tool

4 25.01.12 How to Install Nuance ASR & TTS (TVF)

Install a license file Open the license tool and go to the Config Services tab. Click the Browse button to select the

path where the license file is saved

5 25.01.12 How to Install Nuance ASR & TTS (TVF)

Select the license file

Click the Save Service button to save the settings and answer Yes to confirm

Start or restart the License Manager to activate the new license

6 25.01.12 How to Install Nuance ASR & TTS (TVF)

Go to the Server Status tab and click the Perform Status Enquiry to check your previously installed license

Installation of the Nuance RecognizerInstall the Nuance Recognizer Run the setup to install the Nuance Recognizer V9.0.2 (Service Pack 2) and click the Next >

button to continue

7 25.01.12 How to Install Nuance ASR & TTS (TVF)

Accept the license agreement and click the Next > button to continue

Select the destination folder, the default destination folder (installation path) is<NR install path>=C:\Program Files\Nuance\Recognizer

8 25.01.12 How to Install Nuance ASR & TTS (TVF)

The setup copies all the necessary files to the destination location

Click the Finish button to finish the installation

9 25.01.12 How to Install Nuance ASR & TTS (TVF)

Reboot your system to complete the installation

Install the Language PackagesAs example, we will install the English en-US language pack. Follow the same steps for the other language packages. Run the setup to install the Nuance Recognizer V9.0.2 English en-US Language Pack and click

the Next > button to continue

10 25.01.12 How to Install Nuance ASR & TTS (TVF)

Accept the license agreement and click the Next > button to continue

The setup copies all the necessary files to the destination location. The destination folder is a sub-folder of the Nuance Recognizer and depends on the name of the language pack. For the English en-US language pack, the destination folder is <NR install path>\config\en.US

11 25.01.12 How to Install Nuance ASR & TTS (TVF)

Click the Finish button to finish the installation

Install recognizer licensing Go to the config folder <NR install path>\config and make a copy of the default file

‘baseline.xml’ and rename your copy to ‘user.xml’

12 25.01.12 How to Install Nuance ASR & TTS (TVF)

Set in ‘user.xml’ the number of licenses. The number of license can be found in your license file (in our example eval-lic (expires Jan 23 2010).lic)

Open the file ‘SpeechWorks.cfg’ and add- SWIUSERCFG=$SWISRSDK/config/User.xml- Set the right IP address of the system where the license manager is installed (e.g. on same

machine SWLicenseServerList=27000@localhost)

Test the recognizer Start a command shell and go to the folder <NR install path>\samples\swirec_sample Run the sample application (swirecsample.exe) from the command line and redirect the output

to a text file Check if the output file if you can find an XML result, if you found a result, than a recognition

has occurred

Installation of the Nuance TTSInstall the RealSpeak engine Run the setup to install the Nuance RealSpeak engine V4.5.0 and click the Next > button to

continue

13 25.01.12 How to Install Nuance ASR & TTS (TVF)

Accept the license agreement and click the Next > button to continue

Select the program features you want to install and click the Change… button if you want to change the destination folder. The default destination folder (installation path) is<RS install path>=C:\Program Files\ScanSoft\RealSpeak 4.0

14 25.01.12 How to Install Nuance ASR & TTS (TVF)

Uncheck the option to install the RealSpeak host service, click the Next > button to continue

The setup copies all the necessary files to the destination location

15 25.01.12 How to Install Nuance ASR & TTS (TVF)

Click the Finish button to finish the installation

16 25.01.12 How to Install Nuance ASR & TTS (TVF)

Reboot your system to complete the installation

Install the RealSpeak voicesAs example, we will install the en-US Donna voice. Follow the same steps for the other language packages. Run the setup to install the RealSpeak en-US voice and click the Next > button to continue

The setup copies all the necessary files to the destination location. The destination folder is an sub-folder of the Nuance RealSpeak installation path

17 25.01.12 How to Install Nuance ASR & TTS (TVF)

Click the Finish button to finish the installation

Install realspeak licensing The configuration files are saved in <RS install path>\config Two configuration files ttsrshclient.xml and ttsserver.xml

18 25.01.12 How to Install Nuance ASR & TTS (TVF)

Set the right IP address of the system where the license manager is installed (e.g. on same machine 27000@localhost)

Set license mode ‘Default’ or ‘Explicit’- Default

Consume one license when a TTS instance is created Release one license when a TTS instance is destroyed For MRCP session, license is reserved for the length of the session

- Explicit Consume one license when a TTS request is received Release one license when the speak is generated The license is only taken for a short period if only a small piece of text is used

Test the realspeak engineThe installation contains a demo application and some demo text files to verify the RealSpeak engine. The demo application can be found in the installation path of the RealSpeak server. Start the application in a command shell and use the following format

standard.exe <Language> <voice> <speech directory> <input text file>

Run the demo application

standard.exe “American English” Donna ./speech ./api/demos/data/us_english.txt

The standard.exe demo application will generate a standard.pcm speech file. This 16 bit mono without the wav header

Use a sound tool to play the file

Installation of the Nuance Speech ServerYou only need the speech server if you want to use MRCP. The speech server translates the MRCP request to the Nuance protocol for the recognizer and realspeak engine. ONLY INSTALL THE NUANCE SPEECH SERVER AFTER YOU HAVE INSTALLED THE NUANCE RECOGNIZER WITH THE REQUIRED LANGUAGES AND AFTER YOU HAVE INSTALLED THE NUANCE REALSPEAK SERVER WITH THE REQUIRED VOICES

Install the Speech Server Start the Nuance CD Browser and select INSTALL PRODUCTS

19 25.01.12 How to Install Nuance ASR & TTS (TVF)

Select Nuance Speech Server to install the Nuance Speech Server V5.0 and click the Next > button to continue

20 25.01.12 How to Install Nuance ASR & TTS (TVF)

Accept the license agreement and click the Next > button to continue

Select the program features you want to install and click the Change… button if you want to change the destination folder. The default destination folder (installation path) is<NSS install path>=C:\Program Files\Nuance\Speech Server 5.0\server

21 25.01.12 How to Install Nuance ASR & TTS (TVF)

Select the language that you want to set as the default language

The setup copies all the necessary files to the destination location

22 25.01.12 How to Install Nuance ASR & TTS (TVF)

Click t he Finish button to finish the installation

Reboot your system to complete the installation

23 25.01.12 How to Install Nuance ASR & TTS (TVF)

Install the Speech Server client Start the Nuance CD Browser and select INSTALL PRODUCTS

Select Nuance Speech Server Client to install the Nuance Speech Server V5.0 Client and click the Next > button to continue

24 25.01.12 How to Install Nuance ASR & TTS (TVF)

Accept the license agreement and click the Next > button to continue

25 25.01.12 How to Install Nuance ASR & TTS (TVF)

Click the Change… button if you want to change the destination folder. The default destination folder (installation path) is<NSS install path>=C:\Program Files\Nuance\Speech Server 5.0\client

The setup copies all the necessary files to the destination location

26 25.01.12 How to Install Nuance ASR & TTS (TVF)

Click the Finish button to finish the installation

Reboot your system to complete the installation

27 25.01.12 How to Install Nuance ASR & TTS (TVF)

Configuration of the Speech Server The configuration file ‘NSSserver.cfg’ is saved in <NSS install path>\server\config The list of parameters are broken down into

- Basic server configuration- Event logging and logging configuration- Transport resources- Internet and cache configuration- Waveform logging resources- Text-To-Speech resources- Speech recognition resources

Each parameter has a default setting and a short description. A detailed description is provide in the installation and User’s guide

The configuration support multiple configuration- MRCP version 1- MRCP version 2

Test the Speech ServerQuick test for server installation Verify that the license server is running Open a system command window Run <NSS install path>\server\bin\startserver.bat. This starts the server with the following

arguments

nsserver.exe –config ..\config\nssserver.cfg watcher.RestartOnFailure=FALSE

DON’T USE THIS COMMAND TO THE START THE SPEECH SERVER FOR PRODUCTION. ONLY IT FOR TESTING

Client test Start the Speech server as a service

28 25.01.12 How to Install Nuance ASR & TTS (TVF)

The client test application can be found under <NSS install path>\client\bin Open a system command window Test Nuance Recognition

- Run client.exe –s 127.0.0.1 –r 5060 ..\scripts\demo-mrcpv1.mrcp- Compare the content from the demo-mrcpv1.log file with the content from Appendix A in

the product documentation of the Nuance speech server

Test Nuance RealSpeak- Run client.exe –s 127.0.0.1 –r 5060 ..\scripts\demoPrompt-mrcpv1.mrcp- Compare the content from the demoPrompt-mrcpv1.log with the content from Appendix B

in the product documentation of the Nuance speech server

29 25.01.12 How to Install Nuance ASR & TTS (TVF)