Verify the Installation

Use the command cpqdasr-info to check the CPQD ASR server installation information. Follow the instructions below:

1) Open a console on the machine where the ASR server has been installed

2) Run cpqdasr-info

Run cpqdasr-test cpqdasr-info. This command will display pertinent information regarding the CPQD ASR installation.

In the following example, the CPQD ASR was installed together with the acoustic model and free speech model (FSM) for Brazilian Portuguese, with 8 kHz audio:

$ cpqdasr-info

=== CPqD ASR information ===

Collected: 2018-12-01T13:24:56+0000

--- Machine information ---

Linux: CentOS Linux release 7.6.1810 (Core)
Hostname: fe6fbe2b9b5f
MemTotal:       16329200 kB
MemAvailable:    6513268 kB
CPU(s):                4
Socket(s):             1
Model name:            Intel(R) Core(TM) i7-4600U CPU @ 2.90GHz
Disk space [/opt/cpqd/asr]: 61G
Disk space [/var/log/cpqd/asr]: 61G
Java installed: Java(TM) SE Runtime Environment (build 1.8.0_131-b11)

--- ASR packages installed ---

cpqd-asr-server-java1.8-2.7.0
cpqd-asr-engine-RHEL7.2-3.3.0-m
slm-ptbr-1.0.0-am-ptbr-8k-1.0.6-b2
am-ptbr-8k-1.0.6-b4

--- ASR configuration ---

Language package: ptbr-8k-1.0.6
Language: ptbr
Audio sampling rate (Hz): 8k
SLM: builtin:slm/general
SLM installed: true
License type: server
License ID: ABCDABCD00000001
Channels: 10

3) Check the return of the command

Check the data returned by the cpqdasr-info command.

3.1) ‘Machine information’ section

This section displays information about the machine and some of the available resources for running the ASR (memory, disk free space, Java version). Check installation requirements in installation requirements section.

--- Machine information ---

Linux: CentOS Linux release 7.6.1810 (Core)
Hostname: fe6fbe2b9b5f
MemTotal:       16329200 kB
MemAvailable:    6513268 kB
CPU(s):                4
Socket(s):             1
Model name:            Intel(R) Core(TM) i7-4600U CPU @ 2.90GHz
Disk space [/opt/cpqd/asr]: 61G
Disk space [/var/log/cpqd/asr]: 61G
Java installed: Java(TM) SE Runtime Environment (build 1.8.0_131-b11)

3.2) Installed ‘ASR packages installed’ section

Lists the installed CPQD ASR packages (engine, server, acoustic model and free speech model).

--- ASR packages installed ---

cpqd-asr-server-java1.8-2.7.0
cpqd-asr-engine-RHEL7.2-3.3.0-m
slm-ptbr-1.0.0-am-ptbr-8k-1.0.6-b2
am-ptbr-8k-1.0.6-b4

3.3) ‘ASR configuration’ section

Displays the most relevant ASR configurations:

  • Installed language package

  • Audio sampling rate

  • Installed free speech model (SLM)

  • License ID

  • Channels

--- ASR configuration ---

Language package: ptbr-8k-1.0.6
Language: ptbr
Audio sampling rate (Hz): 8k
SLM: builtin:slm/general
SLM installed: true
License type: server
License ID: ABCDABCD00000001
Channels: 10

4) Warning messages

This command can also display warning messages (WARNING MESSAGES Section) that users need to check to determine if they are critical or not. In the example, the free speech model is installed, but has not been enabled to be preloaded.

##### WARNING MESSAGES #####

* Found an SLM package installed but it is not configured using '--lm.preloadModels' property in 'engine.conf' file