提高Android中的速度识别引擎精度

时间:2017-01-04 05:28:45

标签: android speech-recognition speech-to-text android-speech-api

我正在使用SpeechRecognizer和RecognizerIntent在android中发送语音到文本,这是我的代码:

recognizerIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
recognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, "en-IN");
recognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_PREFERENCE, "en-IN");
recognizerIntent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, this.getPackageName());
recognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_WEB_SEARCH);
recognizerIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 1);

还可以做些什么来提高语音准确度?

0 个答案:

没有答案
相关问题