×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    3

    Speech Recognization in Java ME

    Hi,
    I am following this code for speech recognition :-
    http://wiki.forum.nokia.com/index.ph...ion_in_Java_ME

    The problem is netbeans ide is giving some errors: symbol not found, EngineManager, RecognizerMode etc.


    Recognizer rec = (Recognizer) EngineManager.createEngine(RecognizerMode.DEFAULT);
    // Load language specific data – can take time
    rec.allocate();
    RuleGrammar gram = // what to recognize
    rec.loadRuleGrammar("HelloWorld.s", grammarMarkup);
    rec.addResultListener(this); // get recognized words
    rec.requestFocus(); // user talks to us
    rec.resume(); // process audio
    // Would do other things here - wait for deallocate
    rec.waitEngineState(Engine.DEALLOCATED);

    Can someone help to solve this problem?

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: Speech Recognization in Java ME

    Hello arpbansal,

    and welcome to Forum Nokia Discussion Boards!

    AFAIK NetBeans IDE does not support this API, based on your errors this seems to be the case.

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  3. #3
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: Speech Recognization in Java ME

    Does the device that you are using have the needed API's ? specifically the JSR 113 API ?
    do your imports (import javax.speech.* if im not mistaken) work at all ?

    also have a look at this thread :
    http://discussion.forum.nokia.com/fo...d.php?t=187875

    and this one is also very very interesting :
    http://conversations.com/Forum/tabid...s/Default.aspx

Similar Threads

  1. Java & Symbian c++ signing
    By deafbat in forum Mobile Java General
    Replies: 3
    Last Post: 2010-02-19, 14:33
  2. Replies: 0
    Last Post: 2004-11-27, 17:03
  3. can't open Nokia MMS Java Library
    By barnsley in forum General Messaging
    Replies: 3
    Last Post: 2004-08-28, 05:44
  4. j2ME, java enabled, and the 3410
    By davidkangaroo in forum Mobile Java General
    Replies: 2
    Last Post: 2002-07-05, 22:30
  5. JSR-113 Java Speech API Implementation
    By glecglec in forum Mobile Java General
    Replies: 0
    Last Post: 2002-06-21, 13:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×