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: 73
Popularity: 1.24
First Submitted: 2008-08-08 21:47
Last Updated: 2020-05-12 15:48

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 »

underdoeg commented on 2016-02-01 09:56

Current md5 sum for pocketsphinx-5prealpha.tar.gz is dc4246dbeb577731432227ad33289326

marcs commented on 2015-12-03 15:27

Hey xan

I'm building the package twice now. From what I've seen only the two /usr/lib/python folders differ in the two builds, so yeah not the smartest solution but I didn't want to mess too much with autotools.

So the script it builds py3 than py2, then install the whole installation and then does a make install only of the swig folder that built the py2 bindings.

Should be fine, but do some testing.

I had to do this also on sphinxbase for consistency so do a system update, so now also sphinxbase has both py2 and py3 support

marcs

xantares commented on 2015-12-03 08:54

hi marcs,

- that would be great, have a look here:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-salib

- the package uses autotools, I guess you can cd in the bindings subdir and make install from there to install only python bindings from the new package_python-pocketsphinx() function.

- to build py3 as weel, I guess you could either copy the source dir twice and build each with different configure options, or reconfigure once with py3 in the same build dir. If the lib is not huge maybe option1 would be cleaner.

xan.

marcs commented on 2015-12-02 20:35

Hi xantares,

on the page:
https://github.com/cmusphinx/pocketsphinx-python

the travis script:
https://github.com/cmusphinx/pocketsphinx-python/blob/master/.travis.yml

The script tests also on python3, so I guess is doable.

To have both i would split this package in two different versions, in Arch style, like:

python2-pocketsphinx
python-pocketsphinx

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