montage

Forum Replies Created

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

  • Author
    Posts
  • in reply to: Multi digit number recognition #1019122
    montage
    Participant

    That is what I have had to end up doing. Tuning the probability wasn’t giving me the accuracy I required so I ended up putting more effort into the hypothesis processor and it appears to be working better.

    in reply to: Multi digit number recognition #1019076
    montage
    Participant

    Interesting, in adjusting the probability values I was able to get TwentyOne properly recognized but I am unable to get TwentyTwo recognized. RapidEars insists on returning two terms when TWENTYTWO is spoken. I’m wondering if there a different way of specifying the dictionary terms that might lend itself to more accuracy.

    in reply to: Multi digit number recognition #1019065
    montage
    Participant

    So the edited .arpa file path replaces the language model path in:

    startRealtimeListeningWithLanguageModelAtPath:
    dictionaryAtPath:
    acousticModelAtPath:

    ?

    in reply to: Multi digit number recognition #1019034
    montage
    Participant

    Thanks for the prompt response. Here is the .arpa file. I am currently only using TWENTYONE (21) and TWENTYTWO (22) as test cases. If this works I will need to have the full range from TWENTYONE (21) to THIRTYFIVE (35).

    Beginning of data mark: \data\
    ngram 1=nr # number of 1-grams
    ngram 2=nr # number of 2-grams
    ngram 3=nr # number of 3-grams

    \1-grams:
    p_1 wd_1 bo_wt_1
    \2-grams:
    p_2 wd_1 wd_2 bo_wt_2
    \3-grams:
    p_3 wd_1 wd_2 wd_3

    end of data mark: \end\

    \data\
    ngram 1=29
    ngram 2=54
    ngram 3=27

    \1-grams:
    -98.8186 </s> -1.1303
    -0.3010 <s> 0.0000
    -1.7324 BLOCKED -0.3010
    -1.7324 EIGHT -0.3010
    -1.7324 EIGHTTEEN -0.3010
    -1.7324 ELEVEN -0.3010
    -1.7324 FIFTEEN -0.3010
    -1.7324 FIVE -0.3010
    -1.7324 FOUR -0.3010
    -1.7324 FOURTEEN -0.3010
    -1.7324 GOAL -0.3010
    -1.7324 MISS -0.3010
    -1.7324 NINE -0.3010
    -1.7324 NINETEEN -0.3010
    -1.7324 ONE -0.3010
    -1.7324 SEVEN -0.3010
    -1.7324 SEVENTEEN -0.3010
    -1.7324 SHOT -0.3010
    -1.7324 SIX -0.3010
    -1.7324 SIXTEEN -0.3010
    -1.7324 TEN -0.3010
    -1.7324 THIRTEEN -0.3010
    -1.7324 THIRTY -0.3010
    -1.7324 THREE -0.3010
    -1.7324 TWELVE -0.3010
    -1.7324 TWENTY -0.3010
    -1.7324 TWENTYONE -0.3010
    -1.7324 TWENTYTWO -0.3010
    -1.7324 TWO -0.3010

    \2-grams:
    -1.7324 <s> BLOCKED 0.0000
    -1.7324 <s> EIGHT 0.0000
    -1.7324 <s> EIGHTTEEN 0.0000
    -1.7324 <s> ELEVEN 0.0000
    -1.7324 <s> FIFTEEN 0.0000
    -1.7324 <s> FIVE 0.0000
    -1.7324 <s> FOUR 0.0000
    -1.7324 <s> FOURTEEN 0.0000
    -1.7324 <s> GOAL 0.0000
    -1.7324 <s> MISS 0.0000
    -1.7324 <s> NINE 0.0000
    -1.7324 <s> NINETEEN 0.0000
    -1.7324 <s> ONE 0.0000
    -1.7324 <s> SEVEN 0.0000
    -1.7324 <s> SEVENTEEN 0.0000
    -1.7324 <s> SHOT 0.0000
    -1.7324 <s> SIX 0.0000
    -1.7324 <s> SIXTEEN 0.0000
    -1.7324 <s> TEN 0.0000
    -1.7324 <s> THIRTEEN 0.0000
    -1.7324 <s> THIRTY 0.0000
    -1.7324 <s> THREE 0.0000
    -1.7324 <s> TWELVE 0.0000
    -1.7324 <s> TWENTY 0.0000
    -1.7324 <s> TWENTYONE 0.0000
    -1.7324 <s> TWENTYTWO 0.0000
    -1.7324 <s> TWO 0.0000
    -0.3010 BLOCKED </s> 1.1303
    -0.3010 EIGHT </s> 1.1303
    -0.3010 EIGHTTEEN </s> 1.1303
    -0.3010 ELEVEN </s> 1.1303
    -0.3010 FIFTEEN </s> 1.1303
    -0.3010 FIVE </s> 1.1303
    -0.3010 FOUR </s> 1.1303
    -0.3010 FOURTEEN </s> 1.1303
    -0.3010 GOAL </s> 1.1303
    -0.3010 MISS </s> 1.1303
    -0.3010 NINE </s> 1.1303
    -0.3010 NINETEEN </s> 1.1303
    -0.3010 ONE </s> 1.1303
    -0.3010 SEVEN </s> 1.1303
    -0.3010 SEVENTEEN </s> 1.1303
    -0.3010 SHOT </s> 1.1303
    -0.3010 SIX </s> 1.1303
    -0.3010 SIXTEEN </s> 1.1303
    -0.3010 TEN </s> 1.1303
    -0.3010 THIRTEEN </s> 1.1303
    -0.3010 THIRTY </s> 1.1303
    -0.3010 THREE </s> 1.1303
    -0.3010 TWELVE </s> 1.1303
    -0.3010 TWENTY </s> 1.1303
    -0.3010 TWENTYONE </s> 1.1303
    -0.3010 TWENTYTWO </s> 1.1303
    -0.3010 TWO </s> 1.1303

    \3-grams:
    -0.3010 <s> BLOCKED </s>
    -0.3010 <s> EIGHT </s>
    -0.3010 <s> EIGHTTEEN </s>
    -0.3010 <s> ELEVEN </s>
    -0.3010 <s> FIFTEEN </s>
    -0.3010 <s> FIVE </s>
    -0.3010 <s> FOUR </s>
    -0.3010 <s> FOURTEEN </s>
    -0.3010 <s> GOAL </s>
    -0.3010 <s> MISS </s>
    -0.3010 <s> NINE </s>
    -0.3010 <s> NINETEEN </s>
    -0.3010 <s> ONE </s>
    -0.3010 <s> SEVEN </s>
    -0.3010 <s> SEVENTEEN </s>
    -0.3010 <s> SHOT </s>
    -0.3010 <s> SIX </s>
    -0.3010 <s> SIXTEEN </s>
    -0.3010 <s> TEN </s>
    -0.3010 <s> THIRTEEN </s>
    -0.3010 <s> THIRTY </s>
    -0.3010 <s> THREE </s>
    -0.3010 <s> TWELVE </s>
    -0.3010 <s> TWENTY </s>
    -0.3010 <s> TWENTYONE </s>
    -0.3010 <s> TWENTYTWO </s>
    -0.3010 <s> TWO </s>

    \end\

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