Package Details: pocketsphinx 5prealpha-10

Git Clone URL: https://aur.archlinux.org/pocketsphinx.git (read-only, click to copy)
Package Base: pocketsphinx
Description: Lightweight speech recognition engine, specifically tuned for handheld and mobile devices, though it works equally well on the desktop.
Upstream URL: http://cmusphinx.sourceforge.net
Keywords: mobile recognition speech
Licenses: BSD
Submitter: None
Maintainer: Martchus
Last Packager: Martchus
Votes: 67
Popularity: 0.194860
First Submitted: 2008-08-08 21:47
Last Updated: 2018-08-30 16:24

Pinned Comments

Martchus commented on 2020-01-19 12:15

All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs
There also exist a binary repository: https://wiki.archlinux.org/index.php/Unofficial_user_repositories#ownstuff

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

xantares commented on 2015-12-02 20:09

hi, could we get python3 bindings instead of python2 ? or both ?
xan.

marcs commented on 2015-11-02 21:27

I've update the dependency array, hopefully the problem should be fixed.

surfhai commented on 2015-11-02 21:15

I solved the compiling issue by installing sphinxbase 0.8 and not 5prealpha

surfhai commented on 2015-11-02 19:26

I think that pocketsphinx 5prealpha depends on gstreamer1.0 not gstreamer0.10 maybe python3 is also needed.

This is the commit that changes from 0.10 to 1.0
https://github.com/cmusphinx/pocketsphinx/commit/e070acf205a8c1f72198a8e103253c0742848911

blather-git is not working with 5prealpha-1 because of this change. I want to compile the version 0.8 but without success with the initial commit on the aur git repo.

Makefile:532: recipe for target 'acmod.lo' failed
make[2]: *** [acmod.lo] Error 1
make[2]: Leaving directory '/home/tg/build/pocketsphinx/pocketsphinx/src/pocketsphinx-0.8/src/libpocketsphinx'
Makefile:366: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/tg/build/pocketsphinx/pocketsphinx/src/pocketsphinx-0.8/src'
Makefile:471: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...

Mitsos101 commented on 2015-07-17 16:29

The newest release is 5prealpha, not 0.8

marcs commented on 2015-05-30 10:11

The oneliner sed command would be:

sed -i '/cython/s/$(CPPFLAGS) -I$(sphinxbase)\/python/$(SphinxBase_CFLAGS)/' python/Makefile.am

The old command just removes the CPPFLAGS.

To keep track of things I've added a patch, and left the sed command as a comment, that will be removed with the prealpha5.

Thanks 1124

1124 commented on 2015-05-11 06:41

in the PKGBUILD, under this:
sed -i '/cython/s/$(CPPFLAGS) //' python/Makefile.am
add this:
sed -i '/cython/s/-I$(sphinxbase)\/python/$(SphinxBase_CFLAGS)/' python/Makefile.am

Then it built for me. I have no idea if this is proper!

ryanvade commented on 2015-03-31 02:34

does NOT build with yaourt for me. :(

m01 commented on 2014-07-14 22:32

marcs is right. I can't build it with makepkg -cs, but using Yaourt works. I don't understand. Please can someone look into this?

Here's what I get:
'
cython2 -o pocketsphinx.c pocketsphinx.pyx -I/python

Error compiling Cython file:
------------------------------------------------------------
...
# notice is not removed.
#
# Author: David Huggins-Daines <dhuggins@cs.cmu.edu>

# Import SphinxBase C types
from sphinxbase cimport arg_t, cmd_ln_t, ngram_model_t, fsg_model_t, logmath_t
^
------------------------------------------------------------

pocketsphinx.pxd:11:0: 'sphinxbase.pxd' not found

<snip>


pocketsphinx.pyx:489:24: Cannot convert 'char **' to Python object

Error compiling Cython file:
------------------------------------------------------------
...
cdef ngram_model_t *clm
cdef logmath_t *lmath
cdef cmd_ln_t *config
cdef NGramModel lm

lm = NGramModel()
^
------------------------------------------------------------

pocketsphinx.pyx:656:23: undeclared name not builtin: NGramModel
Makefile:601: recipe for target 'pocketsphinx.c' failed
make[1]: *** [pocketsphinx.c] Error 1
make[1]: Leaving directory '/home/me/Downloads/Packages/pocketsphinx/src/pocketsphinx-0.8/python'
Makefile:461: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...

marcs commented on 2014-06-15 22:00

I can compile from yaourt, try to launch the command:
yaourt -S pocketsphinx