Code Monkey home page Code Monkey logo

pocketsphinx's Introduction

PocketSphinx 5.0.3

This is PocketSphinx, one of Carnegie Mellon University's open source large vocabulary, speaker-independent continuous speech recognition engines.

Although this was at one point a research system, active development has largely ceased and it has become very, very far from the state of the art. I am making a release, because people are nonetheless using it, and there are a number of historical errors in the build system and API which needed to be corrected.

The version number is strangely large because there was a "release" that people are using called 5prealpha, and we will use proper semantic versioning from now on.

Please see the LICENSE file for terms of use.

Installation

We now use CMake for building, which should give reasonable results across Linux and Windows. Not certain about Mac OS X because I don't have one of those. In addition, the audio library, which never really built or worked correctly on any platform at all, has simply been removed.

There is no longer any dependency on SphinxBase. There is no SphinxBase anymore. This is not the SphinxBase you're looking for. All your SphinxBase are belong to us.

To install the Python module in a virtual environment (replace ~/ve_pocketsphinx with the virtual environment you wish to create), from the top level directory:

python3 -m venv ~/ve_pocketsphinx
. ~/ve_pocketsphinx/bin/activate
pip install .

To install the C library and bindings (assuming you have access to /usr/local - if not, use -DCMAKE_INSTALL_PREFIX to set a different prefix in the first cmake command below):

cmake -S . -B build
cmake --build build
cmake --build build --target install

Usage

The pocketsphinx command-line program reads single-channel 16-bit PCM audio from standard input or one or more files, and attemps to recognize speech in it using the default acoustic and language model. It accepts a large number of options which you probably don't care about, a command which defaults to live, and one or more inputs (except in align mode), or - to read from standard input.

If you have a single-channel WAV file called "speech.wav" and you want to recognize speech in it, you can try doing this (the results may not be wonderful):

pocketsphinx single speech.wav

If your input is in some other format I suggest converting it with sox as described below.

