Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there a speech recognition API for Ubuntu/Linux? I have a school project and I need to transform speach to written text. The programming language isn't a problem. I've tried cmu-sphinx but haven't had much luck with it, meaning it didn't really recognize much of what my defined grammar or it just mixed up words. Any help on the matter would be appreciated. I've also searched google and couldn't really find much info.

share|improve this question

3 Answers 3

The two major open source speech-recognition engines in Ubuntu are Julius and Pocketsphinx. Both of these are quite low-level research projects, and you'll need to do a lot of reading and experimenting to be able to use them: they're not simple install-and-go projects. Simon Listens, as mentioned above, is a simple install-and-go project, and the Simon Listens project has a specific installation for Ubuntu -- http://www.cyber-byte.at/wiki/index.php/Installation#Ubuntu has instructions on how to enable it -- but that only works with 10.04, not the recently-released 10.10. (Hopefully the Simon Listens project will make a 10.10 version available soon.)

share|improve this answer

There's the Java Speech API which works cross-platform...

share|improve this answer
    
@Romeo, that means you need to code everything, I have used cmu-sphinx before it was decent, just doesn't do well with ambient noise. –  myusuf3 Oct 10 '10 at 9:56
    
Yes, I've looked into that but unfortunately the Java Speech API doesn't have an engine, its juts a wrapper of sorts for any engine that you already have installed, so that it can be used in Java –  Romeo Calota Oct 10 '10 at 11:04
    
@gabagecollector: so what exactly do you mean by I need to code everything. The problem is that ambient noise is inevitable. I used a headset microphone and I tested in a very quiet environment. –  Romeo Calota Oct 10 '10 at 11:07
    
@Rome Calota: that's right. A list of implementations can be found here: java.sun.com/products/java-media/speech/forDevelopers/… –  chris Oct 10 '10 at 12:30

Also have a look at Simon Listens which is using the Open-Source Large Vocabulary CSR Engine Julius.

share|improve this answer
    
thx, i'll look into Julius :) –  Romeo Calota Oct 10 '10 at 11:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.