minilv

Forum Replies Created

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

  • Author
    Posts
  • in reply to: Error in generateLanguageModelFromArray call #1033205
    minilv
    Participant

    I clicked on this website(https://www.politepix.com/openears/) and clicked on Go to the quickstart tutorial (Swift) to download.

    The OELanguageModelGenerator class is packaged as a static library.

    It is not public, or can you open source the code of this class to me for a look, Thanks a lot!

    in reply to: Error in generateLanguageModelFromArray call #1033203
    minilv
    Participant

    I only meet once this issue. And this is my release build. When I turn on the full log mode, this bug cannot reproduce again.

    But this OELanguageModelGenerator.m is private, and I can’t see the internal implementation.

    Can you help me check if this function can cause a crash? It is possible at line 601.

    OELanguageModelGenerator.m:601

    in reply to: Error in generateLanguageModelFromArray call #1033198
    minilv
    Participant

    I am using
    https://www.politepix.com/openears/ The latest code

    But I still encountered the bug of generateLanguageModelFromArray crash.

    Crash detailed stack:

    
    10  myApp                   0x00000001060b208c -[OECMUCLMTKModel runCMUCLMTKOnCorpusFile:withBin:binarySuffix:] + 21012620 (OECMUCLMTKModel.m:278)
    11  myApp                   0x00000001061110b8 -[OELanguageModelGenerator createLanguageModelFromFilename:] + 21401784 (OELanguageModelGenerator.m:488)
    12  myApp                   0x0000000106111ba8 -[OELanguageModelGenerator generateLanguageModelFromArray:withFilesNamed:forAcousticModelAtPath:] + 21404584 (OELanguageModelGenerator.m:601) <code></code>
    
    
    Code is:
    
    

    let languageModelGenerator = OELanguageModelGenerator()

    let keywordList = [“hey”, “test”, “start”]

    let firstLanguageArray = keywordList

    let firstVocabularyName = “FirstVocabulary”

    // AcousticModelEnglish from bundle.
    let firstLanguageModelGenerationError: Error! = languageModelGenerator.generateLanguageModel(from: firstLanguageArray, withFilesNamed: firstVocabularyName, forAcousticModelAtPath: OEAcousticModel.path(toModel: “AcousticModelEnglish”))
    `

    • This reply was modified 2 years, 9 months ago by minilv.
    • This reply was modified 2 years, 9 months ago by minilv.
    • This reply was modified 2 years, 9 months ago by minilv.
Viewing 3 posts - 1 through 3 (of 3 total)