The commands are as follows:

  • help: Print a long list of those options you don't care about.

  • config: Dump configuration as JSON to standard output (can be loaded with the -config option).

  • live: Detect speech segments in each input, run recognition on them (using those options you don't care about), and write the results to standard output in line-delimited JSON. I realize this isn't the prettiest format, but it sure beats XML. Each line contains a JSON object with these fields, which have short names to make the lines more readable:

    • b: Start time in seconds, from the beginning of the stream
    • d: Duration in seconds
    • p: Estimated probability of the recognition result, i.e. a number between 0 and 1 representing the likelihood of the input according to the model
    • t: Full text of recognition result
    • w: List of segments (usually words), each of which in turn contains the b, d, p, and t fields, for start, end, probability, and the text of the word. If -phone_align yes has been passed, then a w field will be present containing phone segmentations, in the same format.
  • single: Recognize each input as a single utterance, and write a JSON object in the same format described above.

  • align: Align a single input file (or - for standard input) to a word sequence, and write a JSON object in the same format described above. The first positional argument is the input, and all subsequent ones are concatenated to make the text, to avoid surprises if you forget to quote it. You are responsible for normalizing the text to remove punctuation, uppercase, centipedes, etc. For example:

    pocketsphinx align goforward.wav "go forward ten meters"
    

    By default, only word-level alignment is done. To get phone alignments, pass -phone_align yes in the flags, e.g.:

    pocketsphinx -phone_align yes align audio.wav $text
    

    This will make not particularly readable output, but you can use jq to clean it up. For example, you can get just the word names and start times like this:

    pocketsphinx align audio.wav $text | jq '.w[]|[.t,.b]'
    

    Or you could get the phone names and durations like this:

    pocketsphinx -phone_align yes align audio.wav $text | jq '.w[]|.w[]|[.t,.d]'
    

    There are many, many other possibilities, of course.

  • soxflags: Return arguments to sox which will create the appropriate input format. Note that because the sox command-line is slightly quirky these must always come after the filename or -d (which tells sox to read from the microphone). You can run live recognition like this:

    sox -d $(pocketsphinx soxflags) | pocketsphinx -
    

    or decode from a file named "audio.mp3" like this:

    sox audio.mp3 $(pocketsphinx soxflags) | pocketsphinx -
    

By default only errors are printed to standard error, but if you want more information you can pass -loglevel INFO. Partial results are not printed, maybe they will be in the future, but don't hold your breath.

Programming

For programming, see the examples directory for a number of examples of using the library from C and Python. You can also read the documentation for the Python API or the C API

Authors

PocketSphinx is ultimately based on Sphinx-II which in turn was based on some older systems at Carnegie Mellon University, which were released as free software under a BSD-like license thanks to the efforts of Kevin Lenzo. Much of the decoder in particular was written by Ravishankar Mosur (look for "rkm" in the comments), but various other people contributed as well, see the AUTHORS file for more details.

David Huggins-Daines (the author of this document) is responsible for creating PocketSphinx which added various speed and memory optimizations, fixed-point computation, JSGF support, portability to various platforms, and a somewhat coherent API. He then disappeared for a while.

Nickolay Shmyrev took over maintenance for quite a long time afterwards, and a lot of code was contributed by Alexander Solovets, Vyacheslav Klimkov, and others.

Currently this is maintained by David Huggins-Daines again.

pocketsphinx's People

Contributors

alexanderkoller avatar chussong avatar coeur avatar crozzers avatar cshung avatar dependabot[bot] avatar dhdaines avatar elastino avatar figbug avatar flyn-org avatar guidovranken avatar helmutg avatar jsalsman avatar jschueller avatar lenzo-ka avatar mattlarose avatar mbait avatar nshmyrev avatar nxdefiant avatar samford avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pocketsphinx's Issues

Python functions need to type check their arguments

I added these 2 tiny little lines to a python script:

config.set_string('-agc', 'max')
config.set_string('-fillprob', '50')

Script was mostly working before but now it fails with:

Python(90397,0x7fff7d3af300) malloc: *** error for object 0x3e45798ee2308c3a: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

Here is the full code listing:

#!/usr/local/bin/python

from pocketsphinx import *
import pyaudio

from os import environ, path
from itertools import izip
import sys

MODELDIR = "/usr/local//share/pocketsphinx/model/"

def print10best(decoder):
    # Access N best decodings.
    print 'Best 10 hypothesis: '
    for best, i in izip(decoder.nbest(), range(10)):
        print best.hyp().best_score, best.hyp().hypstr

# Create a decoder with certain model
config = Decoder.default_config()
config.set_string('-hmm', path.join(MODELDIR, 'en-us/en-us'))
config.set_string('-lm', path.join(MODELDIR, 'en-us/en-us.lm.dmp'))
config.set_string('-dict', path.join(MODELDIR, 'en-us/cmudict-en-us.dict'))
config.set_string('-jsgf', './my.jsgf')
config.set_string('-dictcase', 'yes')
config.set_string('-agc', 'max')
config.set_string('-fillprob', '50')

decoder = Decoder(config)



p = pyaudio.PyAudio()

stream = p.open(format=pyaudio.paInt16, channels=1, rate=16000, input=True, frames_per_buffer=2048)
stream.start_stream()
in_speech_bf = True
decoder.start_utt()
while True:
    buf = stream.read(2048)
    if buf:
        decoder.process_raw(buf, False, False)
        try:
            if  decoder.hyp().hypstr != '':
                print 'Partial decoding result:', decoder.hyp().hypstr
                # print10best(decoder)
        except AttributeError:
            pass
        if decoder.get_in_speech():
            sys.stdout.write('.')
            sys.stdout.flush()
        if decoder.get_in_speech() != in_speech_bf:
            in_speech_bf = decoder.get_in_speech()
            if not in_speech_bf:
                decoder.end_utt()
                try:
                    if  decoder.hyp().hypstr != '':
                        print 'Stream decoding result:', decoder.hyp().hypstr
                except AttributeError:
                    pass
                decoder.start_utt()
    else:
        break
decoder.end_utt()
print 'An Error occured:', decoder.hyp().hypstr

ps_seg_frames() returned frame numbers are not precise

Using pocketsphinx 5prealpha (2016-02-23) downloaded/built from here: http://downloads.sourceforge.net/cmusphinx/pocketsphinx-5prealpha.tar.gz

When doing speech recognition on longer audio streams the frame numbers returned by ps_seg_frames() are incorrect by ~0.2%.
At the beginning of stream they are ok, but as stream goes onward the error is bigger, so somewhere at 6minutes into the stream the frame numbers are around 1sec too early.

Below is the code snippet... millisecondStartTime becomes more and more incorrect further into the stream.

    m_psFrameRate = cmd_ln_int32_r(m_psConfig, "-frate");
    int wordIn, wordOut;
    ps_seg_frames(iter, &wordIn, &wordOut);
    double millisecondStartTime = double(wordIn) * 1000. / double(m_psFrameRate);

Here is the full source code: https://github.com/maxrd2/subtitlecomposer/blob/master/src/speechplugins/pocketsphinx/pocketsphinxplugin.cpp#L104

pocketsphinx timestamp error

I'm trying to get a timestamp of each word using ps_seg_frames. However, the timestamps are not lining up correctly to the words. I believe it has something to do with the silences not being timed accurately. When I compare the start and end times of each word, it is the correct length of time, however the silences are being recorded as much shorter than they actually are.

Does anyone know a good way to fix this? Is there a way to record also how long a silence is? Or maybe should I restart the utterance after each word? If so how do you do this?

I'm a beginner to sphinx and would appreciate any help. Thanks!

undefined reference to `cmd_ln_print_values_r'

../../src/libpocketsphinx/.libs/libpocketsphinx.so: undefined reference to `cmd_ln_print_values_r'

Occurs after make clean all run as per the instructions on the repo here, with swig and sphinxbase (v5 prealpha) installed via sourceforge. Full log below, from Linux Mint 17 Qiana (based on Ubuntu 14.04)

~/pocketsphinx $ make clean all
Making clean in src
make[1]: Entering directory `/home/louis/pocketsphinx/src'
Making clean in libpocketsphinx
make[2]: Entering directory `/home/louis/pocketsphinx/src/libpocketsphinx'
test -z "libpocketsphinx.la" || rm -f libpocketsphinx.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/home/louis/pocketsphinx/src/libpocketsphinx'
Making clean in programs
make[2]: Entering directory `/home/louis/pocketsphinx/src/programs'
 rm -f pocketsphinx_batch pocketsphinx_continuous pocketsphinx_mdef_convert
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/home/louis/pocketsphinx/src/programs'
Making clean in gst-plugin
make[2]: Entering directory `/home/louis/pocketsphinx/src/gst-plugin'
rm -rf .libs _libs
test -z "" || rm -f 
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/home/louis/pocketsphinx/src/gst-plugin'
make[2]: Entering directory `/home/louis/pocketsphinx/src'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory `/home/louis/pocketsphinx/src'
make[1]: Leaving directory `/home/louis/pocketsphinx/src'
Making clean in doc
make[1]: Entering directory `/home/louis/pocketsphinx/doc'
rm -rf .libs _libs
rm -rf html xml latex doxytags pydoc.i
rm -f *.lo
make[1]: Leaving directory `/home/louis/pocketsphinx/doc'
Making clean in model
make[1]: Entering directory `/home/louis/pocketsphinx/model'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/home/louis/pocketsphinx/model'
Making clean in include
make[1]: Entering directory `/home/louis/pocketsphinx/include'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/home/louis/pocketsphinx/include'
Making clean in test
make[1]: Entering directory `/home/louis/pocketsphinx/test'
Making clean in unit
make[2]: Entering directory `/home/louis/pocketsphinx/test/unit'
 rm -f test_ps_init test_ps_reinit test_ps_fwdtree test_ps_fwdtree_fwdflat test_ps_fwdflat test_ps_fwdflat_bestpath test_ps_fwdtree_bestpath test_ps_simple test_ps_nbest test_ps_lattice test_ps_set_search test_acmod test_acmod_grow test_fwdtree test_fwdflat test_fwdtree_fwdflat test_fwdtree_bestpath test_fwdtree_nbest test_pl_fwdtree test_ptm_mgau test_posterior test_fsg test_fsg2 test_fsg3 test_jsgf test_lm_read test_dict test_dict2pid test_senfh test_alignment test_state_align test_mllr
test -z "*.log *.out *.lat *.mfc *.raw *.dic *.sen" || rm -f *.log *.out *.lat *.mfc *.raw *.dic *.sen
rm -rf .libs _libs
rm -f *.o
test -z "test_ps_init.log test_ps_reinit.log test_ps_fwdtree.log test_ps_fwdtree_fwdflat.log test_ps_fwdflat.log test_ps_fwdflat_bestpath.log test_ps_fwdtree_bestpath.log test_ps_simple.log test_ps_nbest.log test_ps_lattice.log test_ps_set_search.log test_acmod.log test_acmod_grow.log test_fwdtree.log test_fwdflat.log test_fwdtree_fwdflat.log test_fwdtree_bestpath.log test_fwdtree_nbest.log test_pl_fwdtree.log test_ptm_mgau.log test_posterior.log test_fsg.log test_fsg2.log test_fsg3.log test_jsgf.log test_lm_read.log test_dict.log test_dict2pid.log test_senfh.log test_alignment.log test_state_align.log test_mllr.log" || rm -f test_ps_init.log test_ps_reinit.log test_ps_fwdtree.log test_ps_fwdtree_fwdflat.log test_ps_fwdflat.log test_ps_fwdflat_bestpath.log test_ps_fwdtree_bestpath.log test_ps_simple.log test_ps_nbest.log test_ps_lattice.log test_ps_set_search.log test_acmod.log test_acmod_grow.log test_fwdtree.log test_fwdflat.log test_fwdtree_fwdflat.log test_fwdtree_bestpath.log test_fwdtree_nbest.log test_pl_fwdtree.log test_ptm_mgau.log test_posterior.log test_fsg.log test_fsg2.log test_fsg3.log test_jsgf.log test_lm_read.log test_dict.log test_dict2pid.log test_senfh.log test_alignment.log test_state_align.log test_mllr.log
test -z "test_ps_init.trs test_ps_reinit.trs test_ps_fwdtree.trs test_ps_fwdtree_fwdflat.trs test_ps_fwdflat.trs test_ps_fwdflat_bestpath.trs test_ps_fwdtree_bestpath.trs test_ps_simple.trs test_ps_nbest.trs test_ps_lattice.trs test_ps_set_search.trs test_acmod.trs test_acmod_grow.trs test_fwdtree.trs test_fwdflat.trs test_fwdtree_fwdflat.trs test_fwdtree_bestpath.trs test_fwdtree_nbest.trs test_pl_fwdtree.trs test_ptm_mgau.trs test_posterior.trs test_fsg.trs test_fsg2.trs test_fsg3.trs test_jsgf.trs test_lm_read.trs test_dict.trs test_dict2pid.trs test_senfh.trs test_alignment.trs test_state_align.trs test_mllr.trs" || rm -f test_ps_init.trs test_ps_reinit.trs test_ps_fwdtree.trs test_ps_fwdtree_fwdflat.trs test_ps_fwdflat.trs test_ps_fwdflat_bestpath.trs test_ps_fwdtree_bestpath.trs test_ps_simple.trs test_ps_nbest.trs test_ps_lattice.trs test_ps_set_search.trs test_acmod.trs test_acmod_grow.trs test_fwdtree.trs test_fwdflat.trs test_fwdtree_fwdflat.trs test_fwdtree_bestpath.trs test_fwdtree_nbest.trs test_pl_fwdtree.trs test_ptm_mgau.trs test_posterior.trs test_fsg.trs test_fsg2.trs test_fsg3.trs test_jsgf.trs test_lm_read.trs test_dict.trs test_dict2pid.trs test_senfh.trs test_alignment.trs test_state_align.trs test_mllr.trs
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
make[2]: Leaving directory `/home/louis/pocketsphinx/test/unit'
Making clean in regression
make[2]: Entering directory `/home/louis/pocketsphinx/test/regression'
test -z "*.match *.log" || rm -f *.match *.log
rm -rf .libs _libs
test -z "test-hub4-cards.sh.log test-tidigits-fsg.sh.log test-tidigits-simple.sh.log" || rm -f test-hub4-cards.sh.log test-tidigits-fsg.sh.log test-tidigits-simple.sh.log
test -z "test-hub4-cards.sh.trs test-tidigits-fsg.sh.trs test-tidigits-simple.sh.trs" || rm -f test-hub4-cards.sh.trs test-tidigits-fsg.sh.trs test-tidigits-simple.sh.trs
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
make[2]: Leaving directory `/home/louis/pocketsphinx/test/regression'
make[2]: Entering directory `/home/louis/pocketsphinx/test'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory `/home/louis/pocketsphinx/test'
make[1]: Leaving directory `/home/louis/pocketsphinx/test'
Making clean in swig
make[1]: Entering directory `/home/louis/pocketsphinx/swig'
Making clean in python
make[2]: Entering directory `/home/louis/pocketsphinx/swig/python'
Making clean in test
make[3]: Entering directory `/home/louis/pocketsphinx/swig/python/test'
rm -rf .libs _libs
rm -f *.lo
make[3]: Leaving directory `/home/louis/pocketsphinx/swig/python/test'
make[3]: Entering directory `/home/louis/pocketsphinx/swig/python'
test -z "pocketsphinx_wrap.c pocketsphinx.py pocketsphinx.pyc" || rm -f pocketsphinx_wrap.c pocketsphinx.py pocketsphinx.pyc
rm -rf .libs _libs
test -z "_pocketsphinx.la" || rm -f _pocketsphinx.la
rm -f ./so_locations
rm -f *.o
rm -f *.lo
make[3]: Leaving directory `/home/louis/pocketsphinx/swig/python'
make[2]: Leaving directory `/home/louis/pocketsphinx/swig/python'
make[2]: Entering directory `/home/louis/pocketsphinx/swig'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory `/home/louis/pocketsphinx/swig'
make[1]: Leaving directory `/home/louis/pocketsphinx/swig'
make[1]: Entering directory `/home/louis/pocketsphinx'
test -z "pocketsphinx.pc" || rm -f pocketsphinx.pc
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/home/louis/pocketsphinx'
Making all in src
make[1]: Entering directory `/home/louis/pocketsphinx/src'
Making all in libpocketsphinx
make[2]: Entering directory `/home/louis/pocketsphinx/src/libpocketsphinx'
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT acmod.lo -MD -MP -MF .deps/acmod.Tpo -c -o acmod.lo acmod.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT acmod.lo -MD -MP -MF .deps/acmod.Tpo -c acmod.c  -fPIC -DPIC -o .libs/acmod.o
acmod.c: In function 'acmod_init':
acmod.c:233:17: warning: unused variable 'featparams' [-Wunused-variable]
     char const *featparams;
                 ^
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT acmod.lo -MD -MP -MF .deps/acmod.Tpo -c acmod.c -o acmod.o >/dev/null 2>&1
mv -f .deps/acmod.Tpo .deps/acmod.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT bin_mdef.lo -MD -MP -MF .deps/bin_mdef.Tpo -c -o bin_mdef.lo bin_mdef.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT bin_mdef.lo -MD -MP -MF .deps/bin_mdef.Tpo -c bin_mdef.c  -fPIC -DPIC -o .libs/bin_mdef.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT bin_mdef.lo -MD -MP -MF .deps/bin_mdef.Tpo -c bin_mdef.c -o bin_mdef.o >/dev/null 2>&1
mv -f .deps/bin_mdef.Tpo .deps/bin_mdef.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT blkarray_list.lo -MD -MP -MF .deps/blkarray_list.Tpo -c -o blkarray_list.lo blkarray_list.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT blkarray_list.lo -MD -MP -MF .deps/blkarray_list.Tpo -c blkarray_list.c  -fPIC -DPIC -o .libs/blkarray_list.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT blkarray_list.lo -MD -MP -MF .deps/blkarray_list.Tpo -c blkarray_list.c -o blkarray_list.o >/dev/null 2>&1
mv -f .deps/blkarray_list.Tpo .deps/blkarray_list.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT dict.lo -MD -MP -MF .deps/dict.Tpo -c -o dict.lo dict.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT dict.lo -MD -MP -MF .deps/dict.Tpo -c dict.c  -fPIC -DPIC -o .libs/dict.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT dict.lo -MD -MP -MF .deps/dict.Tpo -c dict.c -o dict.o >/dev/null 2>&1
mv -f .deps/dict.Tpo .deps/dict.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT dict2pid.lo -MD -MP -MF .deps/dict2pid.Tpo -c -o dict2pid.lo dict2pid.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT dict2pid.lo -MD -MP -MF .deps/dict2pid.Tpo -c dict2pid.c  -fPIC -DPIC -o .libs/dict2pid.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT dict2pid.lo -MD -MP -MF .deps/dict2pid.Tpo -c dict2pid.c -o dict2pid.o >/dev/null 2>&1
mv -f .deps/dict2pid.Tpo .deps/dict2pid.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT fsg_history.lo -MD -MP -MF .deps/fsg_history.Tpo -c -o fsg_history.lo fsg_history.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT fsg_history.lo -MD -MP -MF .deps/fsg_history.Tpo -c fsg_history.c  -fPIC -DPIC -o .libs/fsg_history.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT fsg_history.lo -MD -MP -MF .deps/fsg_history.Tpo -c fsg_history.c -o fsg_history.o >/dev/null 2>&1
mv -f .deps/fsg_history.Tpo .deps/fsg_history.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT fsg_lextree.lo -MD -MP -MF .deps/fsg_lextree.Tpo -c -o fsg_lextree.lo fsg_lextree.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT fsg_lextree.lo -MD -MP -MF .deps/fsg_lextree.Tpo -c fsg_lextree.c  -fPIC -DPIC -o .libs/fsg_lextree.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT fsg_lextree.lo -MD -MP -MF .deps/fsg_lextree.Tpo -c fsg_lextree.c -o fsg_lextree.o >/dev/null 2>&1
mv -f .deps/fsg_lextree.Tpo .deps/fsg_lextree.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT fsg_search.lo -MD -MP -MF .deps/fsg_search.Tpo -c -o fsg_search.lo fsg_search.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT fsg_search.lo -MD -MP -MF .deps/fsg_search.Tpo -c fsg_search.c  -fPIC -DPIC -o .libs/fsg_search.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT fsg_search.lo -MD -MP -MF .deps/fsg_search.Tpo -c fsg_search.c -o fsg_search.o >/dev/null 2>&1
mv -f .deps/fsg_search.Tpo .deps/fsg_search.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT allphone_search.lo -MD -MP -MF .deps/allphone_search.Tpo -c -o allphone_search.lo allphone_search.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT allphone_search.lo -MD -MP -MF .deps/allphone_search.Tpo -c allphone_search.c  -fPIC -DPIC -o .libs/allphone_search.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT allphone_search.lo -MD -MP -MF .deps/allphone_search.Tpo -c allphone_search.c -o allphone_search.o >/dev/null 2>&1
mv -f .deps/allphone_search.Tpo .deps/allphone_search.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT kws_search.lo -MD -MP -MF .deps/kws_search.Tpo -c -o kws_search.lo kws_search.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT kws_search.lo -MD -MP -MF .deps/kws_search.Tpo -c kws_search.c  -fPIC -DPIC -o .libs/kws_search.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT kws_search.lo -MD -MP -MF .deps/kws_search.Tpo -c kws_search.c -o kws_search.o >/dev/null 2>&1
mv -f .deps/kws_search.Tpo .deps/kws_search.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT kws_detections.lo -MD -MP -MF .deps/kws_detections.Tpo -c -o kws_detections.lo kws_detections.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT kws_detections.lo -MD -MP -MF .deps/kws_detections.Tpo -c kws_detections.c  -fPIC -DPIC -o .libs/kws_detections.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT kws_detections.lo -MD -MP -MF .deps/kws_detections.Tpo -c kws_detections.c -o kws_detections.o >/dev/null 2>&1
mv -f .deps/kws_detections.Tpo .deps/kws_detections.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT hmm.lo -MD -MP -MF .deps/hmm.Tpo -c -o hmm.lo hmm.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT hmm.lo -MD -MP -MF .deps/hmm.Tpo -c hmm.c  -fPIC -DPIC -o .libs/hmm.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT hmm.lo -MD -MP -MF .deps/hmm.Tpo -c hmm.c -o hmm.o >/dev/null 2>&1
mv -f .deps/hmm.Tpo .deps/hmm.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT mdef.lo -MD -MP -MF .deps/mdef.Tpo -c -o mdef.lo mdef.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT mdef.lo -MD -MP -MF .deps/mdef.Tpo -c mdef.c  -fPIC -DPIC -o .libs/mdef.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT mdef.lo -MD -MP -MF .deps/mdef.Tpo -c mdef.c -o mdef.o >/dev/null 2>&1
mv -f .deps/mdef.Tpo .deps/mdef.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ms_gauden.lo -MD -MP -MF .deps/ms_gauden.Tpo -c -o ms_gauden.lo ms_gauden.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ms_gauden.lo -MD -MP -MF .deps/ms_gauden.Tpo -c ms_gauden.c  -fPIC -DPIC -o .libs/ms_gauden.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ms_gauden.lo -MD -MP -MF .deps/ms_gauden.Tpo -c ms_gauden.c -o ms_gauden.o >/dev/null 2>&1
mv -f .deps/ms_gauden.Tpo .deps/ms_gauden.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ms_mgau.lo -MD -MP -MF .deps/ms_mgau.Tpo -c -o ms_mgau.lo ms_mgau.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ms_mgau.lo -MD -MP -MF .deps/ms_mgau.Tpo -c ms_mgau.c  -fPIC -DPIC -o .libs/ms_mgau.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ms_mgau.lo -MD -MP -MF .deps/ms_mgau.Tpo -c ms_mgau.c -o ms_mgau.o >/dev/null 2>&1
mv -f .deps/ms_mgau.Tpo .deps/ms_mgau.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ms_senone.lo -MD -MP -MF .deps/ms_senone.Tpo -c -o ms_senone.lo ms_senone.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ms_senone.lo -MD -MP -MF .deps/ms_senone.Tpo -c ms_senone.c  -fPIC -DPIC -o .libs/ms_senone.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ms_senone.lo -MD -MP -MF .deps/ms_senone.Tpo -c ms_senone.c -o ms_senone.o >/dev/null 2>&1
mv -f .deps/ms_senone.Tpo .deps/ms_senone.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ngram_search.lo -MD -MP -MF .deps/ngram_search.Tpo -c -o ngram_search.lo ngram_search.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ngram_search.lo -MD -MP -MF .deps/ngram_search.Tpo -c ngram_search.c  -fPIC -DPIC -o .libs/ngram_search.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ngram_search.lo -MD -MP -MF .deps/ngram_search.Tpo -c ngram_search.c -o ngram_search.o >/dev/null 2>&1
mv -f .deps/ngram_search.Tpo .deps/ngram_search.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ngram_search_fwdtree.lo -MD -MP -MF .deps/ngram_search_fwdtree.Tpo -c -o ngram_search_fwdtree.lo ngram_search_fwdtree.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ngram_search_fwdtree.lo -MD -MP -MF .deps/ngram_search_fwdtree.Tpo -c ngram_search_fwdtree.c  -fPIC -DPIC -o .libs/ngram_search_fwdtree.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ngram_search_fwdtree.lo -MD -MP -MF .deps/ngram_search_fwdtree.Tpo -c ngram_search_fwdtree.c -o ngram_search_fwdtree.o >/dev/null 2>&1
mv -f .deps/ngram_search_fwdtree.Tpo .deps/ngram_search_fwdtree.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ngram_search_fwdflat.lo -MD -MP -MF .deps/ngram_search_fwdflat.Tpo -c -o ngram_search_fwdflat.lo ngram_search_fwdflat.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ngram_search_fwdflat.lo -MD -MP -MF .deps/ngram_search_fwdflat.Tpo -c ngram_search_fwdflat.c  -fPIC -DPIC -o .libs/ngram_search_fwdflat.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ngram_search_fwdflat.lo -MD -MP -MF .deps/ngram_search_fwdflat.Tpo -c ngram_search_fwdflat.c -o ngram_search_fwdflat.o >/dev/null 2>&1
mv -f .deps/ngram_search_fwdflat.Tpo .deps/ngram_search_fwdflat.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT phone_loop_search.lo -MD -MP -MF .deps/phone_loop_search.Tpo -c -o phone_loop_search.lo phone_loop_search.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT phone_loop_search.lo -MD -MP -MF .deps/phone_loop_search.Tpo -c phone_loop_search.c  -fPIC -DPIC -o .libs/phone_loop_search.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT phone_loop_search.lo -MD -MP -MF .deps/phone_loop_search.Tpo -c phone_loop_search.c -o phone_loop_search.o >/dev/null 2>&1
mv -f .deps/phone_loop_search.Tpo .deps/phone_loop_search.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ps_alignment.lo -MD -MP -MF .deps/ps_alignment.Tpo -c -o ps_alignment.lo ps_alignment.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ps_alignment.lo -MD -MP -MF .deps/ps_alignment.Tpo -c ps_alignment.c  -fPIC -DPIC -o .libs/ps_alignment.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ps_alignment.lo -MD -MP -MF .deps/ps_alignment.Tpo -c ps_alignment.c -o ps_alignment.o >/dev/null 2>&1
mv -f .deps/ps_alignment.Tpo .deps/ps_alignment.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ps_lattice.lo -MD -MP -MF .deps/ps_lattice.Tpo -c -o ps_lattice.lo ps_lattice.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ps_lattice.lo -MD -MP -MF .deps/ps_lattice.Tpo -c ps_lattice.c  -fPIC -DPIC -o .libs/ps_lattice.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ps_lattice.lo -MD -MP -MF .deps/ps_lattice.Tpo -c ps_lattice.c -o ps_lattice.o >/dev/null 2>&1
mv -f .deps/ps_lattice.Tpo .deps/ps_lattice.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ps_mllr.lo -MD -MP -MF .deps/ps_mllr.Tpo -c -o ps_mllr.lo ps_mllr.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ps_mllr.lo -MD -MP -MF .deps/ps_mllr.Tpo -c ps_mllr.c  -fPIC -DPIC -o .libs/ps_mllr.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ps_mllr.lo -MD -MP -MF .deps/ps_mllr.Tpo -c ps_mllr.c -o ps_mllr.o >/dev/null 2>&1
mv -f .deps/ps_mllr.Tpo .deps/ps_mllr.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ptm_mgau.lo -MD -MP -MF .deps/ptm_mgau.Tpo -c -o ptm_mgau.lo ptm_mgau.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ptm_mgau.lo -MD -MP -MF .deps/ptm_mgau.Tpo -c ptm_mgau.c  -fPIC -DPIC -o .libs/ptm_mgau.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT ptm_mgau.lo -MD -MP -MF .deps/ptm_mgau.Tpo -c ptm_mgau.c -o ptm_mgau.o >/dev/null 2>&1
mv -f .deps/ptm_mgau.Tpo .deps/ptm_mgau.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT s2_semi_mgau.lo -MD -MP -MF .deps/s2_semi_mgau.Tpo -c -o s2_semi_mgau.lo s2_semi_mgau.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT s2_semi_mgau.lo -MD -MP -MF .deps/s2_semi_mgau.Tpo -c s2_semi_mgau.c  -fPIC -DPIC -o .libs/s2_semi_mgau.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT s2_semi_mgau.lo -MD -MP -MF .deps/s2_semi_mgau.Tpo -c s2_semi_mgau.c -o s2_semi_mgau.o >/dev/null 2>&1
mv -f .deps/s2_semi_mgau.Tpo .deps/s2_semi_mgau.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT state_align_search.lo -MD -MP -MF .deps/state_align_search.Tpo -c -o state_align_search.lo state_align_search.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT state_align_search.lo -MD -MP -MF .deps/state_align_search.Tpo -c state_align_search.c  -fPIC -DPIC -o .libs/state_align_search.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT state_align_search.lo -MD -MP -MF .deps/state_align_search.Tpo -c state_align_search.c -o state_align_search.o >/dev/null 2>&1
mv -f .deps/state_align_search.Tpo .deps/state_align_search.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT tmat.lo -MD -MP -MF .deps/tmat.Tpo -c -o tmat.lo tmat.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT tmat.lo -MD -MP -MF .deps/tmat.Tpo -c tmat.c  -fPIC -DPIC -o .libs/tmat.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT tmat.lo -MD -MP -MF .deps/tmat.Tpo -c tmat.c -o tmat.o >/dev/null 2>&1
mv -f .deps/tmat.Tpo .deps/tmat.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT vector.lo -MD -MP -MF .deps/vector.Tpo -c -o vector.lo vector.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT vector.lo -MD -MP -MF .deps/vector.Tpo -c vector.c  -fPIC -DPIC -o .libs/vector.o
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT vector.lo -MD -MP -MF .deps/vector.Tpo -c vector.c -o vector.o >/dev/null 2>&1
mv -f .deps/vector.Tpo .deps/vector.Plo
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT pocketsphinx.lo -MD -MP -MF .deps/pocketsphinx.Tpo -c -o pocketsphinx.lo pocketsphinx.c
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT pocketsphinx.lo -MD -MP -MF .deps/pocketsphinx.Tpo -c pocketsphinx.c  -fPIC -DPIC -o .libs/pocketsphinx.o
pocketsphinx.c: In function 'ps_expand_model_config':
pocketsphinx.c:149:5: warning: implicit declaration of function 'cmd_ln_print_values_r' [-Wimplicit-function-declaration]
     cmd_ln_print_values_r(ps->config, err_get_logfp(), ps_args());
     ^
libtool: compile:  gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -MT pocketsphinx.lo -MD -MP -MF .deps/pocketsphinx.Tpo -c pocketsphinx.c -o pocketsphinx.o >/dev/null 2>&1
mv -f .deps/pocketsphinx.Tpo .deps/pocketsphinx.Plo
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g -O2 -Wall -version-info 3:0:0 -lm -L/home/louis/pocketsphinx/../sphinxbase/lib -L/home/louis/pocketsphinx/../sphinxbase/src/libsphinxad -L/home/louis/pocketsphinx/../sphinxbase/src/libsphinxbase -o libpocketsphinx.la -rpath /usr/local/lib acmod.lo bin_mdef.lo blkarray_list.lo dict.lo dict2pid.lo fsg_history.lo fsg_lextree.lo fsg_search.lo allphone_search.lo kws_search.lo kws_detections.lo hmm.lo mdef.lo ms_gauden.lo ms_mgau.lo ms_senone.lo ngram_search.lo ngram_search_fwdtree.lo ngram_search_fwdflat.lo phone_loop_search.lo ps_alignment.lo ps_lattice.lo ps_mllr.lo ptm_mgau.lo s2_semi_mgau.lo state_align_search.lo tmat.lo vector.lo pocketsphinx.lo  -lsphinxbase
libtool: link: gcc -shared  -fPIC -DPIC  .libs/acmod.o .libs/bin_mdef.o .libs/blkarray_list.o .libs/dict.o .libs/dict2pid.o .libs/fsg_history.o .libs/fsg_lextree.o .libs/fsg_search.o .libs/allphone_search.o .libs/kws_search.o .libs/kws_detections.o .libs/hmm.o .libs/mdef.o .libs/ms_gauden.o .libs/ms_mgau.o .libs/ms_senone.o .libs/ngram_search.o .libs/ngram_search_fwdtree.o .libs/ngram_search_fwdflat.o .libs/phone_loop_search.o .libs/ps_alignment.o .libs/ps_lattice.o .libs/ps_mllr.o .libs/ptm_mgau.o .libs/s2_semi_mgau.o .libs/state_align_search.o .libs/tmat.o .libs/vector.o .libs/pocketsphinx.o   -Wl,-rpath -Wl,/home/louis/pocketsphinx/../sphinxbase/src/libsphinxbase/.libs -lm -L/home/louis/pocketsphinx/../sphinxbase/lib -L/home/louis/pocketsphinx/../sphinxbase/src/libsphinxad -L/home/louis/pocketsphinx/../sphinxbase/src/libsphinxbase /home/louis/pocketsphinx/../sphinxbase/src/libsphinxbase/.libs/libsphinxbase.so  -O2   -Wl,-soname -Wl,libpocketsphinx.so.3 -o .libs/libpocketsphinx.so.3.0.0
libtool: link: (cd ".libs" && rm -f "libpocketsphinx.so.3" && ln -s "libpocketsphinx.so.3.0.0" "libpocketsphinx.so.3")
libtool: link: (cd ".libs" && rm -f "libpocketsphinx.so" && ln -s "libpocketsphinx.so.3.0.0" "libpocketsphinx.so")
libtool: link: ar cru .libs/libpocketsphinx.a  acmod.o bin_mdef.o blkarray_list.o dict.o dict2pid.o fsg_history.o fsg_lextree.o fsg_search.o allphone_search.o kws_search.o kws_detections.o hmm.o mdef.o ms_gauden.o ms_mgau.o ms_senone.o ngram_search.o ngram_search_fwdtree.o ngram_search_fwdflat.o phone_loop_search.o ps_alignment.o ps_lattice.o ps_mllr.o ptm_mgau.o s2_semi_mgau.o state_align_search.o tmat.o vector.o pocketsphinx.o
libtool: link: ranlib .libs/libpocketsphinx.a
libtool: link: ( cd ".libs" && rm -f "libpocketsphinx.la" && ln -s "../libpocketsphinx.la" "libpocketsphinx.la" )
make[2]: Leaving directory `/home/louis/pocketsphinx/src/libpocketsphinx'
Making all in programs
make[2]: Entering directory `/home/louis/pocketsphinx/src/programs'
gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/home/louis/pocketsphinx/../sphinxbase/include -I/home/louis/pocketsphinx/../sphinxbase/include/sphinxbase -I../../include -I../../src/libpocketsphinx -I../../include -g -O2 -Wall -MT batch.o -MD -MP -MF .deps/batch.Tpo -c -o batch.o batch.c
mv -f .deps/batch.Tpo .deps/batch.Po
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -I../../include -I../../src/libpocketsphinx -I../../include -g -O2 -Wall  -L/home/louis/pocketsphinx/../sphinxbase/lib -L/home/louis/pocketsphinx/../sphinxbase/src/libsphinxad -L/home/louis/pocketsphinx/../sphinxbase/src/libsphinxbase -o pocketsphinx_batch batch.o ../../src/libpocketsphinx/libpocketsphinx.la -lsphinxbase
libtool: link: gcc -I../../include -I../../src/libpocketsphinx -I../../include -g -O2 -Wall -o .libs/pocketsphinx_batch batch.o  -L/home/louis/pocketsphinx/../sphinxbase/lib -L/home/louis/pocketsphinx/../sphinxbase/src/libsphinxad -L/home/louis/pocketsphinx/../sphinxbase/src/libsphinxbase ../../src/libpocketsphinx/.libs/libpocketsphinx.so /home/louis/pocketsphinx/../sphinxbase/src/libsphinxbase/.libs/libsphinxbase.so
../../src/libpocketsphinx/.libs/libpocketsphinx.so: undefined reference to `cmd_ln_print_values_r'
collect2: error: ld returned 1 exit status
make[2]: *** [pocketsphinx_batch] Error 1
make[2]: Leaving directory `/home/louis/pocketsphinx/src/programs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/louis/pocketsphinx/src'
make: *** [all-recursive] Error 1

Example in lm_test.py failing

https://github.com/cmusphinx/pocketsphinx/blob/master/swig/python/test/lm_test.py

When attempting to run the lm.prob() method from the above test script, I'm seeing:

lm.prob(['you'])

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "sphinxbase/sphinxbase.py", line 326, in prob
    return _sphinxbase.NGramModel_prob(self, *args)
TypeError: NGramModel_prob() takes exactly 3 arguments (2 given)

I built the decoder and then created the lm with:

lm = NGramModel(config, decoder.get_logmath(), '/path/to/lm.lm')

FATAL: "cmn.c", line 126: Unknown CMN type 'batch'

I've followed the install directions, have successfully built and installed latest versions of sphinxbase from sourceforge and pocketsphinx from this repo, and made sure my audio file is 16khz 16bit mono file by resampling it with sox -- but when I attempt to run:

pocketsphinx_continuous -infile resampled_audio.wav

I get the following output, which ends in a FATAL error FATAL: "cmn.c", line 126: Unknown CMN type 'batch' (see below)

Please help! Thanks

INFO: pocketsphinx.c(152): Parsed model-specific feature parameters from /usr/local/share/pocketsphinx/model/en-us/en-us/feat.params
Current configuration:
[NAME] [DEFLT] [VALUE]
-agc none none
-agcthresh 2.0 2.000000e+00
-allphone
-allphone_ci no no
-alpha 0.97 9.700000e-01
-ascale 20.0 2.000000e+01
-aw 1 1
-backtrace no no
-beam 1e-48 1.000000e-48
-bestpath yes yes
-bestpathlw 9.5 9.500000e+00
-ceplen 13 13
-cmn current batch
-cmninit 8.0 41.00,-5.29,-0.12,5.09,2.48,-4.07,-1.37,-1.78,-5.08,-2.05,-6.45,-1.42,1.17
-compallsen no no
-debug 0
-dict /usr/local/share/pocketsphinx/model/en-us/cmudict-en-us.dict
-dictcase no no
-dither no no
-doublebw no no
-ds 1 1
-fdict
-feat 1s_c_d_dd 1s_c_d_dd
-featparams
-fillprob 1e-8 1.000000e-08
-frate 100 100
-fsg
-fsgusealtpron yes yes
-fsgusefiller yes yes
-fwdflat yes yes
-fwdflatbeam 1e-64 1.000000e-64
-fwdflatefwid 4 4
-fwdflatlw 8.5 8.500000e+00
-fwdflatsfwin 25 25
-fwdflatwbeam 7e-29 7.000000e-29
-fwdtree yes yes
-hmm /usr/local/share/pocketsphinx/model/en-us/en-us
-input_endian little little
-jsgf
-keyphrase
-kws
-kws_delay 10 10
-kws_plp 1e-1 1.000000e-01
-kws_threshold 1 1.000000e+00
-latsize 5000 5000
-lda
-ldadim 0 0
-lifter 0 22
-lm /usr/local/share/pocketsphinx/model/en-us/en-us.lm.bin
-lmctl
-lmname
-logbase 1.0001 1.000100e+00
-logfn
-logspec no no
-lowerf 133.33334 1.300000e+02
-lpbeam 1e-40 1.000000e-40
-lponlybeam 7e-29 7.000000e-29
-lw 6.5 6.500000e+00
-maxhmmpf 30000 30000
-maxwpf -1 -1
-mdef
-mean
-mfclogdir
-min_endfr 0 0
-mixw
-mixwfloor 0.0000001 1.000000e-07
-mllr
-mmap yes yes
-ncep 13 13
-nfft 512 512
-nfilt 40 25
-nwpen 1.0 1.000000e+00
-pbeam 1e-48 1.000000e-48
-pip 1.0 1.000000e+00
-pl_beam 1e-10 1.000000e-10
-pl_pbeam 1e-10 1.000000e-10
-pl_pip 1.0 1.000000e+00
-pl_weight 3.0 3.000000e+00
-pl_window 5 5
-rawlogdir
-remove_dc no no
-remove_noise yes yes
-remove_silence yes yes
-round_filters yes yes
-samprate 16000 1.600000e+04
-seed -1 -1
-sendump
-senlogdir
-senmgau
-silprob 0.005 5.000000e-03
-smoothspec no no
-svspec 0-12/13-25/26-38
-tmat
-tmatfloor 0.0001 1.000000e-04
-topn 4 4
-topn_beam 0 0
-toprule
-transform legacy dct
-unit_area yes yes
-upperf 6855.4976 6.800000e+03
-uw 1.0 1.000000e+00
-vad_postspeech 50 50
-vad_prespeech 20 20
-vad_startspeech 10 10
-vad_threshold 2.0 2.000000e+00
-var
-varfloor 0.0001 1.000000e-04
-varnorm no no
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-wbeam 7e-29 7.000000e-29
-wip 0.65 6.500000e-01
-wlen 0.025625 2.562500e-02

FATAL: "cmn.c", line 126: Unknown CMN type 'batch'

gstpocketsphinx.c should post messages to the gst bus instead of emitting signals

signals are not thread safe. SO instead of posting applications messages from the app
https://github.com/cmusphinx/pocketsphinx/blob/master/src/gst-plugin/livedemo.py#L58

do it like in the gstreamers level or spectrum elements:
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/level/gstlevel.c
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/spectrum/gstspectrum.c

If that sounds acceptable to you I can send a PR.

No LICENSE

There is no LICENSE file that the README refers to.

JSGF Grammer not working as expected

I have created a simple JSGF as follows and using it with PocketSphinx-5prealpha (Python API)

#JSGF V1.0; 
grammar testGrammar;
<unit>     = (METER|CENTIMETER|MILE);
<number>  = (ONE|TWO|THREE|FOUR|FIVE|SIX|SEVEN|EIGHT|NINE|TEN|HUNDRED|THOUSAND)+;
public <phrases> = (WHAT IS YOUR NAME)  |  (<number> <unit> (EQUAL TO) [HOW MANY] <unit>) ;

Output what I am expecting (always) out of above grammer:
either
WHAT IS YOUR NAME
or phrases like
"ONE THOUSAND FIVE HUNDRED TEN METER EQUAL TO MILE"
"ONE THOUSAND FIVE HUNDRED TEN METER EQUAL TO HOW MANY MILE"
"ONE MILE EQUAL TO METER"

Which I am getting most of the time,
but sometime I also get output like:
"ONE TWO WHAT IS YOUR NAME"
"THOUSAND WHAT IS YOUR NAME"

I don't want such phrases, How to avoid this ?

If I remove '+' (one-or-many) operator from below line in grammer file:
<number> = (ONE|TWO|THREE|FOUR|FIVE|SIX|SEVEN|EIGHT|NINE|TEN|HUNDRED|THOUSAND)+;
Grammer works as expected but then I cant repeat the numbers and able to use only one number at a time.
for example
"HUNDRED MILE EQUAL TO HOW MANY METER"
and not like
"FIVE HUNDRED MILE EQUAL TO HOW MANY METER"

Gstreamer Pocketsphinx plugin not working on OSX

Running the pipeline below produces warnings and no audio gets through either to pocketsphinx now to the sink.

Pipeline:
gst-launch-0.10 osxaudiosrc ! audioconvert ! audioresample ! vader name=vad auto-threshold=true ! pocketsphinx name=asr ! fakesink

Output:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstAudioSrcClock
0:00:00.074397000 89084 0x7fe358c38690 WARN osxaudiosrc gstosxaudiosrc.c:292:gst_osx_audio_src_io_proc: AudioUnitRender returned -10863
0:00:00.085992000 89084 0x7fe358c38690 WARN osxaudiosrc gstosxaudiosrc.c:292:gst_osx_audio_src_io_proc: AudioUnitRender returned -10863
0:00:00.097520000 89084 0x7fe358c38690 WARN osxaudiosrc gstosxaudiosrc.c:292:gst_osx_audio_src_io_proc: AudioUnitRender returned -10863
.........
(Keeps on going with the same warning)

The same happens running the livedemo.py and no recognition happens.

I observed the correct behaviour on Ubuntu, however neither on Yosemite nor on Lion could I get it to work properly.
I tried Homebrew and Macports installations. This is the example how I setup using macports:

sudo port install python27

sudo port install python_select

sudo port select --set python python27

sudo port install py27-pygtk

sudo port install gstreamer010 gstreamer010-gst-plugins-bad gstreamer010-gst-plugins-good gstreamer010-gst-plugins-ugly

sudo port install py27-gst-python

Build and install sphinxbase and pocketsphinx

sudo port install swig swig-python

git clone https://github.com/cmusphinx/sphinxbase.git

git clone https://github.com/cmusphinx/pocketsphinx.git

cd sphinxbase/

./autogen.sh

./configure --prefix=/opt/local/ --disable-debug --disable-dependency-tracking

sudo make install
cd ../pocketsphinx && ./autogen.sh
./configure --prefix=/opt/local/ --disable-dependency-tracking && sudo make install

Results are different with and without ps_init

Hi Sir,
I modified the application of pocketsphinx_continous on Windows to support reading and recognize multiple WAV files one by one in a directory. There are two cases: one is to call ps_init() each time before processing each input WAV file and the other is only call ps_init() once for all these inputs. I found the results are different in these two cases. I don't understand why?
Look forward to your feedback on this.

Detect noise level?

How can I detect noise level and warn the user if the environment is likely too noisy? I noticed that certain background noise pretty much makes my speech recognition impossible, and I want to detect such conditions.

Maybe something like the getMaxAmplitude API in Android?

Pocketsphinx and Python 3.4 TypeError

Directory structure:

+---site-packages
    +---Pocketsphinx-1.0.0-py3.4.egg-info (folder)
    +---pockesphinx.dll
    +---sphinxbase.dll
    +---pockesphinx.py
    +---sphinxbase.py
    +---_pockesphinx.pyd
    +---_sphinxbase.pyd
import os
import pyaudio
from pocketsphinx import *
from sphinxbase import *

MODELDIR = "C:/en-us"

config = Decoder.default_config()
config.set_string('-hmm', os.path.join(MODELDIR, 'hmm'))
config.set_string('-dict', os.path.join(MODELDIR, 'lm/dict.dic'))
config.set_string('-lm', os.path.join(MODELDIR, 'lm/lm.dmp'))
decoder = Decoder(config)

p = pyaudio.PyAudio()

stream = p.open(format=pyaudio.paInt16, channels=1, rate=16000, input=True, frames_per_buffer=1024)
stream.start_stream()
in_speech_bf = True
decoder.start_utt('')
while True:
    buf = stream.read(1024)
    if buf:
        decoder.process_raw(buf, False, False)
        try:
            if  decoder.hyp().hypstr != '':
                print('Partial decoding result:', decoder.hyp().hypstr)
        except AttributeError:
            pass
        if decoder.get_in_speech():
            sys.stdout.write('.')
            sys.stdout.flush()
        if decoder.get_in_speech() != in_speech_bf:
            in_speech_bf = decoder.get_in_speech()
            if not in_speech_bf:
                decoder.end_utt()
                try:
                    if  decoder.hyp().hypstr != '':
                        print('Stream decoding result:', decoder.hyp().hypstr)
                except AttributeError:
                    pass
                decoder.start_utt('')
    else:
        break
decoder.end_utt()
print('An Error occured:', decoder.hyp().hypstr)

Python returns:

Traceback (most recent call last):
  File "C:\Users\Danilo\Desktop\decoder_test.py", line 21, in <module>
    decoder.process_raw(buf, False, False)
  File "C:\Python34\lib\site-packages\pocketsphinx.py", line 284, in process_raw
    return _pocketsphinx.Decoder_process_raw(self, *args)
TypeError: in method 'Decoder_process_raw', argument 2 of type 'void const *'
TypeError: in method 'Decoder_process_raw', argument 2 of type 'void const *'

Thanks in advance.

Issue with a python program

Hi,

I'm trying to do some experiments with pocketsphinx. Here is my code: http://codebin.org/view/355a60fc which is the example from https://github.com/cmusphinx/pocketsphinx-python

The issue that comes when I run this is:

Current configuration:
[NAME] [DEFLT] [VALUE]
-agc none none
-agcthresh 2.0 2.000000e+00
-allphone
-allphone_ci no no
-alpha 0.97 9.700000e-01
-ascale 20.0 2.000000e+01
-aw 1 1
-backtrace no no
-beam 1e-48 1.000000e-48
-bestpath yes yes
-bestpathlw 9.5 9.500000e+00
-ceplen 13 13
-cmn current current
-cmninit 8.0 8.0
-compallsen no no
-debug 0
-dict pocketsphinx/model/en-us/cmudict-en-us.dict
-dictcase no no
-dither no no
-doublebw no no
-ds 1 1
-fdict
-feat 1s_c_d_dd 1s_c_d_dd
-featparams
-fillprob 1e-8 1.000000e-08
-frate 100 100
-fsg
-fsgusealtpron yes yes
-fsgusefiller yes yes
-fwdflat yes yes
-fwdflatbeam 1e-64 1.000000e-64
-fwdflatefwid 4 4
-fwdflatlw 8.5 8.500000e+00
-fwdflatsfwin 25 25
-fwdflatwbeam 7e-29 7.000000e-29
-fwdtree yes yes
-hmm pocketsphinx/model/en-us/en-us
-input_endian little little
-jsgf
-keyphrase
-kws
-kws_delay 10 10
-kws_plp 1e-1 1.000000e-01
-kws_threshold 1 1.000000e+00
-latsize 5000 5000
-lda
-ldadim 0 0
-lifter 0 0
-lm pocketsphinx/model/en-us/en-us.lm.bin
-lmctl
-lmname
-logbase 1.0001 1.000100e+00
-logfn
-logspec no no
-lowerf 133.33334 1.333333e+02
-lpbeam 1e-40 1.000000e-40
-lponlybeam 7e-29 7.000000e-29
-lw 6.5 6.500000e+00
-maxhmmpf 30000 30000
-maxwpf -1 -1
-mdef
-mean
-mfclogdir
-min_endfr 0 0
-mixw
-mixwfloor 0.0000001 1.000000e-07
-mllr
-mmap yes yes
-ncep 13 13
-nfft 512 512
-nfilt 40 40
-nwpen 1.0 1.000000e+00
-pbeam 1e-48 1.000000e-48
-pip 1.0 1.000000e+00
-pl_beam 1e-10 1.000000e-10
-pl_pbeam 1e-10 1.000000e-10
-pl_pip 1.0 1.000000e+00
-pl_weight 3.0 3.000000e+00
-pl_window 5 5
-rawlogdir
-remove_dc no no
-remove_noise yes yes
-remove_silence yes yes
-round_filters yes yes
-samprate 16000 1.600000e+04
-seed -1 -1
-sendump
-senlogdir
-senmgau
-silprob 0.005 5.000000e-03
-smoothspec no no
-svspec
-tmat
-tmatfloor 0.0001 1.000000e-04
-topn 4 4
-topn_beam 0 0
-toprule
-transform legacy legacy
-unit_area yes yes
-upperf 6855.4976 6.855498e+03
-uw 1.0 1.000000e+00
-vad_postspeech 50 50
-vad_prespeech 20 20
-vad_startspeech 10 10
-vad_threshold 2.0 2.000000e+00
-var
-varfloor 0.0001 1.000000e-04
-varnorm no no
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-wbeam 7e-29 7.000000e-29
-wip 0.65 6.500000e-01
-wlen 0.025625 2.562500e-02

INFO: feat.c(715): Initializing feature stream to type: '1s_c_d_dd', ceplen=13, CMN='current', VARNORM='no', AGC='none'
INFO: cmn.c(143): mean[0]= 12.00, mean[1..12]= 0.0
ERROR: "acmod.c", line 83: Folder 'pocketsphinx/model/en-us/en-us' does not contain acoustic model definition 'mdef'
Traceback (most recent call last):
File "Test.py", line 17, in
decoder = pocketsphinx.Decoder(config)
File "/usr/local/lib/python2.7/dist-packages/pocketsphinx/pocketsphinx.py", line 266, in init
this = _pocketsphinx.new_Decoder(*args)
RuntimeError: new_Decoder returned -1

Unable to change lmname when pocketsphinx is running

I'm currently developing a python package VOXGenerator to control your desktop. I'm facing trouble because I'm using the gst plugin in python everything work well so I manage to improve recognition by using a set of small language models. Thanks to some activation function i'm trying to change the current lmname with :

sphinx.set_property('lmname', new_lm_name)

But this hasn't got any effect when the piprline is running.

Problems with gstreamer-1.0

I've tried to migrate a pipeline that use GStreamer-0.10 to GStreamer-1.0

The GstPocketsphinx is not working well. In python, property like lmname, lmctl and dict are not taking in consideration

Moreover there is a big issue when I try to connect the gstpocketsphinx object to a "result" signal.

Please can you provide me an old version (the one working with gtreamer 0.10) I will made all modification to support lmname switch

Setting a maximum listening time

Is there a way to set a timeout, where it stops and computes what was said even though voice is still happening? The TV really messes with it and all of my commands are no more than 4 words. Meaning if I could set a max timeout at like 5 continuous seconds, that would be nice.

Patch for Docs: Additional information about setup of GStreamer plugin

I've recently been getting up-to-speed on using the GStreamer plugin for PocketSphinx (5prealpha). As part of getting that to work, I referenced the following handy tutorial:

http://cmusphinx.sourceforge.net/wiki/gstreamer

It turns out that I had to figure out a few things regarding the PocketSphinx compilation process, in order to make everything work. I'm submitting this issue, as a type of git 'pull-request', in order to submit some additional documentation to be added to the above wiki-page. (Normally, if the wiki were under version control, I'd fork, commit, and issue a real pull request, but I see that it's not in github; further, the wiki is read-only, so I couldn't change directly).

Anyway, I'd suggest adding the following extra few paragraphs at the end of the Overview section, and right before the start of the Background Reading section:


If you instead see something like this:

No such element or plugin 'pocketsphinx'

or, perhaps:

(gst-inspect-1.0:27551): GStreamer-WARNING **: Failed to load plugin 'pocketsphinx': pocketsphinx.so: cannot open shared object file: No such file or directory
Could not load plugin file: Opening module failed: pocketsphinx.so: cannot open shared object file: No such file or directory

and all above environmental variables are properly set, it's quite possible that you haven't properly compiled the GStreamer plugin as part of your initial autoconf setup of PocketSphinx.

Some context: PocketSphinx will automatically build the GStreamer plugin, as part of the normal build process, so long as the appropriate GStreamer 1.0 dev files (header files, etc) are present and identified on your development platform. PocketSphinx tests for them via the pkg-config infrastructure (which allows libraries to place .pc package-configuration files on a system, so that other software has a unified interface to query for library location, version info, compiler/linker flags, etc.). If these .pc files are not identified during execution of the configure script (typically called automatically by autogen.sh), then their absence will be noted in the script's output log. However, the script will proceed to configure PocketSphinx without them (the GStreamer plugin, after all, is an optional component of PocketSphinx).

In particular, PocketSphinx requires that the following three .pc files be available in order to configure the platform to build the GStreamer plugin :

