Comments (8)
That is the outdated version, you should install pocketsphinx manually -
https://github.com/cmusphinx/pocketsphinx-python
On Thu, Apr 28, 2016 at 2:48 PM, Tobi [email protected] wrote:
When trying to run the basic usage example shown in the readme, it throws
an error already on importing:from pocketsphinx.pocketsphinx import *
File "sphinxbase.pxd", line 150, in init pocketsphinx (pocketsphinx.c:7935)
ValueError: PyCapsule_GetPointer called with invalid PyCapsule object-- has been installed from the repos (Ubuntu 14.04),
pip version info:
pip show pocketsphinxName: PocketSphinx
Version: 0.8
Location: /usr/lib/python2.7/dist-packages—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#15
Sincerely, Alexander
from pocketsphinx-python.
Well then I think it would be cool to change the Readme, I am sure more people have that error as long as the package in the repos is outdated. An unrelated question (sorry for that): is there a way to use this python-module to perform continuous speech recog?
from pocketsphinx-python.
https://github.com/cmusphinx/pocketsphinx/blob/master/swig/python/test/continuous_test.py
from pocketsphinx-python.
What is your suggestion on using actual microphone input? What sample-rate, etc.? Is there some code or clear explanation for that?
from pocketsphinx-python.
import pyaudio
p = pyaudio.PyAudio()
stream = p.open(format=pyaudio.paInt16, channels=1, rate=16000, input=True)
stream.start_stream()
from pocketsphinx-python.
Thanks a lot! Got it to work!
from pocketsphinx-python.
And regarding the readme, please excuse, fault was totally on my side (surprise!), it got too late last night. I misread the readme and installed with apt-get (this package in the repos seems to be broken?) instead of pip/git.
from pocketsphinx-python.
No problem, let us know if you have any issues.
from pocketsphinx-python.
Related Issues (20)
- train Indian English g2p model with seq2seq
- Please clarify the way of importing pocketshinx and sphinxbase modules in example.py HOT 1
- Basic usage example inaccurate? HOT 1
- How to print phoneme sequence? HOT 1
- how do i trained tidigits acoustic model with my own audiofiles? missing mixture_weights file in the acoustic tidigits model. HOT 1
- ImportError: cannot import name 'LiveSpeech' from 'pocketsphinx' HOT 3
- new_Decoder returned -1 when Unicode character on project path HOT 1
- Decoding with other acoustic models HOT 1
- how to use microphone ? HOT 2
- ERROR: "acmod.c", line 79: does not contain acoustic model definition 'mdef' HOT 1
- pip install fails HOT 1
- Can I use with PySoundFile? HOT 3
- pocketsphinx phrase in speech HOT 2
- This repository is 120 commits behind bambocher HOT 1
- Not able to install pocketsphinx HOT 2
- Pipenv install fails HOT 2
- Understand 'no_search' and 'full_utt' parameters HOT 1
- Should we be now using this branch? HOT 1
- testsuite failure on i386 HOT 1
- NameError: global name 'Ad' is not defined pocketsphinx HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pocketsphinx-python.