Has anybody tried to implement the automatic text formatting (punctuation) of recognitation results from Android SpeechRecognizer? It is decribed here.
根据这些文件,应当通过Extra启动:
recognizerIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
recognizerIntent.putExtra(RecognizerIntent.EXTRA_ENABLE_FORMATTING, true);
文件说:“在承认人履行责任时,这种价值可能不会影响......”。
但是,如何发挥格式化的作用? 有了这种“输出”的基本办法,它为我工作。 我用几处手表测试了这一结果,但I dont获得了任何格式化的结果。
谢谢!