How to Install Nuance ASR & TTS (TVF)

notownbuffAI and Robotics

Nov 17, 2013 (3 years and 8 months ago)

245 views


1

17.11.13

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.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

In
stallation of the Nuance Speech Server

................................
.........................

19

Install the Speech Server
................................
................................
................................
..

20

Install the Speech Server client

................................
................................
.........................

24

Configuration of the Speec
h Server

................................
................................
....................

28

Test the Speech Server

................................
................................
................................
....

29

Quick test for server installation
................................
................................
......................

29

Client test

................................
................................
................................
....................

29


2

17.11.13

How to Install Nuance ASR & TTS (TVF)

Inst
allation of the Nuance License M
anager

Install 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 (installa
tion path) is

<LM install
path
>

= C:
\
Program Files
\
Nuance
\
license_manager

3

17.11.13

How to Install Nuance ASR & TTS (TVF)





The setup copies all the necessary files to the destination loc
ation




4

17.11.13

How to Install Nuance ASR & TTS (TVF)



Click
the
F
inish
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

5

17.11.13

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

6

17.11.13

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

7

17.11.13

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 Recognizer

Install the
Nuance

Recognizer



Run the setup to install the Nuance Recognizer V9.0.2 (Service Pack 2) and click
the
Next >
button
to continue


8

17.11.13

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

9

17.11.13

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 in
stallation


10

17.11.13

How to Install Nuance ASR & TTS (TVF)





Reboot your system to complete the installation



Install the Language P
ackages

As 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


11

17.11.13

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 destinat
ion locati
on. 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


12

17.11.13

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 m
ake a copy of the default file
‘baseline.xml’ and rename your copy to ‘user.xml’

13

17.11.13

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
mach
ine SWLicenseServerList=2700
0
@localhost)

Test the recognizer



Start a command shell and go to the folder <NR install
path
>
\
samples
\
swirec_sample



Run the
sample applicat
ion (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 TTS

Install

the RealSpeak engine



Run the setup to install the Nuance RealSpeak engine V4.5.0 and click
the
Next >
but
ton
to
continue


14

17.11.13

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 (install
ation path) is

<RS install
path
>=C:
\
Program Files
\
ScanSoft
\
RealSpeak 4.0

15

17.11.13

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


16

17.11.13

How to Install Nuance ASR & TTS (TVF)





Click

the
Finish
button
to finish the installation




17

17.11.13

How to Install Nuance ASR & TTS (TVF)



Reboot your system to complete the installation




Install the RealSpeak voices

As 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


18

17.11.13

How to Install Nuance ASR & TTS (TVF)





Clic
k

the
Finish
button
to finish the installation



Install realspeak licensing



The c
onfiguration files are saved in <RS install path>
\
config



Two configuration files ttsrshclient.xml and ttsserver.xml

19

17.11.13

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 2700
0
@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 f
or the length
of the session

-

Explicit



Con
sume one license when a TTS re
quest 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
engine

The
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


st
andard.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 1
6 bit mono
without the wav header



Use a sound tool to play the file

Installation of the Nuance Speech Server

You 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.

O
NLY INSTALL THE
N
UANCE SPEECH SERVER
AFTER YOU HAVE INSTA
LLED THE
N
UANCE RECOGNIZER
WIT
H THE REQUIRED LANGU
AGES AND AFTER Y
OU HAVE INSTALLED TH
E
N
UANCE
R
EAL
S
PEAK

SERVER
WITH THE REQUIRED VO
ICES

20

17.11.13

How to Install Nuance ASR & TTS (TVF)

Install the Speech Server



Start the Nuance CD Browser and select
INSTALL PRODUCTS







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


21

17.11.13

How to Install Nuance ASR & TTS (TVF)







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


22

17.11.13

How to Install Nuance ASR & TTS (TVF)





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






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


23

17.11.13

How to Install Nuance ASR & TTS (TVF)





The setup copies all the necessary files to the destination locat
ion






Click

t he
Finish
button
to finish the installation


24

17.11.13

How to Install Nuance ASR & TTS (TVF)





Reboot your system to complete the installation




Install the Speech Server client



Start the Nuance CD Brows
er and select
INSTALL PRODUCTS



25

17.11.13

How to Install Nuance ASR & TTS (TVF)





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




26

17.11.13

How to Install Nuance ASR & TTS (TVF)





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 des
tination
folder (installation path) is

<NSS install
path
>=C:
\
Program Files
\
Nuance
\
Speech Server 5.0
\
client


27

17.11.13

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


28

17.11.13

How to Install Nuance ASR & TTS (TVF)





Reboot your
system to complete the installation




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 insta
llation and User’s guide



The configuration support multiple configuration

-

MRCP version 1

29

17.11.13

How to Install Nuance ASR & TTS (TVF)

-

MRCP version 2

Test the Speech Server

Quick 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


D
ON

T USE THIS COMMAND T
O THE START THE SPEE
CH SERVER FOR PRODUC
TION
.

O
NLY IT FOR
TESTING

Client
test



Start the Speech server as a service






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

30

17.11.13

How to Install Nuance ASR & TTS (TVF)

-

Compare the content from the demoP
rompt
-
mrcpv1.log with the content from Appendix B
in the product documentation of the Nuance speech server