Package: python-pocketsphinx
Version: 0.8-2
Severity: grave
Justification: renders package unusable
python-pocketsphinx is missing a dependency on python-sphinxbase:
pabs@chianamo ~/tmp/speech-test $ cat test.py
from pocketsphinx import Decoder
HMM = "/usr/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k"
LM = "/usr/share/pocketsphinx/model/lm/en_US/hub4.5000.DMP"
DICT = "/usr/share/pocketsphinx/model/lm/en_US/cmu07a.dic"
WAV = "test.wav"
decoder = Decoder(hmm=HMM, lm=LM, dict=DICT)
fh = open(WAV)
fh.seek(44) # skip the WAV header
decoder.decode_raw(fh)
print decoder.get_hyp() # short for hypothesis
pabs@chianamo ~/tmp/speech-test $ python test.py
Traceback (most recent call last):
File "test.py", line 1, in <module>
from pocketsphinx import Decoder
File "sphinxbase.pxd", line 150, in init pocketsphinx (pocketsphinx.c:7934)
ImportError: No module named sphinxbase
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.8-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-pocketsphinx depends on:
ii libc6 2.13-38
ii libpocketsphinx1 0.8-2
ii libsphinxbase1 0.8-1
ii python 2.7.3-4
--
bye,
pabs
http://wiki.debian.org/PaulWise
Attachment:
signature.asc
Description: This is a digitally signed message part