㈠ 百度的語音識別是不是用的科大訊飛的
網路語音識別為開發者提供業界優質且免費的語音服務,通過場景識別優化,為車載導航,智能家居和社交聊天等行業提供語音解決方案,准確率達到90%以上,讓您的應用繪「聲」繪色網路也在做語音技術,現在已經完全免費開放了語音識別和語音合成技術,個人開發者都可以免費的使用。由吳恩達帶領的網路大腦團隊,也在為語音識別、語音合成等技術提供支持,網路的語音技術在未來不容小覷。科大訊飛是國內語音產業的先行者,應用領域從軍用到民用,包括移動互聯網、教育、車聯網、智能家居等。訊飛提供語音雲,支持多種方言,國內大部分應用的語音識別功能都是用了訊飛的介面,如高德地圖。網路、搜狗、騰訊等互聯網公司也有自家的語音識別技術,依託自身豐富的用戶資源和數據,發展迅速。從語音識別技術上來說,上面提到的公司用的都是深度神經網路(DNN)演算法,降噪方面可能有所差異,更多的差異是在語料庫,訊飛經過多年的積累,已經有了豐富的語料庫,當然那些互聯網公司的大數據也不容小覷。從個人體驗來說,目前訊飛在方言識別上是最出色的,標點符號根據停頓和語義自動給出。
㈡ android 上的語音識別是怎麼實現
語音識別,藉助於雲端技術可以識別用戶的語音輸入,包括語音控制等技術,下面我們將利用Google 提供的Api 實現這一功能。
功能點為:通過用戶語音將用戶輸入的語音識別出來,並列印在列表上。
功能界面如下:
步驟閱讀
2
用戶通過點擊speak按鈕顯示界面:
步驟閱讀
3
用戶說完話後,將提交到雲端搜索
步驟閱讀
4
在雲端搜索完成後,返回列印數據:
步驟閱讀
5
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a of the License at
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.example.android.apis.app;
import com.example.android.apis.R;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.os.Bundle;
import android.speech.RecognizerIntent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.ListView;
import java.util.ArrayList;
import java.util.List;
/**
* Sample code that invokes the speech recognition intent API.
*/
public class VoiceRecognition extends Activity implements OnClickListener {
private static final int VOICE_RECOGNITION_REQUEST_CODE = 1234;
private ListView mList;
/**
* Called with the activity is first created.
*/
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// Inflate our UI from its XML layout description.
setContentView(R.layout.voice_recognition);
// Get display items for later interaction
Button speakButton = (Button) findViewById(R.id.btn_speak);
mList = (ListView) findViewById(R.id.list);
// Check to see if a recognition activity is present
PackageManager pm = getPackageManager();
List activities = pm.queryIntentActivities(
new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0);
if (activities.size() != 0) {
speakButton.setOnClickListener(this);
} else {
speakButton.setEnabled(false);
speakButton.setText("Recognizer not present");
}
}
/**
* Handle the click on the start recognition button.
*/
public void onClick(View v) {
if (v.getId() == R.id.btn_speak) {
startVoiceRecognitionActivity();
}
}
/**
* Fire an intent to start the speech recognition activity.
*/
private void startVoiceRecognitionActivity() {
Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,
RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
intent.putExtra(RecognizerIntent.EXTRA_PROMPT, "Speech recognition demo");
startActivityForResult(intent, VOICE_RECOGNITION_REQUEST_CODE);
}
/**
* Handle the results from the recognition activity.
*/
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == VOICE_RECOGNITION_REQUEST_CODE && resultCode == RESULT_OK) {
// Fill the list view with the strings the recognizer thought it could have heard
ArrayList matches = data.getStringArrayListExtra(
RecognizerIntent.EXTRA_RESULTS);
mList.setAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_1,
matches));
}
super.onActivityResult(requestCode, resultCode, data);
}
㈢ 安卓手機語音識別不出字怎麼回事
這種應該就是宴答你的語音識別有問題,或者你的輸入法本身是有問題的,這種情況下,建議樓主可以更換第三頃飢方的輸入法,雀祥返然後再次識別,看看能否解決,如果還是不行的話,可以直接重啟手機,看看能否解決。