android - 找不到语音转文本识别器

标签 android speech-recognition speech-to-text

我正在构建一个应用程序来记录用户的语音,然后将其转换为文本。来自这篇文章Stackoverflow Post我找到了源代码 android developers ,我已经运行了代码,但按钮文本显示为“RECOGNIZER NOT PRESENT”。我想我一定是缺少一些权限或其他东西,因为之前我创建了一个文本到语音转换器并且它工作正常。

任何想法可能是什么问题?

最佳答案

我不确定为什么识别器功能并非在所有设备上都可用。请务必安装并更新最新的 Android 版 Google 语音搜索。我相信它安装了最新的识别器。参见 http://www.google.com/mobile/voice-actions/这可能会有所帮助。

正如Dante Jiang 在Converting speech to text 中所说, 根据 this article , Google Voice Search是您真正需要的。

The Android SDK makes it easy to integrate speech input directly into your own application—just copy and paste from this sample application to get started. Android is an open platform, so your application can potentially make use of any speech recognition service on the device that's registered to receive a RecognizerIntent. Google's Voice Search application, which is pre-installed on many Android devices, responds to a RecognizerIntent by displaying the "Speak now" dialog and streaming audio to Google's servers—the same servers used when a user taps the microphone button on the search widget or the voice-enabled keyboard. (You can check if Voice Search is installed in Settings ➝ Applications ➝ Manage applications.)

关于android - 找不到语音转文本识别器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5253740/

相关文章:

android - 如何为 Android 开发设置 Vim 自动完成?

android - 如何以编程方式获取 RotateDrawable 的轴心?

android - 如何在 Android 中隐藏 toast 消息 “Your audio will be sent to google to provide speech recognition service.”?

android - .3gp 或 wav 格式的录制音频文件的语音识别

java - 如何在 Android 应用程序中的屏幕之间交换文本

android - 为什么我的 recyclerView 没有显示任何数据?

speech-recognition - 从视频和音频文件中提取语音的文本

JavaScript Web 语音 API : How can I need the value?

java - 如何在我的 Nexus 5 设备上使用其他语音识别服务?