I've been trying all day to get the Java Sphinx4 API to recognize my speech in real time, and it does. But it only does it once, after the program is opened. After it gets that first input, the program just freezes at recognizer.recognize();, even if I've used microphone.clear(); beforehand.
It doesn't matter what code I use. I've copied several examples from several sources, but they all do the same thing: Get one piece of my speech and then freeze at the next attempt to recognize. There was one time, though, where I let it sit for a few minutes and it registered a second time (though the result was blank). It didn't happen again, though.
I'm using a really crappy laptop. Is it just not capable of running this? I'd think if it could recognize a piece of speech, it could do more without hesitating. I have no idea what's wrong, so any help or suggestions would be greatly appreciated. :) Thanks!