gstreamer-1.0.pc
gstreamer-base-1.0.pc
gstreamer-plugins-base-1.0.pc

These files can be stored in different locations based on O/S preferences. To confirm the particular search path that pkg-config uses to find such .pc files, you can run:

pkg-config --variable pc_path pkg-config

Further, assuming you do not compile GStreamer from source, these files are distributed via different packages depending upon your O/S. (For example, in Debian [Jessie], the first two are provided in the libgstreamer1.0-dev package and the last one is provided in the libgstreamer-plugins-base1.0-dev package.)

Once the proper GStreamer dev packages are installed, and you've confirmed that the .pc files are in your pkg-config path, you can re-configure, re-make, and re-install PocketSphinx. Now, when you execute gst-inspect-1.0 pocketsphinx, you should see that GStreamer can indeed locate the PocketSphinx plugin (as shown in the output above).


Hope this documentation patch proves helpful to others. Obviously, feel free to modify the above suggested addition to suit developers' preferences (and/or to clarify / correct my understanding).

Thanks for a great ASR system!

Error with node-gyp on building

I can't seem to get it to build with sphinxbase5prerel and the latest version of pocketsphinx from github. I just reran make on both and those installs have no errors under make check. However when npm tries to run the node-gyp I get:

../src/Recognizer.cpp:23:67: error: use of undeclared identifier 'MODELDIR'
tpl->Set(String::NewSymbol("modelDirectory"), String::NewSymbol(MODELDIR));
^
../src/Recognizer.cpp:73:97: error: use of undeclared identifier 'MODELDIR'
String::AsciiValue hmmValue(Default(options->Get(String::NewSymbol("hmm")), String::NewSymbol(MODELDIR "/hmm/en_US/hub4wsj_sc_8k")));
^
../src/Recognizer.cpp:74:95: error: use of undeclared identifier 'MODELDIR'
String::AsciiValue lmValue(Default(options->Get(String::NewSymbol("lm")), String::NewSymbol(MODELDIR "/lm/en_US/hub4.5000.DMP")));
^
../src/Recognizer.cpp:75:99: error: use of undeclared identifier 'MODELDIR'
String::AsciiValue dictValue(Default(options->Get(String::NewSymbol("dict")), String::NewSymbol(MODELDIR "/lm/en_US/cmu07a.dic")));
^
../src/Recognizer.cpp:215:16: error: no matching function for call to 'ps_start_utt'
int result = ps_start_utt(instance->ps, NULL);
^~~~~~~~~~~~
/usr/local/include/pocketsphinx/pocketsphinx.h:332:5: note: candidate function not viable: requires single argument 'ps', but 2 arguments were provided
int ps_start_utt(ps_decoder_t ps);
^
../src/Recognizer.cpp:235:16: error: no matching function for call to 'ps_start_utt'
int result = ps_start_utt(instance->ps, NULL);
^~~~~~~~~~~~
/usr/local/include/pocketsphinx/pocketsphinx.h:332:5: note: candidate function not viable: requires single argument 'ps', but 2 arguments were provided
int ps_start_utt(ps_decoder_t *ps);
^
../src/Recognizer.cpp:299:21: error: no matching function for call to 'ps_get_hyp'
const char
hyp = ps_get_hyp(instance->ps, &score, &uttid);
^~~~~~~~~~
/usr/local/include/pocketsphinx/pocketsphinx.h:408:13: note: candidate function not viable: requires 2 arguments, but 3 were provided
char const ps_get_hyp(ps_decoder_t *ps, int32 *out_best_score);
^
../src/Recognizer.cpp:318:21: error: no matching function for call to 'ps_get_hyp'
const char
hyp = ps_get_hyp(data->instance->ps, &score, &uttid);
^~~~~~~~~~
/usr/local/include/pocketsphinx/pocketsphinx.h:408:13: note: candidate function not viable: requires 2 arguments, but 3 were provided
char const ps_get_hyp(ps_decoder_t *ps, int32 *out_best_score);
^
8 errors generated.
make: *
* [Release/obj.target/PocketSphinx/src/Recognizer.o] Error 1

Error when installing sphinxbase from sourceforge

When sphinxbase is installed from sourceforge, the subsequent installation of pocketsphinx fails.

During the installation of pocketsphinx, when running make check it throws the following error:

ld: warning: directory not found for option '-L/Users/adamg/te/Polli/ASR/Sphinx/pocketsphinx/../sphinxbase-5prealpha/lib'
Undefined symbols for architecture x86_64:
  "_cmn_live_set", referenced from:
      _main in test_acmod.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [test_acmod] Error 1
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1

Compiling the github version of sphinxbase, though, does not cause this issue.

build for iphone

i run ./build_iphone.sh

/pocketsphinx/src/libpocketsphinx/ptm_mgau.c:51:10: fatal error:
'sphinx_config.h' file not found

include <sphinx_config.h>

     ^

/pocketsphinx/src/libpocketsphinx/s2_semi_mgau.c:51:10: fatal error:
'sphinx_config.h' file not found

include <sphinx_config.h>

How can i fix it? Plz help me. thanks

JACK: Buffer is full.

I'm facing a problem when using pocketsphinx with jack-audio. After a short time running "pocketsphinx_continuous -inmic yes" the error "JACK: Buffer is full. Deactivating JACK client" appears. Using different samplingrates, framesizes, buffersizes in jack did not help.

I'm using jackd1 from the ubuntu rep.

Wrong CPPFLAGS

While compiling (running make after configure ) pocketsphinx for Ubuntu 12.04 I run into an issue, that CPPFLAGS in ./pocketsphinx/src/gst-plugin/Makefile doesn't include ./pocketsphinx/include/ directory.

