sphinx4

Make Sphinx4 Recognize all the numbers using custom .gram file

天涯浪子 提交于 2019-12-12 03:56:13
问题 Description A speech recognizer calculator in Java Using Sphinx4 library exists. The full code on github: here The gram file i am using is the below(on github): #JSGF V1.0; /** * JSGF Grammar */ grammar grammar; public <syntax> = (one | two | three| four| five | six | seven | eight | nine | ten | eleven | twelve | thirteen | fourteen | fifteen | sixteen | seventeen | eighteen | nineteen | twenty) (plus | minus | multiply | division) (one | two | three| four| five | six | seven | eight | nine

sphinx-4 NullPointerException at startRecognition

不羁的心 提交于 2019-12-12 03:26:05
问题 I'm trying to follow this tutorial, and it crashes upon startup after having lots of problems with the dictionary and models, such as. The dictionary is missing a phonetic transcription for the word 'humphrey' and Dec 18, 2014 1:14:50 PM edu.cmu.sphinx.linguist.lextree.HMMTree addPronunciation SEVERE: Missing HMM for unit T with lc=N rc=EH1 13:14:50.601 SEVERE lexTreeLinguist Bad HMM Unit: EH1 I loaded this dictionary and got the language and acoustic models from their SourceForge page It

Large vocabulary speech recognition in sphinx4

瘦欲@ 提交于 2019-12-11 09:48:08
问题 As far as I know till now, sphinx4 requires grammar to identify the words. Is there anyway to get the input without using grammar rules, that is not in the grammar, somewhat like I am dictating and it will write what I will say? 回答1: As far as I know till now, sphinx4 requires grammar to identify the words. No, sphinx4 supports large vocabulary speech recognition Is there anyway to get the input without using grammar rules, that is not in the grammar, somewhat like I am dictating and it will

Sphinx4 breaks on AWS Elastic Beanstalk, works on dev machine

房东的猫 提交于 2019-12-11 09:43:56
问题 I created a dummy Maven project that wraps CMU Sphinx4 in a servlet. The dependencies are sphinx4-core:1.0-SNAPSHOT and sphinx4-data:1.0-SNAPSHOT . When running locally (Eclipse) it works great, but then I deploy it to AWS Elastic Beanstalk and I get the following exception: Property exception component:'null' property:'null' - java.io.FileNotFoundException: JAR entry edu/cmu/sphinx/models/en-us/en-us//means not found in /var/lib/tomcat8/webapps/ROOT/WEB-INF/lib/sphinx4-data-1.0-SNAPSHOT.jar

microphone not starting after one iteration in sphinx

无人久伴 提交于 2019-12-11 07:26:50
问题 I am using CMU sphinx library, but after successfully running one iteration, this error appears "Can't open microphone line with format PCM_SIGNED 16000.0 Hz, 16 bit, mono, 2 bytes/frame, big-endian not supported." Cannot start microphone. When run on eclipse in ubuntu 12.10, code works fine for all iterations. Why is this error appearing when using eclipse in Windows 7 ? 回答1: If you have something like this in your config xml file: <component name="microphone" type="edu.cmu.sphinx.frontend

Sphinx4 speech recognition trasncribe demo not working accurately for short wav file

喜你入骨 提交于 2019-12-11 04:22:03
问题 i had just implemetned the transcriber demo for the transcribe the audio file .. My audio file is .wav file which consist only names like "BHAVIK" "ANKIT" "SAGAR" My grammer File Consist of this grammer as follows: - public = (JAY)|(SAGAR)|(BHAVIK)|(ANKIT)|(MIRAJ)|(YAGNESH); But Problem is that the transcriber demo not provide the correct result ..its just providing me somthing other when i give .wav file of "JAY" ..its not give the correct result.. Why this happening? my .wav file is here u

Using Sphinx4.0 to build a speech recog. Android application

試著忘記壹切 提交于 2019-12-11 02:24:23
问题 I have been creating a java application for speech recognition using Sphinx4 in eclipse IDE and it worked out good! But now, i have an idea of turning the project to work on android platform. The code came out well for the sphinx4 demo speech recog. program in Android, But it crashes when i try to run it on a device! saying it has "Stopped Unexpectedly!" (Force closed) From my Survey in the internet, i've heard that Sphinx configures microphone in a way thats not compatible with dalvik. SO is

Sphinx4 ConfidenceResult and SpeechResult

浪子不回头ぞ 提交于 2019-12-08 13:14:24
I'm trying to get the confidence score of a SpeechResult by doing ConfidenceResult cr = scorer.score(result) ; Where result is a SpeechResult and scorer is a ConfidenceScorer . As it turns out this isn't allowed. Is there some way around this that I'm not seeing, besides using a Result type? Yes, you can do this, although it's a little bit roundabout. A confidence result is actually a Sausage (no, not kidding, that's what it's called: SphinxDocs:Sausage . Although it's also known as a Word Confusion Network, it's sometimes referred to as a sausage because of what the graph looks like. See Fig

mp3 recognition using Sphinx 4

前提是你 提交于 2019-12-08 12:13:23
问题 Can we use mp3 files for the voice recognition process without using wav files? or can we generate a wav file from a mp3 and then do the voice recognition without a serious impact on the accuracy? The problem is I need to minimize the load transferred through the network in my application. Will the information which is lost in the conversion be a huge factor for accuracy? 回答1: Can we use mp3 files for the voice recognition process without using wav files? Not directly. To be able to recognize

Sphinx4 ConfidenceResult and SpeechResult

余生颓废 提交于 2019-12-08 04:54:58
问题 I'm trying to get the confidence score of a SpeechResult by doing ConfidenceResult cr = scorer.score(result) ; Where result is a SpeechResult and scorer is a ConfidenceScorer . As it turns out this isn't allowed. Is there some way around this that I'm not seeing, besides using a Result type? 回答1: Yes, you can do this, although it's a little bit roundabout. A confidence result is actually a Sausage (no, not kidding, that's what it's called: SphinxDocs:Sausage. Although it's also known as a