Questions tagged [pocketsphinx]

PocketSphinx is a lightweight version of the CMU Sphinx open source cross-platform speech recognition system, optimized for mobile and handheld devices.

459 questions
2
votes
1 answer

Installing Pocketsphinx on Windows 10

I am trying to install pocketsphinx on Windows 10. I have downloaded pocketsphinx and sphinxbase, built them both, and put sphinxbase.dll into the pocketsphinx bin. However when I copy and paste the command…
pilars32
  • 41
  • 1
  • 7
2
votes
1 answer

How to Access the Confidence on Pocket Sphinx Transcription

I am converting audio to text using sphinx, and I can't find how to access the confidence score for each word I am able to access the transcription output, but I can't get the estimated probabilities behind the model. This feels basic, but I can't…
largesse
  • 75
  • 1
  • 5
2
votes
0 answers

Mac install PocketSphinx dependencies missing

I successfully installed PocketSphinx on Ubuntu16.04 and Mac 10.13.6(High Sierra), When I tried to install it on Mac 10.14.5(Mojave) with the command: $ pip3 install pocketsphinx, it couldn't find swig. and got this error Collecting pocketsphinx …
2
votes
2 answers

ERROR: Failed building wheel for pocketsphinx while trying to install pocketsphinx with pip

I'm trying to install pocketsphinx and get following error: jandornhege@JanDornhegeUbuntu:~/Hermes/Basefunktions$ pip install pocketsphinx Collecting pocketsphinx Using cached…
Jan Dornhege
  • 29
  • 1
  • 2
2
votes
1 answer

Get Timestamps of words (Speech-To-Text)

i actually use Pocketsphinx for Speech-To-Text an audio file. I use this command: pocketsphinx_continuous -logfn /dev/null -infile audio.wav > text.txt and i want to know if there is a way to get the timestamps of each word. Just like…
Tut Ozz
  • 147
  • 1
  • 2
  • 9
2
votes
1 answer

How to setup cmusphinx with lua?

So I wanted to go about designing an add-on for a game I play, World of Warcraft and the game uses Lua scripts. The add-on involves speech recognition. I found a library that apparently adds voice recognition functionality to Lua. Here is the link…
2
votes
1 answer

Docker - Installing packages on Alpine distro that aren't available in the Alpine repository

I have a docker image running on the Alpine distro and in order to get one of my requiements to work - pocketsphinx==0.1.15, I have to install a few dependencies inside my DockerFile: FROM python:3.7-alpine RUN apk update && \ apk add…
Sean
  • 515
  • 7
  • 17
2
votes
1 answer

Cross compiling Sphinxbase and Pocketsphinx for ARM

I am trying to make Pocketsphinx work on an ARM based processor for hot-word detection. So I am cross-compiling Sphinxbase and Pocketsphinx for ARM on a Ubuntu PC. I am able to install Sphinxbase and Pocketsphinx on 64-bit Ubuntu PC and make…
2
votes
1 answer

failed building wheel for pocketsphinx

(Macosx) I've been trying to install textract using pip install textract, but I get the below error message. I've installed pocketsphinx and swig already. I also don't know what the message about requests 2.18.4 has requirement…
2
votes
3 answers

PocketSphinx install can't find swig.exe

I have searched all over the web and especially have gone through all the questions regarding this here on Stackoverflow. I am using the following command to install it "pip install pocketsphinx" I have windows x64, I have not set any environmental…
John Smith
  • 851
  • 2
  • 10
  • 22
2
votes
1 answer

How to set a directory in PKG_CONFIG_PATH variable in ubuntu

I want to add a directory containing a .pc file, to the PKG_CONFIG_PATH variable, that is required for a certain program to run on Ubuntu. I tried to find out a solution from google but it didn't really work. I am pasting the log here. Please…
Tasbeer
  • 408
  • 10
  • 17
2
votes
0 answers

Error LNK2019 unresolved external symbol _cmd_ln_init referenced in function _main

I am trying to run my code using the library pocketsphinx. Even though I have used the .lib files for the library it still isn't working. My code: #include "stdafx.h" #include #define MODELDIR "c:/sphinx/model" int main(int argc,…
user7922014
2
votes
1 answer

Creating a Project with Pocketsphinx in Visual Studio

I followed this tutorial: https://cmusphinx.github.io/wiki/tutorialpocketsphinx/#initialization and builded up these 2 Files in VS. Now i want to use the library in my project but I don't know how to bind it in Visual Studio. Can someone help me…
Ossi
  • 75
  • 11
2
votes
1 answer

How to find a word in an audio file in Python?

I have an audio file that contains a spoken word. I am certain that it contains the word and I need to detect the beginning and end of the word. Any ideas of how to do this using python? Here's what I've done. I tried using a speech_recognition…
2
votes
1 answer

New Decoder Returned -1 When trying to run PocketSphinx on Raspberry pi

I am trying to get pocketsphinx to work on my raspberrypi 3. I have successfully installed it on my rpi but now it wont run correctly. I am using the example code they have for the python module on github but whenever I try to run it I get this…
sharpchain
  • 355
  • 2
  • 7
  • 15