That is the cause of en error

 fatal error: pocketsphinx.h: No such file or directory

Adding directory mentioned above to CPPFLAGS solved this issue.

New location for cmd_ln_print_values_r(ps->config, err_get_logfp(), ps_args()) can cause exception

Hi all,

I noticed that this has been moved in the post-trie version from the acmod code to pocketsphinx.c:

cmd_ln_print_values_r(ps->config, err_get_logfp(), ps_args());

Just wanted to give a heads-up that it raises an exception when run here with a ps with:

err_set_logfp(NULL);

The exception is raised by this line in cmd_ln_print_values_r in cmd_ln.c:

fprintf(fp, "Current configuration:\n");

I suppose it needs a check for null fp like arg_dump_r has.

Improvements to the hello world tutorial.

I have made a couple mods to the hellow world tutorial. 1. more on troubleshooting errors on the first minimal hello_ps, program, and 2. Better output on the full hello_ps program. Attached is the updated file. Renamed as a text file.

<!DOCTYPE html>
<html dir="ltr" class="js desktop" lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <title>Building application with pocketsphinx [CMUSphinx Wiki]</title>
    <script src="Building%20application%20with%20pocketsphinx%20%5BCMUSphinx%20Wiki%5D_files/ga.js" async="" type="text/javascript"></script><script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
    <meta name="generator" content="DokuWiki">
<meta name="robots" content="index,follow">
<meta name="keywords" content="tutorialpocketsphinx">
<link rel="search" type="application/opensearchdescription+xml" href="http://cmusphinx.sourceforge.net/wiki/lib/exe/opensearch.php" title="CMUSphinx Wiki">
<link rel="start" href="http://cmusphinx.sourceforge.net/wiki/">
<link rel="contents" href="http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx?do=index" title="Sitemap">
<link rel="alternate" type="application/rss+xml" title="Recent changes" href="http://cmusphinx.sourceforge.net/wiki/feed.php">
<link rel="alternate" type="application/rss+xml" title="Current namespace" href="http://cmusphinx.sourceforge.net/wiki/feed.php?mode=list&amp;ns=">
<link rel="alternate" type="text/html" title="Plain HTML" href="http://cmusphinx.sourceforge.net/wiki/_export/xhtml/tutorialpocketsphinx">
<link rel="alternate" type="text/plain" title="Wiki Markup" href="http://cmusphinx.sourceforge.net/wiki/_export/raw/tutorialpocketsphinx">
<link rel="canonical" href="http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx">
<link rel="stylesheet" type="text/css" href="Building%20application%20with%20pocketsphinx%20%5BCMUSphinx%20Wiki%5D_files/css.css">
<script type="text/javascript">/*<![CDATA[*/var NS='';var JSINFO = {"id":"tutorialpocketsphinx","namespace":""};
/*!]]>*/</script>
<script type="text/javascript" charset="utf-8" src="Building%20application%20with%20pocketsphinx%20%5BCMUSphinx%20Wiki%5D_files/js.php"></script>
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <link rel="shortcut icon" href="http://cmusphinx.sourceforge.net/wiki/lib/tpl/cmusphinx/images/favicon.ico">
<link rel="apple-touch-icon" href="http://cmusphinx.sourceforge.net/wiki/lib/tpl/cmusphinx/images/apple-touch-icon.png">

