Questions tagged [cmusphinx]

An open-source toolkit for speech recognition. Includes speech recognizers Sphinx 2-4, PocketSphinx and a set of tools to supplement the recognizers.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

Java. LineUnavailableException, Sphinx API, Maven

When I run the application, it's initially on InitForm, and everything works fine. When I move to another tab, everything is fine, but as soon as I click on the tab with InitForm everything hangs, ...
Коля's user avatar
0 votes
0 answers
28 views

How can I generate transcript from my audio with timestamps in pocketsphinx using jupyter?

#!/usr/bin/env python import pocketsphinx as ps DATADIR = 'deps/pocketsphinx/test/data' # Create a decoder with certain model config = ps.Decoder.default_config() decoder = ps.Decoder(config) # ...
kpl_gpt's user avatar
0 votes
0 answers
35 views

Impossible to pip install pysphinx

I am trying to use Pysphynx to run the following speech-to-text transcription code. It seems that there is just no way to install pysphinx, I get the standard error message: ERROR: Could not find a ...
Julien's user avatar
  • 1
0 votes
2 answers
90 views

Python return statement never reached but prints immediately before it

I am trying to call a take_command() function from main.py. The system prints the value right before the return call, but doesn't actually return the value to main.py. The take_command() function was ...
abristow's user avatar
0 votes
2 answers
834 views

Cannot install libpulse-dev in Ubuntu

I like to use PocketSphinx speech recognition engine. For that, libpulse-dev is one of the dependencies. However, I cannot install libpulse-dev in my system. I used the following command to install ...
Noah willis's user avatar
0 votes
1 answer
265 views

How to run wake word detection with pocket sphinx on iOS?

I try to run the wake word detection from pocket sphinx on iOS. As base I used TLSphinx and the speech to text works (not good STT, but it recognizes words). I extended the decoder.swift by a new ...
chocolate cake's user avatar
0 votes
1 answer
38 views

How could I change the time before the speech result is closed CMUSphinx4

I want to change the time before the speechresult is closed. For example, If I say "Hello", and then wait a second before saying "Hi", they will be 2 separate speech results. If I ...
Delected's user avatar
0 votes
0 answers
888 views

Failing to open audio device (/dev/dsp)

I am using pocketsphinx to adapt my acoustic model which i have trained. So to use the model in pocketsphinx, i ran the following command: pocketsphinx_continuous -inmic yes -lm "/home/ridwan/...
Ridwan Bhugaloo's user avatar
1 vote
0 answers
50 views

Getting Warnings when doing Batch Build on a solution on Visual Studio

I have a solution with 30 project inside. I have rebuild the solution with the 30 projects successfully. However, when I click on Batch Build... and by selecting all to build, I get 360 Warnings. Here ...
Ridwan Bhugaloo's user avatar
1 vote
1 answer
62 views

"sphinx_fe.c", line 133: Number of channels 2 does not match configured value

i am trying to create speech recognizer for my native speaking language(Serbian) i followed steps described in this documentation https://cmusphinx.github.io/wiki/tutorialam/ and when running command ...
Lazar Mihailović's user avatar
1 vote
1 answer
320 views

Getting started with Speech Recognition and Sphinx

Sphinx seems to be only real option for Java speech recognition. Documentation is sparse and it requires a high-level of domain knowledge. I used their example of a starting program and it works ...
Peter Kronenberg's user avatar
0 votes
0 answers
1k views

How to fix java.lang.module.findexception and java.lang.IllegalArgumentException

I've been trying to make a speech recognition program with CMU sphinx- and sphinx-5 real alpha. I am doing this following a tutorial on youtube https://www.youtube.com/watch?v=R8vsXKFTee0&t=216s. ...
Roma's user avatar
  • 1
0 votes
0 answers
50 views

Android / PocketSphinx: listener goes in standby a while after screen goes off

I made a simple app that responds to vocal commands using PocketSphinx to understand commands and standard Google's library to speak, in a sort of conversation. It's working well but I have a problem ...
Hammeronthenet's user avatar
1 vote
0 answers
220 views

CMUSphinx simplest keyword "wake word" example?

New to the whole sphinx4 world. Trying to get a "wake word" hello world app running off a raspberry pi 3 / Kotlin. I think this means pocketsphinx is out because it is only android... The ...
Benjamin H's user avatar
  • 5,174
1 vote
1 answer
757 views

use your trained language model in recognize_sphinx() using python with pocketsphinx

I've trained my langue model with cmu sphinx and now I want to use it in speech recognition using python script. How to change the default language model or how to use the trained model in ...
Ijaz Ulhassan's user avatar
0 votes
1 answer
457 views

pocketsphinx - Not running

I installed pocketsphinx using pip command pip install pocketsphinx i referred the link pocketsphinx installation then i add a test.py and add code like this from pocketsphinx import LiveSpeech for ...
Eleena's user avatar
  • 89
1 vote
1 answer
365 views

Offline Automatic Speech Recognition(ASR) In Android with maximum accuracy

