Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| community:pocketsphinx [2015/11/10 21:35] – borja | community:pocketsphinx [2016/01/25 00:17] (current) – borja | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== PocketSphinx ====== | + | ====== PocketSphinx |
| * **Web site** : http:// | * **Web site** : http:// | ||
| - | PocketSphinx is one of Carnegie Mellon University' | + | PocketSphinx is one of Carnegie Mellon University' |
| - | **List of requested packages :** | + | **List of requested packages:** |
| * Sphinx Base V0.4.99 : sphinxbase-0.4.99-latest.tar.gz -> 5prealpha | * Sphinx Base V0.4.99 : sphinxbase-0.4.99-latest.tar.gz -> 5prealpha | ||
| Line 15: | Line 15: | ||
| * Flite V2.0.0 : flite-2.0.0-release.tar | * Flite V2.0.0 : flite-2.0.0-release.tar | ||
| - | **Compile | + | **Build the uniMRCP with PocketSphinx |
| Follow the uniMRCP documented steps : https:// | Follow the uniMRCP documented steps : https:// | ||
| Line 22: | Line 22: | ||
| * Compile SphinxBase (configure + make) | * Compile SphinxBase (configure + make) | ||
| * Compile PocketSphinx (configure + make) | * Compile PocketSphinx (configure + make) | ||
| - | * Patch the uniMRCP with the files () | + | |
| + | * Compile unimrcp-deps if not already done (script build-dep-libs.sh) | ||
| + | | ||
| + | * unimrcp/ | ||
| + | * unimrcp/ | ||
| + | * unimrcp/ | ||
| + | * unimrcp/ | ||
| + | * unimrcp/ | ||
| + | * Change directory to unimrcp, and execute the bootstrap | ||
| + | * Compile mrcp-pocketsphinx with : | ||
| + | * ./configure --enable-pocketsphinx-plugin --with-pocketsphinx=/ | ||
| + | * Compile mrcp-flite with : | ||
| + | * ./configure --enable-flite-plugin --with-flite=/ | ||
| + | |||
| + | |||
| + | **Installation and configuration: | ||
| + | |||
| + | Over the uniMRCP standard installation, | ||
| + | * /bin : copy the binaries unimrcpserver and unimrcpclient from unimrcp-x.x.x/ | ||
| + | * /plugin : copy the libraries generated from unimrcp-x.x.x/ | ||
| + | * /conf : add the pocketsphinx.xml from mrcp-pocketsphinx/ | ||
| + | * /var : create only. | ||
| + | * /data : Copy the models and the dictionaies. | ||
| + | |||
| + | |||
| + | ** UniMRCP Server executable help line: ** | ||
| + | |||
| + | < | ||
| + | root@borja: | ||
| + | |||
| + | * Copyright 2008-2014 Arsen Chaloyan | ||
| + | * | ||
| + | * Licensed under the Apache License, Version 2.0 (the License); | ||
| + | * you may not use this file except in compliance with the License. | ||
| + | * You may obtain a copy of the License at | ||
| + | * | ||
| + | | ||
| + | * | ||
| + | * Unless required by applicable law or agreed to in writing, software | ||
| + | * distributed under the License is distributed on an AS IS BASIS, | ||
| + | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| + | * See the License for the specific language governing permissions and | ||
| + | * limitations under the License. | ||
| + | |||
| + | |||
| + | Usage: | ||
| + | |||
| + | unimrcpserver [options] | ||
| + | |||
| + | Available options: | ||
| + | |||
| + | -r [--root-dir] path : Set the path to the project root directory. | ||
| + | |||
| + | -c [--dir-layout] path : Set the path to the dir layout config file. | ||
| + | (takes the precedence over --root-dir option) | ||
| + | |||
| + | -l [--log-prio] priority : Set the log priority. | ||
| + | (0-emergency, | ||
| + | |||
| + | -o [--log-output] mode : Set the log output mode. | ||
| + | (0-none, 1-console only, 2-file only, 3-both) | ||
| + | |||
| + | -d [--daemon] | ||
| + | |||
| + | -v [--version] | ||
| + | |||
| + | -h [--help] | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | ** Start the uniMRCP server:** | ||
| + | |||
| + | For debugging : | ||
| + | < | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | |||
| + | Run as a daemon: | ||
| + | < | ||
| + | / | ||
| + | </ | ||