How to Install Nuance ASR & TTS (TVF)



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.2Contents TOC \o "1-3" \h \z \u Contents PAGEREF _Toc249242316 \h 1Installation of the Nuance License Manager PAGEREF _Toc249242317 \h 2Install the License Manager PAGEREF _Toc249242318 \h 2Test the installation PAGEREF _Toc249242319 \h 4Install a license file PAGEREF _Toc249242320 \h 5Installation of the Nuance Recognizer PAGEREF _Toc249242321 \h 7Install the Nuance Recognizer PAGEREF _Toc249242322 \h 7Install the Language Packages PAGEREF _Toc249242323 \h 10Install recognizer licensing PAGEREF _Toc249242324 \h 12Test the recognizer PAGEREF _Toc249242325 \h 13Installation of the Nuance TTS PAGEREF _Toc249242326 \h 13Install the RealSpeak engine PAGEREF _Toc249242327 \h 13Install the RealSpeak voices PAGEREF _Toc249242328 \h 17Install realspeak licensing PAGEREF _Toc249242329 \h 18Test the realspeak engine PAGEREF _Toc249242330 \h 19Installation of the Nuance Speech Server PAGEREF _Toc249242331 \h 19Install the Speech Server PAGEREF _Toc249242332 \h 20Install the Speech Server client PAGEREF _Toc249242333 \h 24Configuration of the Speech Server PAGEREF _Toc249242334 \h 28Test the Speech Server PAGEREF _Toc249242335 \h 29Quick test for server installation PAGEREF _Toc249242336 \h 29Client test PAGEREF _Toc249242337 \h 29Installation of the Nuance License ManagerInstall the License ManagerRun the setup to install the Nuance License Manager V11.4.0b and click the Next > button to continueSelect the destination folder, the default destination folder (installation path) is<LM install path> = C:\Program Files\Nuance\license_managerThe setup copies all the necessary files to the destination locationClick the Finish button to complete the installationTest the installationTest the License Manager with the dummy license <LM install path>\license\temp.licStart/Stop the license manager from the Windows service control panelStart/Stop the License Manager from the license manager toolInstall a license fileOpen the license tool and go to the Config Services tab. Click the Browse button to select the path where the license file is savedSelect the license fileClick the Save Service button to save the settings and answer Yes to confirm Start or restart the License Manager to activate the new licenseGo to the Server Status tab and click the Perform Status Enquiry to check your previously installed license Installation of the Nuance RecognizerInstall the Nuance RecognizerRun the setup to install the Nuance Recognizer V9.0.2 (Service Pack 2) and click the Next > button to continueAccept 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\RecognizerThe setup copies all the necessary files to the destination locationClick the Finish button to finish the installationReboot your system to complete the installationInstall 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 continueAccept 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.USClick the Finish button to finish the installationInstall recognizer licensingGo 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’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 addSWIUSERCFG=$SWISRSDK/config/User.xmlSet the right IP address of the system where the license manager is installed (e.g. on same machine SWLicenseServerList=27000@localhost)Test the recognizerStart a command shell and go to the folder <NR install path>\samples\swirec_sampleRun the sample application (swirecsample.exe) from the command line and redirect the output to a text fileCheck if the output file if you can find an XML result, if you found a result, than a recognition has occurredInstallation of the Nuance TTSInstall the RealSpeak engineRun the setup to install the Nuance RealSpeak engine V4.5.0 and click the Next > button to continueAccept 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.0Uncheck the option to install the RealSpeak host service, click the Next > button to continueThe setup copies all the necessary files to the destination locationClick the Finish button to finish the installationReboot your system to complete the installationInstall 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 continueThe setup copies all the necessary files to the destination location. The destination folder is an sub-folder of the Nuance RealSpeak installation path Click the Finish button to finish the installationInstall realspeak licensingThe configuration files are saved in <RS install path>\configTwo configuration files ttsrshclient.xml and ttsserver.xmlSet 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’DefaultConsume one license when a TTS instance is createdRelease one license when a TTS instance is destroyedFor MRCP session, license is reserved for the length of the sessionExplicitConsume one license when a TTS request is receivedRelease one license when the speak is generatedThe 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 formatstandard.exe <Language> <voice> <speech directory> <input text file>Run the demo applicationstandard.exe “American English” Donna ./speech ./api/demos/data/us_english.txtThe standard.exe demo application will generate a standard.pcm speech file. This 16 bit mono without the wav headerUse a sound tool to play the fileInstallation 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 voicesInstall the Speech ServerStart the Nuance CD Browser and select INSTALL PRODUCTS Select Nuance Speech Server to install the Nuance Speech Server V5.0 and click the Next > button to continue 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\serverSelect the language that you want to set as the default languageThe setup copies all the necessary files to the destination locationClick t he Finish button to finish the installationReboot your system to complete the installationInstall the Speech Server clientStart 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 Accept the license agreement and click the Next > button to continue 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\clientThe setup copies all the necessary files to the destination locationClick the Finish button to finish the installationReboot your system to complete the installationConfiguration of the Speech ServerThe configuration file ‘NSSserver.cfg’ is saved in <NSS install path>\server\configThe list of parameters are broken down intoBasic server configurationEvent logging and logging configurationTransport resourcesInternet and cache configurationWaveform logging resourcesText-To-Speech resourcesSpeech recognition resourcesEach parameter has a default setting and a short description. A detailed description is provide in the installation and User’s guideThe configuration support multiple configurationMRCP version 1MRCP version 2Test the Speech ServerQuick test for server installationVerify that the license server is runningOpen a system command windowRun <NSS install path>\server\bin\startserver.bat. This starts the server with the following argumentsnsserver.exe –config ..\config\nssserver.cfg watcher.RestartOnFailure=FALSEDon’t use this command to the start the speech server for production. Only it for testingClient testStart the Speech server as a serviceThe client test application can be found under <NSS install path>\client\binOpen a system command windowTest Nuance RecognitionRun client.exe –s 127.0.0.1 –r 5060 ..\scripts\demo-mrcpv1.mrcpCompare the content from the demo-mrcpv1.log file with the content from Appendix A in the product documentation of the Nuance speech serverTest Nuance RealSpeakRun client.exe –s 127.0.0.1 –r 5060 ..\scripts\demoPrompt-mrcpv1.mrcpCompare the content from the demoPrompt-mrcpv1.log with the content from Appendix B in the product documentation of the Nuance speech server ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download