Error message

Home Forums OpenEars Error message

Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)

  • Author
    Posts
  • #1019968
    bharti
    Participant

    i was trying to integrate the openears sample app into my app and i have changed the contents of .dic , .languagemodel,.txt file and now when i try to compile the code it gives me error that i have crossed the user defined limit of 64000 but i am not able to find this error msg in the sample app where as when i try to open the openears.xcodeproj i can modify it but i want to do that in the openearssample app..

    How should i proceed?

    #1019970
    Halle Winkler
    Politepix

    Welcome,

    OpenEars can’t be used with vocabularies of that size. A good vocabulary size for offline recognition on a handheld device will probably be fewer than ~200-500 words depending on content.

    #1019971
    bharti
    Participant

    Can u suggest how to add some 5000 words in the app and please tell me what has to be done with the .dic,.languagemodel,.txt file.While searching on the net i came across some .dic and .dmp where i get a word dictionary of around 5000.

    Can u please tell me how to include the fllowing.

    #1019972
    Halle Winkler
    Politepix

    Hi,

    OpenEars can’t be used with vocabularies of that size. A good vocabulary size for offline recognition on a handheld device will probably be fewer than ~200-500 words depending on content.

    If you have a language model and dictionary like the one that you described, that is oversized for offline recognition and which contains words which are unlikely to be spoken by an iPhone user such as the CMU general language model I think you are referring to, you can use it with OpenEars very easily using its method:

    - (void) startListeningWithLanguageModelAtPath:(NSString *)languageModelPath dictionaryAtPath:(NSString *)dictionaryPath acousticModelAtPath:(NSString *)acousticModelPath languageModelIsJSGF:(BOOL)languageModelIsJSGF;
    

    This method is documented in the following places:

    In the sample app with examples
    In the OpenEars documents and PDF and epub
    In the OpenEars tutorial with examples
    In the PocketsphinxController.h header

    The path to the DMP is passed to the languageModelPath argument and the path to the .dic is passed to the dictionaryPath argument.

    But the results of doing so will be inaccurate speech recognition, because the model is too large and its contents will not correspond to language that your app users will use.

    #1019973
    bharti
    Participant

    ya i have already tried this method of yours but it was highly inaccurate and so if possible could u tell me any other way to implement it.

    #1019975
    Halle Winkler
    Politepix

    Hi,

    I’d be happy to help you improve your accuracy. Here are my thoughts: the issue is that OpenEars can’t be used with vocabularies of that size. A good vocabulary size for offline recognition on a handheld device will probably be fewer than ~200-500 words depending on content.

    #1019976
    bharti
    Participant

    ok thank u

    #1019977
    bharti
    Participant

    hi ,
    I am sorry but we need to use it for online purpose.

    #1019978
    Halle Winkler
    Politepix

    OK, good luck!

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.