<script type="text/javascript">
   var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-11921517-1']);
  _gaq.push(['_trackPageview']);

  (function() {
   var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
   ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
   var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>

</head>

<body>
    <!--[if lte IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]-->
    <div id="dokuwiki__site"><div id="dokuwiki__top" class="site dokuwiki mode_show tpl_cmusphinx     ">


<!-- ********** HEADER ********** -->
<div id="dokuwiki__header"><div class="pad group">


    <div class="headings group">
        <ul class="a11y skip">
            <li><a href="#dokuwiki__content">skip to content</a></li>
        </ul>

        <h1>
            <span><a href="http://cmusphinx.sourceforge.net/">CMUSphinx</a></span>
        </h1>
            </div>

    <div class="tools group">
        <!-- USER TOOLS -->
                    <div id="dokuwiki__usertools">
                <h3 class="a11y">User Tools</h3>
                <ul>
                    <li><a href="http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx?do=login&amp;sectok=d9da7c09a312e2fc43b8c561830fa325" class="action login" rel="nofollow" title="Login">Login</a></li>                </ul>
            </div>

        <!-- SITE TOOLS -->
        <div id="dokuwiki__sitetools">
            <h3 class="a11y">Site Tools</h3>
            <form action="/wiki/start" accept-charset="utf-8" class="search" id="dw__search" method="get" role="search"><div class="no"><input name="do" value="search" type="hidden"><input id="qsearch__in" accesskey="f" name="id" class="edit" title="[F]" type="text"><input value="Search" class="button" title="Search" type="submit"><div style="display: none;" id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>            <div class="mobileTools">
                <form action="/wiki/doku.php" method="get" accept-charset="utf-8"><div class="no"><input name="id" value="tutorialpocketsphinx" type="hidden"><select name="do" class="edit quickselect" title="Tools"><option selected="selected" value="">Tools</option><optgroup label="Page Tools"><option value="edit">Show pagesource</option><option value="revisions">Old revisions</option><option value="backlink">Backlinks</option></optgroup><optgroup label="Site Tools"><option value="recent">Recent changes</option><option value="media">Media Manager</option><option value="index">Sitemap</option></optgroup><optgroup label="User Tools"><option value="login">Login</option></optgroup></select><input style="display: none;" value="&gt;" type="submit"></div></form>            </div>
            <ul>
                <li><a href="http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx?do=recent" class="action recent" accesskey="r" rel="nofollow" title="Recent changes [R]">Recent changes</a></li><li><a href="http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx?do=media&amp;ns=" class="action media" rel="nofollow" title="Media Manager">Media Manager</a></li><li><a href="http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx?do=index" class="action index" accesskey="x" rel="nofollow" title="Sitemap [X]">Sitemap</a></li>            </ul>
        </div>

    </div>

    <div class="nav-menu">
    <ul>
        <li class="page-item"><a href="http://cmusphinx.sourceforge.net/wiki/download">Download</a></li>
        <li class="page-item"><a href="http://cmusphinx.sourceforge.net/wiki/tutorial">Tutorial</a></li>
        <li class="page-item"><a href="http://cmusphinx.sourceforge.net/wiki">Wiki</a></li>
        <li class="page-item"><a href="http://cmusphinx.sourceforge.net/wiki/develop">Develop</a></li>
        <li class="page-item"><a href="http://cmusphinx.sourceforge.net/wiki/research">Research</a></li>
        <li class="page-item"><a href="http://cmusphinx.sourceforge.net/wiki/about">About</a></li>
        </ul>
    </div>

    <!-- BREADCRUMBS -->
            <div class="breadcrumbs">
                                        <div class="trace"><span class="bchead">Trace:</span> <span class="bcsep">โ€ข</span> <bdi><a href="http://cmusphinx.sourceforge.net/wiki/start" class="breadcrumbs" title="start">CMUSphinx Wiki</a></bdi> <span class="bcsep">โ€ข</span> <bdi><a href="http://cmusphinx.sourceforge.net/wiki/tutorial" class="breadcrumbs" title="tutorial">CMUSphinx Tutorial For Developers</a></bdi> <span class="bcsep">โ€ข</span> <span class="curid"><bdi><a href="http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx" class="breadcrumbs" title="tutorialpocketsphinx">Building application with pocketsphinx</a></bdi></span></div>
                    </div>


    <hr class="a11y">
</div></div><!-- /header -->

        <div class="wrapper group">


            <!-- ********** CONTENT ********** -->
            <div id="dokuwiki__content"><div class="pad group">

                <div class="pageId"><span>tutorialpocketsphinx</span></div>

                <div class="page group">
                                                            <!-- wikipage start -->
                    <!-- TOC START -->
<div id="dw__toc">
<h3 style="cursor: pointer;" class="toggle open"><strong><span>โˆ’</span></strong>Table of Contents</h3>
<div style="">

<ul style="" aria-expanded="true" class="toc">
<li class="level1"><div class="li"><a href="#building_application_with_pocketsphinx">Building application with pocketsphinx</a></div>
<ul class="toc">
<li class="level2"><div class="li"><a href="#installation">Installation</a></div>
<ul class="toc">
<li class="level3"><div class="li"><a href="#unix-like_installation">Unix-like Installation</a></div></li>
<li class="level3"><div class="li"><a href="#windows">Windows</a></div></li>
</ul>
</li>
<li class="level2"><div class="li"><a href="#pocketsphinx_api_core_ideas">Pocketsphinx API Core Ideas</a></div></li>
<li class="level2"><div class="li"><a href="#basic_usage_hello_world">Basic Usage (hello world)</a></div>
<ul class="toc">
<li class="level3"><div class="li"><a href="#initialization">Initialization</a></div></li>
<li class="level3"><div class="li"><a href="#decoding_a_file_stream">Decoding a file stream</a></div></li>
<li class="level3"><div class="li"><a href="#cleaning_up">Cleaning up</a></div></li>
<li class="level3"><div class="li"><a href="#code_listing">Code listing</a></div></li>
</ul>
</li>
<li class="level2"><div class="li"><a href="#advanced_usage">Advanced Usage</a></div>
<ul class="toc">
<li class="level3"><div class="li"><a href="#searches">Searches</a></div></li>
</ul></li>
</ul></li>
</ul>
</div>
</div>
<!-- TOC END -->

<h1 class="sectionedit1" id="building_application_with_pocketsphinx">Building application with pocketsphinx</h1>
<div class="level1">

</div>

<h2 class="sectionedit2" id="installation">Installation</h2>
<div class="level2">

<p>
Pocketsphinx is a library that depends on another library called 
SphinxBase which provides common functionality 
across all CMUSphinx projects. To install Pocketsphinx, you need to 
install both Pocketsphinx and Sphinxbase. It's possible to use 
Pocketsphinx both in Linux, Windows, on MacOS, iPhone and Android.
</p>

<p>
First of all, download the released packages pocketsphinx and sphinxbase
 from project downloads, checkout them from subversion or github. For 
more details see <a href="http://cmusphinx.sourceforge.net/wiki/download" class="wikilink1" title="download"> download page</a>.
</p>

<p>
Unpack them into same directory. On Windows, you will need to rename 
'sphinxbase-X.Y' (where X.Y is the SphinxBase version number) to simply
'sphinxbase' to satisfy project pocketsphinx configuration.
</p>

<p>
<strong>THIS TUTORIAL DESCRIBES POCKETSPHINX 5PREALPHA, IT IS NOT GOING TO WORK ON OLDER VERSIONS
</strong>
</p>

</div>

<h3 class="sectionedit3" id="unix-like_installation">Unix-like Installation</h3>
<div class="level3">

<p>
To build pocketsphinx in a unix-like environment (such as Linux, 
Solaris, FreeBSD etc) you need to make sure you have the following 
dependencies installed: gcc, automake, autoconf, libtool, bison, swig at
 least version 2.0, python development package, pulseaudio development 
package. If you want to build without dependencies you can use proper 
configure options like โ€“without-swig-python but for beginner it is 
recommended to install all dependencies.
</p>

<p>
You need to download both sphinxbase and pocketsphinx packages and 
unpack them. Please note that you can not use sphinxbase and 
pocketsphinx of different version, please make sure that versions are in
 sync. After unpack you should see the following two main folders:
</p>
<pre class="code">   sphinxbase-X.X
   pocketsphinx-X.x</pre>

<p>
On step one, build and install SphinxBase. Change current directory to <code>sphinxbase</code> folder. If you downloaded directly from the repository, you need to do this at least once to generate the <code>configure</code> file:
</p>
<pre class="code">   % ./autogen.sh</pre>

<p>
if you downloaded the release version, or ran <code>autogen.sh</code> at least once, then compile and install:
</p>
<pre class="code">   % ./configure
   % make
   % make install</pre>

<p>
The last step might require root permissions so it might be <code>sudo make install</code>.
 If you want to use fixed-point arithmetic, you must configure 
SphinxBase with the โ€“enable-fixed option. You can also set installation 
prefix with <code>โ€“prefix</code>. You can also configure with or without SWIG python support.
</p>

<p>
The sphinxbase will be installed in <code>/usr/local/</code> folder by 
default. Not every system loads libraries from this folder 
automatically. To load them you need to configure the path to look for 
shared libaries. It can be done either in the file <code>/etc/ld.so.conf</code> or with exporting environment variables:
</p>
<pre class="code">   export LD_LIBRARY_PATH=/usr/local/lib
   export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig</pre>

<p>
Then change to pocketsphinx folder and perform the same steps
</p>
<pre class="code">  % ./configure
  % make
  % make install</pre>

<p>
To test installation, run <code>'pocketsphinx_continuous -inmic yes</code>' and check that it recognizes words you are saying to the microphone.
</p>

</div>

<h3 class="sectionedit4" id="windows">Windows</h3>
<div class="level3">

<p>
In MS Windows (TM), under MS Visual Studio 2010 (or newer - we test with Visual C++ 2010 Express):
</p>
<ul>
<li class="level1"><div class="li"> load sphinxbase.sln located in sphinxbase directory</div>
</li>
<li class="level1"><div class="li"> compile all the projects in SphinxBase (from <code>sphinxbase.sln</code>)</div>
</li>
<li class="level1"><div class="li"> load <code>pocketsphinx.sln</code> in pocketsphinx directory</div>
</li>
<li class="level1"><div class="li"> compile all the projects in PocketSphinx</div>
</li>
</ul>

<p>
MS Visual Studio will build the executables and libraries under <code>.\bin\Release</code> or <code>.\bin\Debug</code> (depending on the target you choose on MS Visual Studio). To run <code>pocketsphinx_continuous.exe</code>,
 don't forget to copy sphinxbase.dll to the bin folder. Otherwise the 
executable will fail to find this library. Unlike on Linux, the path to 
the model is not preconfigured in Windows, so you have to specify 
pocketsphinx_continuous where to find the model with -hmm, -lm and -dict
 options. Change to pocketsphinx folder and run
</p>
<pre class="code">     bin/Release/pocketsphinx_continuous.exe -inmic yes -hmm model/en-us/en-us -lm model/en-us/en-us.lm.bin -dict model/en-us/cmudict-en-us.dict</pre>

<p>
to recognize from microphone. To recognize from file run
</p>
<pre class="code">      bin/Release/pocketsphinx_continuous.exe -infile test/data/goforward.raw -hmm model/en-us/en-us -lm model/en-us/en-us.lm.bin -dict model/en-us/cmudict-en-us.dict</pre>

</div>

<h2 class="sectionedit5" id="pocketsphinx_api_core_ideas">Pocketsphinx API Core Ideas</h2>
<div class="level2">

<p>
Pocketsphinx <abbr title="Application Programming Interface">API</abbr> is designed to ease the use of speech recognizer functionality in your applications
</p>
<ol>
<li class="level1"><div class="li"> It is much more likely to remain stable both in terms of source and binary compatibility, due to the use of abstract types.</div>
</li>
<li class="level1"><div class="li"> It is fully re-entrant, so there is no problem having multiple decoders in the same process.</div>
</li>
<li class="level1"><div class="li"> It has enabled a drastic reduction in code footprint and a modest but significant reduction in memory consumption.</div>
</li>
</ol>

<p>
Reference documentation for the new <abbr title="Application Programming Interface">API</abbr> is available at <a href="http://cmusphinx.sourceforge.net/api/pocketsphinx/" class="urlextern" title="http://cmusphinx.sourceforge.net/api/pocketsphinx/" rel="nofollow">http://cmusphinx.sourceforge.net/api/pocketsphinx/</a>
</p>

</div>

<h2 class="sectionedit6" id="basic_usage_hello_world">Basic Usage (hello world)</h2>
<div class="level2">

<p>
There are few key things you need to know on how to use the <abbr title="Application Programming Interface">API</abbr>:
</p>
<ol>
<li class="level1"><div class="li"> Command-line parsing is done externally (in <code>&lt;cmd_ln.h&gt;</code>)</div>
</li>
<li class="level1"><div class="li"> Everything takes a <code>ps_decoder_t *</code> as the first argument.</div>
</li>
</ol>

<p>
To illustrate the new <abbr title="Application Programming Interface">API</abbr>,
 we will step through a simple โ€œhello worldโ€ example.  This example is 
somewhat specific to Unix in the locations of files and the compilation 
process.  We will create a C source file called <code>hello_ps.c</code>.  To compile it (on Unix), use this command:
</p>
<pre class="code">gcc -o hello_ps hello_ps.c \
    -DMODELDIR=\"`pkg-config --variable=modeldir pocketsphinx`\" \
    `pkg-config --cflags --libs pocketsphinx sphinxbase`</pre>

<p>
Please note that compilation errors here mean that you didn't carefully 
read the tutorial and didn't follow the installation guide above. For 
example pocketsphinx needs to be properly installed to be available 
through pkg-config system. To check that pocketsphinx is installed 
properly, just run <code>pkg-config โ€“cflags โ€“libs pocketsphinx sphinxbase</code> from the command line and see that output looks like
</p>
<pre class="code">-I/usr/local/include -I/usr/local/include/sphinxbase -I/usr/local/include/pocketsphinx  
-L/usr/local/lib -lpocketsphinx -lsphinxbase -lsphinxad</pre>

</div>

<h3 class="sectionedit7" id="initialization">Initialization</h3>
<div class="level3">

<p>
The first thing we need to do is to create a configuration object, which for historical reasons is called <code>cmd_ln_t</code>.  Along with the general boilerplate for our C program, we will do it like this:
</p>
<pre class="code">#include &lt;pocketsphinx.h&gt;

int
main(int argc, char *argv[])
{
        ps_decoder_t *ps;
        cmd_ln_t *config;

    config = cmd_ln_init(NULL, ps_args(), TRUE,
                 "-hmm", MODELDIR "/en-us/en-us",
                 "-lm", MODELDIR "/en-us/en-us.lm.bin",
                 "-dict", MODELDIR "/en-us/cmudict-en-us.dict",
                 NULL);
        if (config == NULL)
                return 1;

        return 0;
}</pre>

<p>
The <code>cmd_ln_init()</code> function takes a variable number of null-terminated string arguments, followed by NULL.  The first argument is any previous <code>cmd_ln_t *</code> which is to be updated.  The second argument is an array of argument definitions - the standard set can be obtained by calling <code>ps_args()</code>.  The third argument is a flag telling the argument parser to be โ€œstrictโ€ - if this is <code>TRUE</code>, then duplicate arguments or unknown arguments will cause parsing to fail.
</p>

<p>Note after compiling and executing the above code you will get no output, but you should see no errors either.  If you get an error such as:
<b>
"error while loading shared libraries: libpocketsphinx.so.3"
</b>
You may want to run through the following steps:
<ol>
<li>Examine your <em>/etc/ld.so.conf</em> file.  Usually it will either contain the list of directories that the linker looks for shared libraries in or it will pull in other 
files from the /etc/ld.so.conf.d directory.  Make sure that there is an entry that loads from the <em>/usr/local/lib</em> folder.</li> 
<li>If you did the above and you still get this error.  Then try running <em>sudo /sbin/ldconfig</em>.  Sometimes the linker configuration needs to be refreshed especially if you have built and installed from source.
<p>
The <code>MODELDIR</code> macro is defined on the GCC command-line by using <code>pkg-config</code> to obtain the <code>modeldir</code> variable from PocketSphinx configuration.  On Windows, you can simply add a preprocessor definition to the code, such as this:
</p>
<pre class="code">#define MODELDIR "c:/sphinx/model"</pre>

<p>
(replace this with wherever your models are installed).  Now, to initialize the decoder, use ps_init:
</p>
<pre class="code">        ps = ps_init(config);
        if (ps == NULL)
                return 1;</pre>

</div>

<h3 class="sectionedit8" id="decoding_a_file_stream">Decoding a file stream</h3>
<div class="level3">

<p>
Because live audio input is somewhat platform-specific, we will confine 
ourselves to decoding audio files.  The โ€œturtleโ€ language model 
recognizes a very simple โ€œrobot controlโ€ language, which recognizes 
phrases such as โ€œgo forward ten metersโ€.  In fact, there is an audio 
file helpfully included in the PocketSphinx source code which contains 
this very sentence.  You can find it in <code>test/data/goforward.raw</code>.
  Copy it to the current directory.  If you want to create your own 
version of it, it needs to be a single-channel (monaural), 
little-endian, unheadered 16-bit signed PCM audio file sampled at 16000 
Hz.
</p>

<p>
Main pocketsphinx use case is to read audio data in blocks of memory 
from somewhere and feed them to the decoder. To do that we first open 
the file and start decoding of the utterance using <code>ps_start_utt()</code>:
</p>
<pre class="code">        fseek(fh, 0, SEEK_SET);
        rv = ps_start_utt(ps);
        if (rv &lt; 0)
                return 1;</pre>

<p>
We will then read 512 samples at a time from the file, and feed them to the decoder using <code>ps_process_raw()</code>:
</p>
<pre class="code">        int16 buf[512];
        while (!feof(fh)) {
            size_t nsamp;
            nsamp = fread(buf, 2, 512, fh);
            rv = ps_process_raw(ps, buf, nsamp, FALSE, FALSE);
        }</pre>

<p>
Then we will need to mark the end of the utterance using <code>ps_end_utt()</code>:
</p>
<pre class="code">        rv = ps_end_utt(ps);
        if (rv &lt; 0)
                return 1;</pre>

<p>
Then we retrieve the hypothesis to get recognition result
</p>
<pre class="code">        hyp = ps_get_hyp(ps, &amp;score);
        if (hyp == NULL)
                return 1;
        printf("Recognized: %s\n", hyp);</pre>

</div>

<h3 class="sectionedit9" id="cleaning_up">Cleaning up</h3>
<div class="level3">

<p>
To clean up, simply call <code>ps_free()</code> on the object that was returned by <code>ps_init()</code>.  Free the configuration object with cmd_ln_free_r.
</p>

</div>

<h3 class="sectionedit10" id="code_listing">Code listing</h3>
<div class="level3">
<pre class="code">#include &lt;pocketsphinx.h&gt;

int
main(int argc, char *argv[])
{
    ps_decoder_t *ps;
    cmd_ln_t *config;
    FILE *fh;
    char const *hyp, *uttid;
        int16 buf[512];
    int rv;
    int32 score;

    config = cmd_ln_init(NULL, ps_args(), TRUE,
                 "-hmm", MODELDIR "/en-us/en-us",
                 "-lm", MODELDIR "/en-us/en-us.lm.bin",
                 "-dict", MODELDIR "/en-us/cmudict-en-us.dict",
                 NULL);
    if (config == NULL)
        return 1;
    ps = ps_init(config);
    if (ps == NULL)
        return 1;

    fh = fopen("goforward.raw", "rb");
    if (fh == NULL)
        return -1;
        rv = ps_start_utt(ps);
    if (rv &lt; 0)
        return 1;
        while (!feof(fh)) {
            size_t nsamp;
            nsamp = fread(buf, 2, 512, fh);
            rv = ps_process_raw(ps, buf, nsamp, FALSE, FALSE);
        }
        rv = ps_end_utt(ps);
    if (rv &lt; 0)
        return 1;
    hyp = ps_get_hyp(ps, &amp;score);
    if (hyp == NULL)
        return 1;
    printf("Recognized: %s\n", hyp);

    fclose(fh);
        ps_free(ps);
        cmd_ln_free_r(config);
    return 0;
}
</pre>

</div>

<h2 class="sectionedit11" id="advanced_usage">Advanced Usage</h2>
<div class="level2">

<p>
For more complicated uses of the <abbr title="Application Programming Interface">API</abbr> please check the <abbr title="Application Programming Interface">API</abbr> reference.
</p>
<ol>
<li class="level1"><div class="li"> For word segmentations, the <abbr title="Application Programming Interface">API</abbr>
 provides an iterator object which is used to, well, iterate over the 
sequence of words.  This iterator object is an abstract type, with some 
accessors provided to obtain timepoints, scores, and (most 
interestingly) posterior probabilities for each word.</div>
</li>
<li class="level1"><div class="li"> Confidence of the whole utterance can be accessed with ps_get_prob method.</div>
</li>
<li class="level1"><div class="li"> You can access lattice if needed</div>
</li>
<li class="level1"><div class="li"> You can configure multiple searches and switch between them in runtime.</div>
</li>
</ol>

</div>

<h3 class="sectionedit12" id="searches">Searches</h3>
<div class="level3">

<p>
Developer can configure several โ€œsearchโ€ objects with different grammars
 and langauge models and switch them in runtime to provide interactive 
experience for the user.
</p>

<p>
There are different possible search modes:
</p>
<ol>
<li class="level1"><div class="li"> keyword - efficiently looks for keyphrase and ignores other speech. allows to configure detection threshold.&lt;/li&gt;</div>
</li>
<li class="level1"><div class="li"> grammar - recognizes speech 
according to JSGF grammar. Unlike keyphrase grammar search doesn't 
ignore words which are not in grammar but tries to recognize them.</div>
</li>
<li class="level1"><div class="li"> ngram/lm - recognizes natural speech with a language model.</div>
</li>
<li class="level1"><div class="li"> allphone - recognizes phonemes with a phonetic language model.</div>
</li>
</ol>

<p>
Each search has a name and can be referenced by a name, names are 
application-specific. The function ps_set_search allows to activate the 
search previously added by a name. 
</p>

<p>
To add the search one needs to point to the grammar/language model 
describing the search. The location of the grammar is specific to the 
application. If only a simple recognition is required it is sufficient 
to add a single search or just configure the required mode with 
configuration options.
</p>

<p>
The exact design of a searches depends on your application. For example,
 you might want to listen for activation keyword first and once keyword 
is recognized switch to ngram search to recognize actual command. Once 
you recognized the command you can switch to grammar search to recognize
 the confirmation and then switch back to keyword listening mode to wait
 for another command.
</p>

</div>

                    <!-- wikipage stop -->
                                    </div>

                <div class="docInfo"><bdi>tutorialpocketsphinx.txt</bdi> ยท Last modified: 2015/07/08 22:20 by <bdi>admin</bdi></div>

                            </div></div><!-- /content -->

            <hr class="a11y">

            <!-- PAGE ACTIONS -->
            <div id="dokuwiki__pagetools">
                <h3 class="a11y">Page Tools</h3>
                <div class="tools">
                    <ul>
                        <li><a href="http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx?do=edit" class="action source" accesskey="v" rel="nofollow" title="Show pagesource [V]"><span>Show pagesource</span></a></li><li><a href="http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx?do=revisions" class="action revs" accesskey="o" rel="nofollow" title="Old revisions [O]"><span>Old revisions</span></a></li><li><a href="http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx?do=backlink" class="action backlink" rel="nofollow" title="Backlinks"><span>Backlinks</span></a></li><li><a href="#dokuwiki__top" class="action top" accesskey="t" rel="nofollow" title="Back to top [T]"><span>Back to top</span></a></li>                    </ul>
                </div>
            </div>
        </div><!-- /wrapper -->


<!-- ********** FOOTER ********** -->
<div id="dokuwiki__footer">
<div class="pad">
    <div class="license">Except where otherwise noted, content on this wiki is licensed under the following license: <bdi><a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="license" class="urlextern">CC Attribution-Noncommercial-Share Alike 3.0 Unported</a></bdi></div>
    <div class="buttons">
        <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="license"><img src="Building%20application%20with%20pocketsphinx%20%5BCMUSphinx%20Wiki%5D_files/cc-by-nc-sa.png" alt="CC Attribution-Noncommercial-Share Alike 3.0 Unported"></a>        <a href="http://www.dokuwiki.org/donate" title="Donate"><img src="Building%20application%20with%20pocketsphinx%20%5BCMUSphinx%20Wiki%5D_files/button-donate.gif" alt="Donate" height="15" width="80"></a>
        <a href="http://www.php.net/" title="Powered by PHP"><img src="Building%20application%20with%20pocketsphinx%20%5BCMUSphinx%20Wiki%5D_files/button-php.gif" alt="Powered by PHP" height="15" width="80"></a>
        <a href="http://validator.w3.org/check/referer" title="Valid HTML5"><img src="Building%20application%20with%20pocketsphinx%20%5BCMUSphinx%20Wiki%5D_files/button-html5.png" alt="Valid HTML5" height="15" width="80"></a>
        <a href="http://jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS"><img src="Building%20application%20with%20pocketsphinx%20%5BCMUSphinx%20Wiki%5D_files/button-css.png" alt="Valid CSS" height="15" width="80"></a>
        <a href="http://dokuwiki.org/" title="Driven by DokuWiki"><img src="Building%20application%20with%20pocketsphinx%20%5BCMUSphinx%20Wiki%5D_files/button-dw.png" alt="Driven by DokuWiki" height="15" width="80"></a>
    </div>
</div>
</div><!-- /footer -->

    </div></div><!-- /site -->

    <div class="no"><img src="Building%20application%20with%20pocketsphinx%20%5BCMUSphinx%20Wiki%5D_files/indexer.gif" alt="" height="1" width="2"></div>
    <div id="screen__mode" class="no"></div>    <!--[if ( lte IE 7 | IE 8 ) ]></div><![endif]-->


</body></html>

compilation failure due to error "acmod.c:594:9: error: too many arguments to function 'fe_process_frames'"

2286ecc fails with error acmod.c:594:9: error: too many arguments to function 'fe_process_frames' when make is run after ./autogen.sh && ./configure.

The complete log:

Making all in src
make[1]: Entering directory '/mnt/richtercloud/sources/pocketsphinx/src'
Making all in libpocketsphinx
make[2]: Entering directory '/mnt/richtercloud/sources/pocketsphinx/src/libpocketsphinx'
/bin/bash ../../libtool  --tag=CC   --mode=compile /usr/bin/gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" -DPACKAGE_STRING=\"pocketsphinx\ 5prealpha\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I.   -I/usr/include/sphinxbase    -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g3 -gdwarf-2 -MT acmod.lo -MD -MP -MF .deps/acmod.Tpo -c -o acmod.lo acmod.c
libtool: compile:  /usr/bin/gcc -DPACKAGE_NAME=\"pocketsphinx\" -DPACKAGE_TARNAME=\"pocketsphinx\" -DPACKAGE_VERSION=\"5prealpha\" "-DPACKAGE_STRING=\"pocketsphinx 5prealpha\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_LONG=8 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PYTHON=\"2.7\" -I. -I/usr/include/sphinxbase -I../../include -I../../include -DMODELDIR=\"/usr/local/share/pocketsphinx/model\" -g3 -gdwarf-2 -MT acmod.lo -MD -MP -MF .deps/acmod.Tpo -c acmod.c  -fPIC -DPIC -o .libs/acmod.o
acmod.c: In function 'acmod_process_full_raw':
acmod.c:583:9: error: too many arguments to function 'fe_process_frames'
     if (fe_process_frames(acmod->fe, NULL, inout_n_samps, NULL, &nfr, NULL) < 0)
         ^
In file included from /usr/include/sphinxbase/feat.h:87:0,
                 from acmod.c:55:
/usr/include/sphinxbase/fe.h:445:5: note: declared here
 int fe_process_frames(fe_t *fe,
     ^
acmod.c:594:9: error: too many arguments to function 'fe_process_frames'
     if (fe_process_frames(acmod->fe, inout_raw, inout_n_samps,
         ^
In file included from /usr/include/sphinxbase/feat.h:87:0,
                 from acmod.c:55:
/usr/include/sphinxbase/fe.h:445:5: note: declared here
 int fe_process_frames(fe_t *fe,
     ^
acmod.c: In function 'acmod_process_raw':
acmod.c:671:17: error: too many arguments to function 'fe_process_frames'
             if (fe_process_frames(acmod->fe, inout_raw, inout_n_samps,
                 ^
In file included from /usr/include/sphinxbase/feat.h:87:0,
                 from acmod.c:55:
/usr/include/sphinxbase/fe.h:445:5: note: declared here
 int fe_process_frames(fe_t *fe,
     ^
acmod.c:707:13: error: too many arguments to function 'fe_process_frames'
         if (fe_process_frames(acmod->fe, inout_raw, inout_n_samps,
             ^
In file included from /usr/include/sphinxbase/feat.h:87:0,
                 from acmod.c:55:
/usr/include/sphinxbase/fe.h:445:5: note: declared here
 int fe_process_frames(fe_t *fe,
     ^
Makefile:545: recipe for target 'acmod.lo' failed
make[2]: *** [acmod.lo] Error 1
make[2]: Leaving directory '/mnt/richtercloud/sources/pocketsphinx/src/libpocketsphinx'
Makefile:369: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/mnt/richtercloud/sources/pocketsphinx/src'
Makefile:463: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

MAKE FAILED (exit value 2, total time: 670ms)

Pocketsphinx segfault kws_search.c

Segfault in function: (at line 612)
int kws_search_step(ps_search_t * search, int frame_idx)
in kws_search.c

Will occur when engine is not properly closed and still listening for keyphrase. I fixed this in my forked version by adding the following a null pointer check. senscr will be null on close and will not be able to score it. This fix will still print the error and will no longer segfault. I was not sure where to post this. But wanted to let a developer be aware of this.

int
kws_search_step(ps_search_t * search, int frame_idx)
{
    int16 const *senscr;
    kws_search_t *kwss = (kws_search_t *) search;
    acmod_t *acmod = search->acmod;

    /* Activate senones */
    if (!acmod->compallsen)
        kws_search_sen_active(kwss);

    /* Calculate senone scores for current frame. */
    senscr = acmod_score(acmod, &frame_idx);

//ADDED if statement -- W00T THIS FIXED MY BUG!!!
    if(senscr == NULL)
        return 0;

    /* Evaluate hmms in phone loop and in active keyword nodes */
    kws_search_hmm_eval(kwss, senscr);

    /* Prune hmms with low prob */
    kws_search_hmm_prune(kwss);

    /* Do hmms transitions */
    kws_search_trans(kwss);

    ++kwss->frame;
    return 0;
}

pocketsphinx_continuous not working

I have installed pocketsphinx correctly on my ubuntu 14.04 working machine and have already finished the hello world example. However, I cannot get pocketsphinx_continuous to run with my microphone. My mic is working properly as I have tested the hello world example with raw audio recorded using Audacity. But the continuous audio example keeps failing with or without sudo.

Command Line Log

INFO: cmd_ln.c(691): Parsing command line:
pocketsphinx_continuous 

Current configuration:
[NAME]    [DEFLT]   [VALUE]
-adcdev       
-agc    none    none
-agcthresh  2.0   2.000000e+00
-alpha    0.97    9.700000e-01
-argfile      
-ascale   20.0    2.000000e+01
-aw   1   1
-backtrace  no    no
-beam   1e-48   1.000000e-48
-bestpath yes   yes
-bestpathlw 9.5   9.500000e+00
-bghist   no    no
-ceplen   13    13
-cmn    current   current
-cmninit  8.0   8.0
-compallsen no    no
-debug        0
-dict       
-dictcase no    no
-dither   no    no
-doublebw no    no
-ds   1   1
-fdict        
-feat   1s_c_d_dd 1s_c_d_dd
-featparams     
-fillprob 1e-8    1.000000e-08
-frate    100   100
-fsg        
-fsgusealtpron  yes   yes
-fsgusefiller yes   yes
-fwdflat  yes   yes
-fwdflatbeam  1e-64   1.000000e-64
-fwdflatefwid 4   4
-fwdflatlw  8.5   8.500000e+00
-fwdflatsfwin 25    25
-fwdflatwbeam 7e-29   7.000000e-29
-fwdtree  yes   yes
-hmm        
-infile       
-input_endian little    little
-jsgf       
-kdmaxbbi -1    -1
-kdmaxdepth 0   0
-kdtree       
-latsize  5000    5000
-lda        
-ldadim   0   0
-lextreedump  0   0
-lifter   0   0
-lm       
-lmctl        
-lmname   default   default
-logbase  1.0001    1.000100e+00
-logfn        
-logspec  no    no
-lowerf   133.33334 1.333333e+02
-lpbeam   1e-40   1.000000e-40
-lponlybeam 7e-29   7.000000e-29
-lw   6.5   6.500000e+00
-maxhmmpf -1    -1
-maxnewoov  20    20
-maxwpf   -1    -1
-mdef       
-mean       
-mfclogdir      
-min_endfr  0   0
-mixw       
-mixwfloor  0.0000001 1.000000e-07
-mllr       
-mmap   yes   yes
-ncep   13    13
-nfft   512   512
-nfilt    40    40
-nwpen    1.0   1.000000e+00
-pbeam    1e-48   1.000000e-48
-pip    1.0   1.000000e+00
-pl_beam  1e-10   1.000000e-10
-pl_pbeam 1e-5    1.000000e-05
-pl_window  0   0
-rawlogdir      
-remove_dc  no    no
-round_filters  yes   yes
-samprate 16000   1.600000e+04
-seed   -1    -1
-sendump      
-senlogdir      
-senmgau      
-silprob  0.005   5.000000e-03
-smoothspec no    no
-svspec       
-time   no    no
-tmat       
-tmatfloor  0.0001    1.000000e-04
-topn   4   4
-topn_beam  0   0
-toprule      
-transform  legacy    legacy
-unit_area  yes   yes
-upperf   6855.4976 6.855498e+03
-usewdphones  no    no
-uw   1.0   1.000000e+00
-var        
-varfloor 0.0001    1.000000e-04
-varnorm  no    no
-verbose  no    no
-warp_params      
-warp_type  inverse_linear  inverse_linear
-wbeam    7e-29   7.000000e-29
-wip    0.65    6.500000e-01
-wlen   0.025625  2.562500e-02

INFO: cmd_ln.c(691): Parsing command line:
\
  -nfilt 20 \
  -lowerf 1 \
  -upperf 4000 \
  -wlen 0.025 \
  -transform dct \
  -round_filters no \
  -remove_dc yes \
  -svspec 0-12/13-25/26-38 \
  -feat 1s_c_d_dd \
  -agc none \
  -cmn current \
  -cmninit 56,-3,1 \
  -varnorm no 

Current configuration:
[NAME]    [DEFLT]   [VALUE]
-agc    none    none
-agcthresh  2.0   2.000000e+00
-alpha    0.97    9.700000e-01
-ceplen   13    13
-cmn    current   current
-cmninit  8.0   56,-3,1
-dither   no    no
-doublebw no    no
-feat   1s_c_d_dd 1s_c_d_dd
-frate    100   100
-input_endian little    little
-lda        
-ldadim   0   0
-lifter   0   0
-logspec  no    no
-lowerf   133.33334 1.000000e+00
-ncep   13    13
-nfft   512   512
-nfilt    40    20
-remove_dc  no    yes
-round_filters  yes   no
-samprate 16000   1.600000e+04
-seed   -1    -1
-smoothspec no    no
-svspec       0-12/13-25/26-38
-transform  legacy    dct
-unit_area  yes   yes
-upperf   6855.4976 4.000000e+03
-varnorm  no    no
-verbose  no    no
-warp_params      
-warp_type  inverse_linear  inverse_linear
-wlen   0.025625  2.500000e-02

INFO: acmod.c(246): Parsed model-specific feature parameters from /usr/local/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/feat.params
INFO: feat.c(713): Initializing feature stream to type: '1s_c_d_dd', ceplen=13, CMN='current', VARNORM='no', AGC='none'
INFO: cmn.c(142): mean[0]= 12.00, mean[1..12]= 0.0
INFO: acmod.c(167): Using subvector specification 0-12/13-25/26-38
INFO: mdef.c(517): Reading model definition: /usr/local/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/mdef
INFO: mdef.c(528): Found byte-order mark BMDF, assuming this is a binary mdef file
INFO: bin_mdef.c(336): Reading binary model definition: /usr/local/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/mdef
INFO: bin_mdef.c(513): 50 CI-phone, 143047 CD-phone, 3 emitstate/phone, 150 CI-sen, 5150 Sen, 27135 Sen-Seq
INFO: tmat.c(205): Reading HMM transition probability matrices: /usr/local/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/transition_matrices
INFO: acmod.c(121): Attempting to use SCHMM computation module
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /usr/local/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/means
INFO: ms_gauden.c(292): 1 codebook, 3 feature, size: 
INFO: ms_gauden.c(294):  256x13
INFO: ms_gauden.c(294):  256x13
INFO: ms_gauden.c(294):  256x13
INFO: ms_gauden.c(198): Reading mixture gaussian parameter: /usr/local/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/variances
INFO: ms_gauden.c(292): 1 codebook, 3 feature, size: 
INFO: ms_gauden.c(294):  256x13
INFO: ms_gauden.c(294):  256x13
INFO: ms_gauden.c(294):  256x13
INFO: ms_gauden.c(354): 0 variance values floored
INFO: s2_semi_mgau.c(903): Loading senones from dump file /usr/local/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/sendump
INFO: s2_semi_mgau.c(927): BEGIN FILE FORMAT DESCRIPTION
INFO: s2_semi_mgau.c(1022): Using memory-mapped I/O for senones
INFO: s2_semi_mgau.c(1296): Maximum top-N: 4 Top-N beams: 0 0 0
INFO: dict.c(317): Allocating 137543 * 32 bytes (4298 KiB) for word entries
INFO: dict.c(332): Reading main dictionary: /usr/local/share/pocketsphinx/model/lm/en_US/cmu07a.dic
INFO: dict.c(211): Allocated 1010 KiB for strings, 1664 KiB for phones
INFO: dict.c(335): 133436 words read
INFO: dict.c(341): Reading filler dictionary: /usr/local/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/noisedict
INFO: dict.c(211): Allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(344): 11 words read
INFO: dict2pid.c(396): Building PID tables for dictionary
INFO: dict2pid.c(404): Allocating 50^3 * 2 bytes (244 KiB) for word-initial triphones
INFO: dict2pid.c(131): Allocated 60400 bytes (58 KiB) for word-final triphones
INFO: dict2pid.c(195): Allocated 60400 bytes (58 KiB) for single-phone word triphones
INFO: ngram_model_arpa.c(77): No \data\ mark in LM file
INFO: ngram_model_dmp.c(142): Will use memory-mapped I/O for LM file
INFO: ngram_model_dmp.c(196): ngrams 1=5001, 2=436879, 3=418286
INFO: ngram_model_dmp.c(242):     5001 = LM.unigrams(+trailer) read
INFO: ngram_model_dmp.c(288):   436879 = LM.bigrams(+trailer) read
INFO: ngram_model_dmp.c(314):   418286 = LM.trigrams read
INFO: ngram_model_dmp.c(339):    37293 = LM.prob2 entries read
INFO: ngram_model_dmp.c(359):    14370 = LM.bo_wt2 entries read
INFO: ngram_model_dmp.c(379):    36094 = LM.prob3 entries read
INFO: ngram_model_dmp.c(407):      854 = LM.tseg_base entries read
INFO: ngram_model_dmp.c(463):     5001 = ascii word strings read
INFO: ngram_search_fwdtree.c(99): 788 unique initial diphones
INFO: ngram_search_fwdtree.c(147): 0 root, 0 non-root channels, 60 single-phone words
INFO: ngram_search_fwdtree.c(186): Creating search tree
INFO: ngram_search_fwdtree.c(191): before: 0 root, 0 non-root channels, 60 single-phone words
INFO: ngram_search_fwdtree.c(326): after: max nonroot chan increased to 13428
INFO: ngram_search_fwdtree.c(338): after: 457 root, 13300 non-root channels, 26 single-phone words
INFO: ngram_search_fwdflat.c(156): fwdflat: min_ef_width = 4, max_sf_win = 25
INFO: continuous.c(371): pocketsphinx_continuous COMPILED ON: Oct 24 2014, AT: 21:51:11

ad_oss.c(103): Failed to open audio device(/dev/dsp): No such file or directory
FATAL_ERROR: "continuous.c", line 246: Failed to open audio device

Memory leak with SWIG wrapper

Hi,

I'm having a tricky bug when I try to create my model (pocketsphinx + SWIG wrapper for Python, under Ubuntu Trustee Tahr, running on a Raspberry PI 2).

config = Decoder.default_config()
config.set_string('-hmm', hmm)

This ".set_string" gives me this message:

swig/python detected a memory leak of type 'Config *', no destructor found.

I really don't know what to change in the wrapper to fix it.

Any idea?

In advance, thanks!

JS

Running from stdin

I would like to stream audio from another computer to run pocketsphinx on my beefy desktop, right now I have it running on an interval, but it would be nice if I could just run: arecord -D plughw:1,0 -f S16_LE -r 16000 | ssh -C [email protected] pocketsphinx_continuous

hmm_frame assertion fails

I'm on OS X Yosemite, 10.10.2.

I am running the following code and getting this error:

Assertion failed: (hmm_frame(&hmm->hmm) == frame_idx), function eval_nonroot_chan, file ngram_search_fwdtree.c, line 640.

I installed two different versions of sphinxbase and pocketsphinx, once directly from the git repos, and once from the 5prealpha files on sourceforge. Both give the same error.

Pocketsphinx_continuous runs just fine on both installs. This is my first time using sphinx, so any help you can offer would be appreciated. I looked at the source code line that is causing the error, but I am drawing a blank on how to fix it.

This user is the only other person I know who has had this error: watsonbox/sphinxtrain-ruby#3

I haven't tried pocketsphinx version 0.8 yet.

Sample code:

#!/usr/bin/ python

import sys
from os import path
import pocketsphinx

base_dir = '/usr/local/share/pocketsphinx/model/en-us'
hidden_markov_model = path.join(base_dir, 'en-us')  #acoustic model
language_model = path.join(base_dir, 'cmusphinx-5.0-en-us.lm')
dictionary = path.join(base_dir, 'cmudict-en-us.dict')

config = pocketsphinx.Decoder.default_config()
config.set_string('-hmm', hidden_markov_model)
config.set_string('-dict', dictionary)
config.set_string('-lm', language_model)

decoder = pocketsphinx.Decoder(config)
decoder.start_utt()
wavfile = sys.argv[1]
wav_file = file(wavfile, 'rb')
decoder.decode_raw(wav_file)
result = decoder.hyp().hypstr

decoder.end_utt()

print result

pocketsphinx error

while I try to compile decoder_test.py file

File "decoder_test.py", line 39, in <module> from pocketsphinx.pocketsphinx import * ImportError: No module named pocketsphinx

I have installed pocketsphinx and sphinxbase correctly as mentioned in documentation
import pocketsphinx works perfectly
But then occur Decoder error
AttributeError: 'module' object has no attribute 'Decoder'

Error running pocketsphinx_continuous (Win10 x64 Release VS2015)

C:\Users\Peter\Desktop\pocketsphinx>bin\Release\x64\pocketsphinx_continuous.exe -inmic yes -hmm model/en-us/en-us -lm model/en-us/en-us.lm.bin -dict model/en-us/cmudict-en-us.dict
INFO: pocketsphinx.c(152): Parsed model-specific feature parameters from model/en-us/en-us/feat.params
Current configuration:
[NAME] [DEFLT] [VALUE]
-agc none none
-agcthresh 2.0 2.000000e+000
-allphone
-allphone_ci no no
-alpha 0.97 9.700000e-001
-ascale 20.0 2.000000e+001
-aw 1 1
-backtrace no no
-beam 1e-48 1.000000e-048
-bestpath yes yes
-bestpathlw 9.5 9.500000e+000
-ceplen 13 13
-cmn current current
-cmninit 8.0 40,3,-1
-compallsen no no
-debug 0
-dict model/en-us/cmudict-en-us.dict
-dictcase no no
-dither no no
-doublebw no no
-ds 1 1
-fdict
-feat 1s_c_d_dd 1s_c_d_dd
-featparams
-fillprob 1e-8 1.000000e-008
-frate 100 100
-fsg
-fsgusealtpron yes yes
-fsgusefiller yes yes
-fwdflat yes yes
-fwdflatbeam 1e-64 1.000000e-064
-fwdflatefwid 4 4
-fwdflatlw 8.5 8.500000e+000
-fwdflatsfwin 25 25
-fwdflatwbeam 7e-29 7.000000e-029
-fwdtree yes yes
-hmm model/en-us/en-us
-input_endian little little
-jsgf
-keyphrase
-kws
-kws_delay 10 10
-kws_plp 1e-1 1.000000e-001
-kws_threshold 1 1.000000e+000
-latsize 5000 5000
-lda
-ldadim 0 0
-lifter 0 22
-lm model/en-us/en-us.lm.bin
-lmctl
-lmname
-logbase 1.0001 1.000100e+000
-logfn
-logspec no no
-lowerf 133.33334 1.300000e+002
-lpbeam 1e-40 1.000000e-040
-lponlybeam 7e-29 7.000000e-029
-lw 6.5 6.500000e+000
-maxhmmpf 30000 30000
-maxwpf -1 -1
-mdef
-mean
-mfclogdir
-min_endfr 0 0
-mixw
-mixwfloor 0.0000001 1.000000e-007
-mllr
-mmap yes yes
-ncep 13 13
-nfft 512 512
-nfilt 40 25
-nwpen 1.0 1.000000e+000
-pbeam 1e-48 1.000000e-048
-pip 1.0 1.000000e+000
-pl_beam 1e-10 1.000000e-010
-pl_pbeam 1e-10 1.000000e-010
-pl_pip 1.0 1.000000e+000
-pl_weight 3.0 3.000000e+000
-pl_window 5 5
-rawlogdir
-remove_dc no no
-remove_noise yes yes
-remove_silence yes yes
-round_filters yes yes
-samprate 16000 1.600000e+004
-seed -1 -1
-sendump
-senlogdir
-senmgau
-silprob 0.005 5.000000e-003
-smoothspec no no
-svspec 0-12/13-25/26-38
-tmat
-tmatfloor 0.0001 1.000000e-004
-topn 4 4
-topn_beam 0 0
-toprule
-transform legacy dct
-unit_area yes yes
-upperf 6855.4976 6.800000e+003
-uw 1.0 1.000000e+000
-vad_postspeech 50 50
-vad_prespeech 20 20
-vad_startspeech 10 10
-vad_threshold 2.0 2.000000e+000
-var
-varfloor 0.0001 1.000000e-004
-varnorm no no
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-wbeam 7e-29 7.000000e-029
-wip 0.65 6.500000e-001
-wlen 0.025625 2.562500e-002

INFO: feat.c(715): Initializing feature stream to type: '1s_c_d_dd', ceplen=13, CMN='current', VARNORM='no', AGC='none'
INFO: cmn.c(143): mean[0]= 12.00, mean[1..12]= 0.0
INFO: acmod.c(164): Using subvector specification 0-12/13-25/26-38
INFO: mdef.c(518): Reading model definition: model/en-us/en-us/mdef
INFO: mdef.c(531): Found byte-order mark BMDF, assuming this is a binary mdef file
INFO: bin_mdef.c(336): Reading binary model definition: model/en-us/en-us/mdef
INFO: bin_mdef.c(516): 42 CI-phone, 137053 CD-phone, 3 emitstate/phone, 126 CI-sen, 5126 Sen, 29324 Sen-Seq
INFO: tmat.c(206): Reading HMM transition probability matrices: model/en-us/en-us/transition_matrices
ERROR: "bio.c", line 198: Premature EOF, line 0
FATAL: "tmat.c", line 216: Failed to read header from file 'model/en-us/en-us/transition_matrices'

JSGF tag specification not supported

You're supposed to be able to do things like this:

<greeting>= (howdy | good morning) {hi};

So if i say, "howdy | good morning", it should return the text "hi". This does not appear to work.

ERROR: "ngram_model_trie.c", line 447: Dump file /usr/local/share/pocketsphinx/model/en-us/en-70k-0.2.lm not found

I've successfully compiled and installed the newest sphinxbase and pocketsphinx from github.
I ran pocketsphinx_continuous -infile resampled.wav

It generated text from my audio and this was very cool!! It works! :)

But the accuracy of the results was below expectations.

I noticed that the model included with pocketsphinx is a pruned version - meaning words are missing? So, in an attempt to improve accuracy, I found and tried to install the bigger un-pruned version of the latest language model en-70k-0.2.lm.gz (594.2MB uncompressed) which I found here:

https://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/US%20English/

And then tried calling pocketsphinx with the new language model:

pocketsphinx_continuous -infile resampled.wav -lm /usr/local/share/pocketsphinx/model/en-us/en-70k-0.2.lm

Unfortunately this did not work.

Do I need the corresponding -dict and feat.params / -hmm files for the full language model? If so, where do I download these from (I wasn't finding them anywhere when I searched)?

I also already tried using the newer cmudict.dict found here:
https://github.com/cmusphinx/cmudict

But that didn't work, and the phones did not match either, but there is a corresponding .phones file included... but not sure how to configure the language model, dict, phones and other files so that they are all in sync? And how to generate the hmm files?

UPDATE: I just found this webpage: http://cmusphinx.sourceforge.net/wiki/tutorialadapt
But it is unclear if these are the correct steps for me to take? Do I need to install sphinxtrain or shouldn't there be all the pre-trained data and dictionaries / phoneme files needed to go along with the language model distributed as a single package?

What can I do to quickly fix this? I'm hoping to not have to run training in order to test the bigger, more robust language model and dictionary / phonemes... Below is my output and error messages.

Please help, thanks!

INFO: pocketsphinx.c(152): Parsed model-specific feature parameters from /usr/local/share/pocketsphinx/model/en-us/en-us/feat.params
Current configuration:
[NAME] [DEFLT] [VALUE]
-agc none none
-agcthresh 2.0 2.000000e+00
-allphone
-allphone_ci no no
-alpha 0.97 9.700000e-01
-ascale 20.0 2.000000e+01
-aw 1 1
-backtrace no no
-beam 1e-48 1.000000e-48
-bestpath yes yes
-bestpathlw 9.5 9.500000e+00
-ceplen 13 13
-cmn current batch
-cmninit 8.0 41.00,-5.29,-0.12,5.09,2.48,-4.07,-1.37,-1.78,-5.08,-2.05,-6.45,-1.42,1.17
-compallsen no no
-debug 0
-dict /usr/local/share/pocketsphinx/model/en-us/cmudict-en-us.dict
-dictcase no no
-dither no no
-doublebw no no
-ds 1 1
-fdict
-feat 1s_c_d_dd 1s_c_d_dd
-featparams
-fillprob 1e-8 1.000000e-08
-frate 100 100
-fsg
-fsgusealtpron yes yes
-fsgusefiller yes yes
-fwdflat yes yes
-fwdflatbeam 1e-64 1.000000e-64
-fwdflatefwid 4 4
-fwdflatlw 8.5 8.500000e+00
-fwdflatsfwin 25 25
-fwdflatwbeam 7e-29 7.000000e-29
-fwdtree yes yes
-hmm /usr/local/share/pocketsphinx/model/en-us/en-us
-input_endian little little
-jsgf
-keyphrase
-kws
-kws_delay 10 10
-kws_plp 1e-1 1.000000e-01
-kws_threshold 1 1.000000e+00
-latsize 5000 5000
-lda
-ldadim 0 0
-lifter 0 22
-lm /usr/local/share/pocketsphinx/model/en-us/en-70k-0.2.lm
-lmctl
-lmname
-logbase 1.0001 1.000100e+00
-logfn
-logspec no no
-lowerf 133.33334 1.300000e+02
-lpbeam 1e-40 1.000000e-40
-lponlybeam 7e-29 7.000000e-29
-lw 6.5 6.500000e+00
-maxhmmpf 30000 30000
-maxwpf -1 -1
-mdef
-mean
-mfclogdir
-min_endfr 0 0
-mixw
-mixwfloor 0.0000001 1.000000e-07
-mllr
-mmap yes yes
-ncep 13 13
-nfft 512 512
-nfilt 40 25
-nwpen 1.0 1.000000e+00
-pbeam 1e-48 1.000000e-48
-pip 1.0 1.000000e+00
-pl_beam 1e-10 1.000000e-10
-pl_pbeam 1e-10 1.000000e-10
-pl_pip 1.0 1.000000e+00
-pl_weight 3.0 3.000000e+00
-pl_window 5 5
-rawlogdir
-remove_dc no no
-remove_noise yes yes
-remove_silence yes yes
-round_filters yes yes
-samprate 16000 1.600000e+04
-seed -1 -1
-sendump
-senlogdir
-senmgau
-silprob 0.005 5.000000e-03
-smoothspec no no
-svspec 0-12/13-25/26-38
-tmat
-tmatfloor 0.0001 1.000000e-04
-topn 4 4
-topn_beam 0 0
-toprule
-transform legacy dct
-unit_area yes yes
-upperf 6855.4976 6.800000e+03
-uw 1.0 1.000000e+00
-vad_postspeech 50 50
-vad_prespeech 20 20
-vad_startspeech 10 10
-vad_threshold 2.0 2.000000e+00
-var
-varfloor 0.0001 1.000000e-04
-varnorm no no
-verbose no no
-warp_params
-warp_type inverse_linear inverse_linear
-wbeam 7e-29 7.000000e-29
-wip 0.65 6.500000e-01
-wlen 0.025625 2.562500e-02

INFO: feat.c(715): Initializing feature stream to type: '1s_c_d_dd', ceplen=13, CMN='batch', VARNORM='no', AGC='none'
INFO: acmod.c(166): Using subvector specification 0-12/13-25/26-38
INFO: mdef.c(518): Reading model definition: /usr/local/share/pocketsphinx/model/en-us/en-us/mdef
INFO: mdef.c(531): Found byte-order mark BMDF, assuming this is a binary mdef file
INFO: bin_mdef.c(336): Reading binary model definition: /usr/local/share/pocketsphinx/model/en-us/en-us/mdef
INFO: bin_mdef.c(516): 42 CI-phone, 137053 CD-phone, 3 emitstate/phone, 126 CI-sen, 5126 Sen, 29324 Sen-Seq
INFO: tmat.c(149): Reading HMM transition probability matrices: /usr/local/share/pocketsphinx/model/en-us/en-us/transition_matrices
INFO: acmod.c(117): Attempting to use PTM computation module
INFO: ms_gauden.c(127): Reading mixture gaussian parameter: /usr/local/share/pocketsphinx/model/en-us/en-us/means
INFO: ms_gauden.c(242): 42 codebook, 3 feature, size:
INFO: ms_gauden.c(244): 128x13
INFO: ms_gauden.c(244): 128x13
INFO: ms_gauden.c(244): 128x13
INFO: ms_gauden.c(127): Reading mixture gaussian parameter: /usr/local/share/pocketsphinx/model/en-us/en-us/variances
INFO: ms_gauden.c(242): 42 codebook, 3 feature, size:
INFO: ms_gauden.c(244): 128x13
INFO: ms_gauden.c(244): 128x13
INFO: ms_gauden.c(244): 128x13
INFO: ms_gauden.c(304): 222 variance values floored
INFO: ptm_mgau.c(476): Loading senones from dump file /usr/local/share/pocketsphinx/model/en-us/en-us/sendump
INFO: ptm_mgau.c(500): BEGIN FILE FORMAT DESCRIPTION
INFO: ptm_mgau.c(563): Rows: 128, Columns: 5126
INFO: ptm_mgau.c(595): Using memory-mapped I/O for senones
INFO: ptm_mgau.c(838): Maximum top-N: 4
INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
INFO: dict.c(320): Allocating 138824 * 32 bytes (4338 KiB) for word entries
INFO: dict.c(333): Reading main dictionary: /usr/local/share/pocketsphinx/model/en-us/cmudict-en-us.dict
INFO: dict.c(213): Dictionary size 134723, allocated 1016 KiB for strings, 1679 KiB for phones
INFO: dict.c(336): 134723 words read
INFO: dict.c(358): Reading filler dictionary: /usr/local/share/pocketsphinx/model/en-us/en-us/noisedict
INFO: dict.c(213): Dictionary size 134728, allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(361): 5 words read
INFO: dict2pid.c(396): Building PID tables for dictionary
INFO: dict2pid.c(406): Allocating 42^3 * 2 bytes (144 KiB) for word-initial triphones
INFO: dict2pid.c(132): Allocated 42672 bytes (41 KiB) for word-final triphones
INFO: dict2pid.c(196): Allocated 42672 bytes (41 KiB) for single-phone word triphones
INFO: ngram_model_trie.c(354): Trying to read LM in trie binary format
ERROR: "ngram_model_trie.c", line 356: File /usr/local/share/pocketsphinx/model/en-us/en-70k-0.2.lm not found
INFO: ngram_model_trie.c(177): Trying to read LM in arpa format
ERROR: "ngram_model_trie.c", line 179: File /usr/local/share/pocketsphinx/model/en-us/en-70k-0.2.lm not found
INFO: ngram_model_trie.c(445): Trying to read LM in dmp format
ERROR: "ngram_model_trie.c", line 447: Dump file /usr/local/share/pocketsphinx/model/en-us/en-70k-0.2.lm not found

gstpocketsphinx.c: can't set hmm property when default hmm directory doesn't exist

I'm trying to specify -hmm via gst properties (I'm using gst1.0), but it's failing because my machine doesn't have a model in the default -hmm value's path.

In gst_pocketsphinx_init, if the directory specified by -hmm (or the default -hmm value) doesn't exist, cmd_ln_parse_r returns NULL [1], which causes the ps->ps == NULL check to raise an error. This is all done before properties have been set. So I assume the ps_init call and NULL check should be done after the properties are set.

[1] 0:00:03.679641618 1635 0x1c10aa0 ERROR pocketsphinx :0:: ERROR: "acmod.c", line 80: Acoustic model definition is not specified either with -mdef option or with -hmm

Carbon Component Manager issue

Hi,

Installed pocket sphinx and base but when running the continuous mode it presents the following:

This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.

Any solutions for this?

Unused function warnings from swig makefile

Hi,

Making Java interfaces with the makefile in /swig/java/ currently generates a lot of unnecessary "SWIG_* defined but not used" warnings. Just wondering if the -Wno-unused-function flag was left off intentionally or if this is a legitimate error?

(this is using the /swig/java folder with the current release of pocketsphinx [pocketsphinx5-prealpha]).

Thanks!

ps_default_search_args not usable?

Hello,

As it has type void ps_default_search_args(cmd_ln_t *), I would expect the caller should allocate the output struct and pass the pointer to it. But since cmd_ln_t is an opaque type to cmd_ln_s, and the latter is only defined in .c and not in the header, how can a client know its allocation size (based only on the header)?

Not crucial to use that function, but once it's there I wonder about its use.

-lm silently wins fight with -jsgf

I guess it doesn't make sense to use both Language model and a grammar. It would be nice if pocketsphinx just refused to do this rather than silently letting the language model win. It's a trap for young players.

Segmentation fault when running tutorial code hello_ps

I am providing output from gdb in order to facilitate more rapid diagnosis of the issue.

GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./hello_ps...(no debugging symbols found)...done.
(gdb) r
Starting program: /home/thinkpad/Sphinx/helloWorld/hello_ps 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0xb7fb0acd in ps_process_raw (ps=0xb7fe77aa <_dl_lookup_symbol_x+266>, data=0xbfffedd0, n_samples=512, no_search=0, full_utt=0) at pocketsphinx.c:1077
1077        if (ps->acmod->state == ACMOD_IDLE) {
(gdb) bt full
#0  0xb7fb0acd in ps_process_raw (ps=0xb7fe77aa <_dl_lookup_symbol_x+266>, data=0xbfffedd0, n_samples=512, no_search=0, full_utt=0) at pocketsphinx.c:1077
        n_searchfr = 0
#1  0x08048917 in main ()
No symbol table info available.
(gdb) Quit
A debugging session is active.

    Inferior 1 [process 31910] will be killed.

Quit anyway? (y or n) y

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.