Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8482325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:47:46+00:00 2026-06-10T19:47:46+00:00

I had tried to implement sphinx4 speech recognition from All the sphinx4 forum and

  • 0

I had tried to implement sphinx4 speech recognition from All the sphinx4 forum and source.after

lots of difficulty i had succesfulll run the sphinx4 speech rocgnition in java in eclipse.but 

now i want that instead of the by default grammer provided in sphinx eg.[  (Hello|good Morning) 

(Bhiksha | Paul | Evandro | Reeta | will)  ]i want that i can add some words in this grammer 

file and that word Should be Like eg."Bhavik" Or somethng else.

I Had Done Following Steps For This Thing To achieve.

1). i had unzip the WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.rar file
2). then i added "Bhavik" Word Sphinx\sphinx4-1.0beta6-bin\sphinx4-1.0beta6\lib   
\WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz\WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz\dict    
\cmudict.0.6d File with its Pronouciation word
    e.g "BHAVIk  B HH AE V AH K"
3). then I had zip abck that rar file With same name and same extention.
4). and then  I had removed old WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar file path from the java file and add refrence of that new genrated rar file.

But Now Problem is that its Throwing me Error whenevr i tried to run that HelloWorld.java File
 with this Error in console

/*
Exception in thread “main” Property exception component:’dictionary’ property:’dictionaryPath’

- Can't locate resource:/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/cmudict.0.6d
edu.cmu.sphinx.util.props.InternalConfigurationException: Can't locate 

resource:/WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz/dict/cmudict.0.6d
    at edu.cmu.sphinx.util.props.ConfigurationManagerUtils.getResource

(ConfigurationManagerUtils.java:483)
    at edu.cmu.sphinx.linguist.dictionary.FastDictionary.newProperties

(FastDictionary.java:148)
    at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:505)
    at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:287)
    at edu.cmu.sphinx.linguist.language.grammar.Grammar.newProperties(Grammar.java:105)
    at edu.cmu.sphinx.jsgf.JSGFGrammar.newProperties(JSGFGrammar.java:231)
    at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:505)
    at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:287)
    at edu.cmu.sphinx.linguist.flat.FlatLinguist.newProperties(FlatLinguist.java:246)
    at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:505)
    at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:287)
    at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager.newProperties

(SimpleBreadthFirstSearchManager.java:182)
    at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:505)
    at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:287)
    at edu.cmu.sphinx.decoder.AbstractDecoder.newProperties(AbstractDecoder.java:65)
    at edu.cmu.sphinx.decoder.Decoder.newProperties(Decoder.java:37)
    at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:505)
    at edu.cmu.sphinx.util.props.PropertySheet.getComponent(PropertySheet.java:287)
    at edu.cmu.sphinx.recognizer.Recognizer.newProperties(Recognizer.java:90)
    at edu.cmu.sphinx.util.props.PropertySheet.getOwner(PropertySheet.java:505)
    at edu.cmu.sphinx.util.props.ConfigurationManager.lookup(ConfigurationManager.java:161)
    at edu.cmu.sphinx.demo.helloworld.HelloWorld.main(HelloWorld.java:37)

*/
Please Anyone Can suggest me that How to solve This Problem

My basic need is To Allow The User Defined Words in Dictionary File Not the Default Words Of 
Sphinx provide..

Anyone Can suggest me in right way...that where i m Wrong and if m right then how to resolve 

this error..
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T19:47:48+00:00Added an answer on June 10, 2026 at 7:47 pm

    I had Done successfully….with the above code..just while creating the jar ..make sure that u delete the meta-INF folder from the folder if incase its creates while u extrach jar file ..so while zip back again u need to delete that meta-inf folder and then zip it back with the jar -cf .jar_file_name folder_name in Command Promt and u wll be succeded….thanks for the asnwers..but i made it at atlast

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I had implement this push notification . I tried with push first message, it
In SSIS,I had tried to deploy a package, which is for importing data from
i have tried looking online but had no luck, How i could delete all
I tried to install Maven Integration for Eclipse from Eclipse Market Place. I had
I am using cake 1.3 and i had tried to implement favicon..But some strang
I had problem when tried to implement Facebook Credit into my website.. First step
I have tried to implement other solutions but have had no luck... hoping someone
I had tried to to put checkbox in listview through layout inflator and I
Possible Duplicate: Concatenate row values T-SQL I'm new to SQL Server and had tried
I had accidentally tried this, which compiles! So I was wondering what could this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.