- Installation
- Administration
- Programmer's Guide
- Grammars
- MRCP Server
- FAQs
The following instructions will cover installation on systems that can use RPM files, such as Red Hat Enterprise Linux, CentOS, or Fedora Core.. You may also see Debian Installation for distributions that use Debian packages.
Installation will require root privileges for both the Speech Engine and License Server.
The tool YUM (available on many RPM-enabled systems) can be used to easily manage your LumenVox installations.
First, create a file named LumenVox.repo in /etc/yum.repos.d/ and enter the following in the file for Fedora Core (be sure to save the file after entering the text):
###################################################
[LumenVox]
name=LumenVox Products for Fedora Core $releasever - $basearch
baseurl=http://www.LumenVox.com/packages/FC$releasever/i386/
enabled=1
gpgcheck=0
###################################################
For RedHat Enterprise Linux 4 and CentOS 4, use:
###################################################
[LumenVox]
name=LumenVox Products $basearch
baseurl=http://www.LumenVox.com/packages/EL4/i386/
enabled=1
gpgcheck=0
###################################################
For RHEL 5 and CentOS 5, use:
###################################################
[LumenVox]
name=LumenVox Products $basearch
baseurl=http://www.LumenVox.com/packages/EL5/i386/
enabled=1
gpgcheck=0
###################################################
Once the repository is configured, you can use yum to automatically download and install the packages. From a command line, you may then type yum install <package>, replacing package with the appropriate package name.
The available packages are:
Typical installations will require the Core, Client, SRE, and License Server packages and the appropriate MRCP Server (only if your platform uses MRCP). To download and install everything for a typical installation, you could run the following command:
yum install LumenVoxCore LumenVoxClient LumenVoxSRE LumenVoxLicenseServer
The products you install will register themselves as services in /etc/init.d/ called lvsred (the speech server), lvlicensed (the License Server), and lvmrcpv1d and lvmediaserverd. By default, they will be started automatically when you login. They are not started by default after installation -- you must either start them using the service name start command or by logging out and back in after installation.
After you have installed the software, see Licensing Overview to get started licensing your software.
In our Linux packages, there's an application called SimpleClient that tests to make sure that the software has been installed and licensed properly. The program takes a predefined grammar and audio utterance and passes them to the Engine to get a decode.
To build and run the program:
Loaded Grammar!
Loaded Audio!
Decode returned!
Alternative 1:
Interpretation 1 of 1:
Grammar Label : 1
Input Sentence : EIGHT FIVE EIGHT SEVEN O SEVEN O SEVEN O SEVEN
Interpretation String: 8587070707
Interpretation Score : 918
Alternative 2:
Interpretation 1 of 1:
Grammar Label : 1
Input Sentence : EIGHT FIVE EIGHT SEVEN O SEVEN O SEVEN O SEVEN EIGHT
Interpretation String: 85870707078
Interpretation Score : 914
Alternative 3:
Interpretation 1 of 1:
Grammar Label : 1
Input Sentence : EIGHT FIVE EIGHT SEVEN O SEVEN O SEVEN O SEVEN TWO
Interpretation String: 85870707072
Interpretation Score : 909
At this time we do not fully support running the LumenVox software in a 64-bit environment. It is possible that the normal i386 LumenVox packages will install and run on a 64-bit operating system, but as we do not build or test them in this environment we cannot recommend this use for a production environment.
On select Linux distributions (at this time Fedora Core 5 and 7 and Red Hat/CentOS 5) we have available a 64-bit version of our speech client. This package contains only the necessary files for a speech application to communicate with our speech server (the application called LVSRE_SERVER) running on a separate machine.
Note that if you install the 64-bit client, you will likely experience problems if you also have the 32-bit LumenVoxSRE package installed on that same machine. Instead of installing both the client and the server on the same machine, you should use SetPropertyEx to set PROP_EX_SRE_SERVERS to point to the machine with the server running.
To download and install the software, modify the LumenVox.repo files specified above. You need to replace the directory /i386/ with /x86_64/ and then run yum install LumenVoxClient in order to get the software. It will install to /opt/lumenvox/client/ on your system.
The Engine requires that you have libjs, the Mozilla implementation of JavaScript, installed on your system. It is not available in the Red Hat or CentOS yum repositories, so you will have to get it separately if you do not already have it.
You can obtain the source from the official Mozilla site and build it yourself. Alternatively, many sites offer compiled RPMs of the library. LumenVox cannot certify or support these third-party RPMs, but for your convenience one such location is http://dag.wieers.com/rpm/packages/js/
See Downloading the Software for instructions on obtaining the License Server and Speech Engine RPMs. They are named in the format LumenVoxLicenseServer-X. Y-Z.DISTRIBUTION.i386.rpm where X.Y-Z represents the software's version number, and DISTRIBUTION is the Linux distribution they are to be used for.
You can install an RPM by typing rpm -Uvh LumenVoxLicenseServer-X.Y-Z.DISTRIBUTION.i386.rpm
Log out and log back in to your machine after installation completes.
After you have installed the software, see Licensing Overview to get started licensing your software.