将语音转换为文本转换为、语音、文本

2023-09-05 02:27:28 作者:亂世溫存

我已经通过样品code present在Android SDK中消失了。它告诉你应该有语音识别APK在设备中。我尝试了很多,但找不到任何的apk。任何人都可以提出来安装以获得语音识别其语音识别APK。我的设备是三星Galaxy。

I have already gone through the sample code present in the Android SDK. It tells that you should have voice recognition APK in your device. I tried a lot but could not find any apk. Can anyone suggest which voice recognition APK to install to get voice recognition. My device is a Samsung Galaxy.

推荐答案

更​​新:

根据这篇文章 ,谷歌语音搜索是你真正需要的。

According to this article, Google Voice Search is what you actually need.

Android的SDK可以很容易地直接集成语音输入到自己的应用程序,只需复制,并从该示例应用程序上手。 Android是一个开放平台,让您的应用程序有可能利用该公司注册在设备上的任何语音识别服务的接收的 RecognizerIntent 。谷歌的语音搜索应用程序,这是在许多Android设备pre-安装,通过显示现在讲对话和流音频到谷歌的服务器,在相同的服务器,当用户点击的麦克风按钮用来响应一个RecognizerIntent搜索小工具或语音功能的键盘。 (您可以检查语音搜索是安装在设置➝➝管理应用程序的应用程序。)

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.)