Verify the Installation

Use the command cpqdasr-info to check the 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 ASR installation.

In the following example, the 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 ===

Created: 2022-11-29T11:29:09-0300

--- Machine information ---

Linux: "CentOS Linux 7 (Core)"
Hostname: 198f071a4e43
MemTotal:       16009.3 MB
MemAvailable:   10690.6 MB
CPU(s):                4
Socket(s):             1
Model name:            11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
Disk space [/opt/cpqd/asr]: 160G
Disk space [/var/log/cpqd/asr]: 160G
Java installed: Java(TM) SE Runtime Environment (build 17.0.2+8-LTS-86)

--- ASR packages installed ---

am-ptbr-8k-general-v8.1
cpqd-asr-engine-RHEL78-3.9.0-rc2
cpqd-asr-server
grammar-ptbr-builtin-1.2.1
slm-ptbr-general-v4.0-am-ptbr-8k-general-v8

--- ASR configuration ---

Language package: ptbr-8k-general-v8
Language: ptbr
Audio sampling rate (Hz): 8k
SLM: builtin:slm/general
SLM installed: true
License type: server
License ID: N1ASR-5F063863-CPQDX-HBUSOBZPV1-B995
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 7 (Core)"
Hostname: 198f071a4e43
MemTotal:       16009.3 MB
MemAvailable:   10690.6 MB
CPU(s):                4
Socket(s):             1
Model name:            11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
Disk space [/opt/cpqd/asr]: 160G
Disk space [/var/log/cpqd/asr]: 160G
Java installed: Java(TM) SE Runtime Environment (build 17.0.2+8-LTS-86)

3.2) Installed ‘ASR packages installed’ section

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

--- ASR packages installed ---

am-ptbr-8k-general-v8.1
cpqd-asr-engine-RHEL78-3.9.0-rc2
cpqd-asr-server
grammar-ptbr-builtin-1.2.1

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-general-v8
Language: ptbr
Audio sampling rate (Hz): 8k
SLM: builtin:slm/general
SLM installed: true
License type: server
License ID: N1ASR-5F063863-CPQDX-HBUSOBZPV1-B995

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