Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java speech recognition help

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends

I got stuck while i began to write a speechh recognizer using java

When i try the following simple program to test if any recognizers are present or not then the output comes out to be null.




import javax.speech.recognition.*;
import javax.speech.*;
import javax.speech.synthesis.*;

class recogdemo
{
public static void main (String args[]) throws Exception
{
EngineModeDesc desc=new EngineModeDesc(null);
Recognizer recog=null;

recog=Central.createRecognizer(desc);

System.out.println(recog);

}
}




I dont the what is the problem .........
Somebody please help me its urgent........
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would guess that means that no recognizers are installed. Did you install any? I fairly certain that JavaSpeech does not come with any recognizers - it's just an API, but with no implementation.

Last time I looked (which was a while ago, and I didn't look very hard) I didn't notice any freely available speech recognition engines for JavaSpeech. (There's a free synthesis engine called FreeTTS on SourceForge, though.)
 
Morning came much too soon and it brought along a friend named Margarita Hangover, and a tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic