Android SpeechRecognizer “confidence” values are confusing

后端 未结 3 695
灰色年华
灰色年华 2020-12-31 02:57

I\'m using the SpeechRecognizer via Intent:

Intent i = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
i.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL         


        
3条回答
  •  灰色年华
    2020-12-31 03:17

    The conventional speech recognition algorithm allows to return confidence of just 1-best result because it is the result compared with other results to calculate the confidence. It is also possible to return N best results instead of just 1-best, however, it is much harder to calculate confidence for them.

    It seems that Google implemented the conventional approach only and reserved place in the API for more detailed results with n-best confidence.

    You just have to wait for Google to implement everything properly.

提交回复
热议问题