views:

710

answers:

4

I'm developing a mobile application using j2me. There I need to have a speech recognition function, so that application should be able to process and act upon the commands given by the user. What I wanted to know is

  1. Is this technically possible (I'm a novice to j2me programming)?

  2. If it is possible, where can I find a j2me library for speech recognition?

Thanks in advance,

Nuwan

+2  A: 
  1. This is technically possible, but in reality most devices that run J2ME aren't powerful enough to do it in pure Java code. You need to look for devices which support JSR 113 - JavaTM Speech API 2.0.
  2. Look at JSR 113 - JavaTM Speech API 2.0.
atomice
Thanks for the answer. I think using JSR 113 will limit the type of devices that I can use the system very badly. What if I record the voice from the mobile and send the audio file to the server and do the voice recognition processing there and send the result back to the mobile. Will that be a better approach?
nuwan
Yes, I think that would be the better approach. There will be a bit of a delay while you send the data, and users may also object to the data charges (e.g. I pay £1/Mb on my calling plan.
atomice
A: 

There is a Java Speech API Implementation (JSR-113), which supposed to do speech recognition:
But, unfortunately, I don't know if any device support it :)

If you want to implement speech recognition yourself, there are many limitations in j2me such as slow performance, and impossibility to access audio data while recording.

Pavel Alexeev
Thanks for the answer. Yes, due to slow performance I'm also thinking about doing the recognition part in the server. But still I couldn't figure out which is the better approach
nuwan
Yes, I think that it is better to record audio-clip in mobile application, send it to server and recognize it using some powerful recognition system.
Pavel Alexeev
A: 

Here is a link that will help you to listen to your SMS... And its a full code written in J2ME.

http://wiki.forum.nokia.com/index.php/CS000980_-_Listening_for_incoming_SMS_messages:_Synchronous_version

Desai
A: 

Hi Nuwan. Even I'm trying to develop exactly the same thing for my college project. Even I am skeptical about the real time functioning of the project. My idea is to have all the processing done in the mobile device itself as I intend to only open applications with it like the app in nokia N-series. Still I am damn confused on how to go about it using the existing APIs as I am a J2ME novice myself.

In case you wanna discuss/brainstorm/exchange data with me, please feel free to contact me at [email protected] (i had made the email id whn I was 12 :P)

Hope to hear from you soon buddy! cheers!

chocosun
I'm sorry dude actually I gave up that idea. I couldn't found a API that is light and fast enough. So we dropped that requirement.
nuwan