I am looking for ASR in android with maximum accuracy and went through some implementations as follows Android Recognizer(Native Android) Sphinx Tensor flow lite KeenASR kitt.ai Need some inputs ...
user_8275's user avatar
  • 253
1 vote
0 answers
563 views

How to detect filler sound like um, uh, etc using cmusphinx/mozilla deepspeech/google stt etc?

I am working on a project in Speech Recognition and the task is to detect filler sounds like um, uh, eh, etc. on audio clips of children/students speaking in English. Their speaking English is not ...
Sumit Jangra's user avatar
1 vote
1 answer
379 views

Debugging speech recognition of custom word PocketSphinx.js

QUESTION: I am looking for a debugging tool/method that I can use to discover what the problem is when PocketSphinx.js does not recognize a custom word I have defined. Specifically, I would like to ...
SvdSinner's user avatar
  • 961
1 vote
0 answers
216 views

Sphinx4 StreamSpeechRecognizer In Real Time

I'm trying to record audio at a client, send it to a "server," and then use speech-to-text at the "server" with Sphinx4. My code: public class SoundModifier implements Runnable { private static ...
Eternal Ambiguity's user avatar
1 vote
0 answers
530 views

python CMU Sphinx with grammar

I trying to run this example from : https://github.com/Uberi/speech_recognition/blob/master/examples/special_recognizer_features.py But when the grammar is loaded and try to create the fsg file is ...
Ivan Fontalvo's user avatar
1 vote
0 answers
236 views

PocketSphinx OSError: [Errno -9981] Input overflowed PyAudio

First I want to tell the tools that I use: *1. Raspberry pi 3b+ ReSpeaker 4Mic Array Circular (Mic) Linux Debian "Buster" Thonny Python IDE* My problem is every time I try to run my code, it always ...
ismailryt's user avatar
0 votes
0 answers
157 views

Allowing Microphone Access for Cinder CMake Project

I am creating a game which requires microphone input using the Cinder library. I am using CLion with CMake as my build system, but I am pretty new to CMake. The app is unable to access the microphone ...
Shiven Kumar's user avatar
1 vote
1 answer
61 views

CMUSphinx with custom features

I'm trying to train a new accoustic model for speechrecognition, with custom features. Is it possible to feed the feature matrix instead of wav file into CMUSphinx for training? I have tried searching ...
aether643's user avatar
  • 190
2 votes
1 answer
3k views

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 ...
pilars32's user avatar
1 vote
0 answers
531 views

Continuous Speech Recognition from pocket-sphinx-android-demo

I am trying to get continuous speech recognition working using pocketsphinx. I tried following their tutorial (https://cmusphinx.github.io/wiki/tutorialandroid/), although to me it is somewhat vague ...
Michael Zeng's user avatar
0 votes
0 answers
28 views

Change input source for Swing Dialog

I am trying to write some speech recognition program with Sphinx, recognition works well. But when in UI Swing dialog coming, it is waiting for some input from the keyboard and it blocks further ...
Angela's user avatar
  • 1
1 vote
1 answer
274 views

Pocketsphinx Build small vocabulary model

I want to build a small vocabulary model in german for pocketsphinx (.lm) which can only recognize the german numbers from 0-9. Using the Voxforge de-de model the performance was VERY bad (nearly no ...
scumpidou's user avatar
1 vote
0 answers
134 views

Perform Speech-to-Text in Python using pre-transcribed text as guide

I'm working on a python application that's meant to align video clips based on what actors are saying on screen. As an example, I have a scene where actors are reading dialogue from a script. They do ...
russellaugust's user avatar
1 vote
3 answers
2k views

library pocketsphinx not downloading using pip or binary files

I am working on a speech recognition software and wanted to test out pocketsphinx and have tried to install it using pip on windows 10 python version 3.8 and it wont download usually i would fix the ...
exe.good programmer's user avatar
1 vote
1 answer
62 views

What does the parenthesis mean with a cmusphinx result?

My output is: ['<s>', 'does', 'any', '<sil>', 'unable', 'to(3)', 'bear', 'the', 'senate', 'is', 'touching', 'emotion', 'turned', 'away', '<sil>', 'and(2)', 'ill', 'afford', '<sil&...
Shamoon's user avatar
  • 41.3k
1 vote
0 answers
181 views

Windows 10 server ffmpeg configuration

FF-MPEG Run-time execution in java not running in windows 10 server.I Have test with my system its working perfectly but in windows 10 server not works.i have also gives the environment variable path ...
Aakash's user avatar
  • 21
1 vote
2 answers
4k views

How do I convert audio format from mp3 to wav in iOS using Swift?

I am using cmusphinx in iOS using Swift, and cmusphinx uses audio files in wav format, while the files I need to use are in mp3 format. How do I convert audio files of mp3 format to wav format in iOS ...
daniel's user avatar
  • 1,504
0 votes
0 answers
124 views

Sentences Recognition Using CMU Sphinx

enter image description hereI am a researcher, and I am making speech recognition system using CMU Sphinx. I have succesfully trained words of Sindhi Language with very low accuracy. Now I wanted to ...
Muhammad Saim Hashmi's user avatar
0 votes
0 answers
163 views

How to only detect keywords with continuous recognition for Sphinx4 in Java desktop application?

I am new to Sphinx and I have read about the various examples used across the multiple programming languages that allows for continuous voice recognition. I am trying to figure out the best way to do "...
steven's user avatar
  • 508
4 votes
2 answers
101 views

TLSphinx cmusphinx pocketsphinx Hypothesis result text empty string score negative (-) number

I ran the sample code in the readme file at tryolabs/TLSphinx README.md, and the result of the text property of the Hypothesis is whitespace, while the score property is a negative number of -4420. ...
daniel's user avatar
  • 1,504
0 votes
0 answers
237 views

Xcode compile error: Command Lex failed with a nonzero exit code

I am getting an error message in Xcode for an iOS project during compile time pertaining to the file 6844.lm in my project that says: Command Lex failed with a nonzero exit code What is Xcode ...
daniel's user avatar
  • 1,504
0 votes
0 answers
37 views

build_iphone.sh: line 52: /Users/.../pocketsphinx-master/configure: No such file or directory

I'm on macOS Mojave in terminal, and I'm getting an error that says no such file or directory for the directory ".../pocketsphinx-master/configure" when I run build_iphone.sh, which I got from this ...
daniel's user avatar
  • 1,504
1 vote
0 answers
444 views

ERROR: "acmod.c", line 79: Folder '/...' does not contain acoustic model definition 'mdef' - cmusphinx - TLSphinx

How do I fix this? I am trying this wrapper to pocketsphinx with their example codeexample code. Here is that code in my Xcode iOS project in Swift: let hmm = "/Users/shinehah/Documents/cmusphinx/...
daniel's user avatar
  • 1,504
0 votes
1 answer
453 views

Could not find module 'TLSphinx' for architecture 'arm64'; found: i386

I am using the TLSphinx from GitHub with my Xcode Swift iOS Project. I had built the TLSphinx project before I used the framework. I had been given incomplete and confusing instructions from ...
daniel's user avatar
  • 1,504
0 votes
0 answers
48 views

Compling makefile of CMU Pocketsphinx with Swing

I am trying to port PocketSphinx to C#. they already have makefile that I need to run. When I run the makefile, I get below error Here is the makefile link. I obtained the following error message. ...
waleed.makarem's user avatar
0 votes
1 answer
533 views

Matching All Substrings in JSGF Grammar

I am using a jsgf format grammar with pocketsphinx. I want to be able to match/recognise a only a finite number of possible input sentences (i.e. a command and control type interface). However, due ...
John Don's user avatar
  • 323
1 vote
1 answer
337 views

CMUSphinx Training acoustic model very low accuracy

I've followed tutorial https://cmusphinx.github.io/wiki/tutorialam/ to train a new acoustic model for my Vietnamese language. Simply, I've recorded digits from 0 to 9 to train and also used these ...
Anh Quý Lê Gia's user avatar
2 votes
1 answer
95 views

Speech-to-text number capture

Is there a method for capturing spoken numbers via using cmusphinx? Poking around in the cmudict-en-us.dict file I find the following, forty F AO R T IY forty-five F AO R T IY F AY V fifty F IH F T ...
portsample's user avatar
  • 1,986
1 vote
1 answer
3k views

how to perform continuous speech to text on webrtc communication audio stream in mobile app

I am trying to add a continuous speech to text recognizer in a mobile application during a webrtc audio-only call. I'm using react native on the mobile side, with the react-native-webrtc module and a ...
Oscar's user avatar
  • 1,071
0 votes
0 answers
52 views

How to do isolated word recognition using pocketsphinx

I tried to follow this link for isolated word recognition Speech to text for single word But when I am providing -keyphrase, it is giving me the result (keyphrase word) even if I am giving a wrong ...
Sumit Jangra's user avatar
0 votes
0 answers
523 views

Ways to improve recognition speed of C# System.Speech.Recognition even at the cost of accuracy? Creating live phoneme recognizer

I'm creating a small application that requires a live feed of phonemes to be output as the user speaks into their microphone. In my case, the speed of the recognition output is the number 1 priority, ...
bk999's user avatar
  • 35
2 votes
1 answer
110 views

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 ...
Drizzt Do'Urden's user avatar
0 votes
1 answer
65 views

Do I need to add updated phoneme sequence of words to .dict file while adapting AM using cmusphinx?

I am trying to adapt en-us acoustic model with indian english accent recordings. Since many words are pronounced in different accent, do I need to add the updated phoneme representation of words? ...
Sumit Jangra's user avatar
1 vote
2 answers
291 views

CMU Sphinx and time indexed words

I have run the example of Pocketsphinx Python and now I am facing the issue that I want to run a 60sec wav file for speech recognition in English and want as output - the English translation AND - ...
Andi Maier's user avatar

1
2 3 4 5
14