0

I need to develop a Speech Recognition app using PocketSphinx . Can you suggest me how to use PocketSphinx in Eclipse?

Neha Shukla
  • 3,572
  • 5
  • 38
  • 69
ramya br
  • 225
  • 2
  • 17

1 Answers1

0

1) Install Eclipse CDT to write code in C in Eclipse

2) Follow instructions in C++: External library in eclipse CDT to add pocketsphinx library to your project

3) Implement the code you need based on pocketsphinx tutorial.

Community
  • 1
  • 1
Nikolay Shmyrev
  • 24,897
  • 5
  • 43
  • 87
  • Hello Nikolay, Need your guidance. I have downloaded the PocketSphinx Android project for Eclipse. I imported the code in Eclipse, did clean and build and run it. It ran successfully. Then I tried to put Speech Recognition in my own project. What I did was copied the libs folder files to my project and asset folder files to my project. I edited words in the .gram file and tried to run it. Is this way correct or do I need to do something else? –  Jul 21 '15 at 04:37
  • One thing I noticed was, when I did clean build of Demo project then it used to delete `.gram.md5` files and recreated them when I ran the project on device. But when I did clean build my own project, it did not recreated the `.gram.md5` files. Am I doing something wrong? –  Jul 21 '15 at 04:38
  • Actually this thing worked for sometime but after a few times of running the project it started showing me `\1e-1\` does not exist in the `.gram` file. However it was there. I referred to your answer here, http://stackoverflow.com/a/25749377/995009 –  Jul 21 '15 at 04:44
  • P.S. SourceForge is down for maintenance. –  Jul 21 '15 at 08:46