Spanish recognition – accented words

Home Forums OpenEars Spanish recognition – accented words

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

  • Author
    Posts
  • #1020418
    chickenthief2
    Participant

    All of my accented words seem to be using the fallback method. Am I doing something wrong?

    For example, ESTÁS will appear ‘in the normalized array’ as “EST\U00c1S”,

    then…

    “The word ESTÁS was not found in the dictionary …./AcousticModelSpanish.bundle/LanguageModelGeneratorLookupList.text/LanguageModelGeneratorLookupList.text”

    Also, other words – without accents – seem to be missing from the Spanish dictionary. Is the Spanish dictionary just smaller than the English one?

    Thanks a lot!

    #1020423
    Halle Winkler
    Politepix

    Is this from an NSArray or a text file?

    #1020425
    chickenthief2
    Participant

    Yeah, I thought that might be it, but I’ve tried both ways.

    #1020426
    Halle Winkler
    Politepix

    Is it with all accented letters or just specific ones?

    #1020427
    chickenthief2
    Participant

    I believe it’s all of them but I’ll double check on that when I get the chance. Words without accents that are in the dictionary seem to work Ok.

    I’ll also note that I have not made any modifications to the dictionary.

    Thanks

    #1020429
    Halle Winkler
    Politepix

    OK, let me know device and iOS and show me an NSArray of words that causes the result and I will take a look at it.

    #1020438
    chickenthief2
    Participant

    7.0.6 and iPhone 5s

    ESTÁS NOT found (fallback method):

    NSArray *words = [NSArray arrayWithObjects: @”HOLA”,
    @”BUENOS DÍAS”,
    @”BUENAS TARDES”,
    @”BIENVENIDO”,
    @”CÓMO ESTÁS”,
    @”LOS ESTADOS UNIDOS”,nil

    ESTÁS found:

    NSArray *words = [NSArray arrayWithObjects: @”HOLA”,
    @”BUENOS DÍAS”,
    @”BUENAS TARDES”,
    @”BIENVENIDO”,
    @”CÓMO ESTÁS”,
    ,nil

    #1020439
    Halle Winkler
    Politepix

    In this case, are all the other accented characters found?

    #1020440
    chickenthief2
    Participant

    yes

    #1020662
    Halle Winkler
    Politepix

    This was due to the lookup dictionary being sorted differently than LanguageModelGenerator expects and has been fixed for the next release of OpenEars.

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