我想添加一些關鍵字到我的應用程序,所以API可以更有效地識別說出的話。例如,I m having trouble recognizing the some Italian words that starts with E,(例如,每個我)。或用德語(呃)。 這裏是我的代碼: public void recognize (int sampleRate) {
if (mApi == null
我正在使用Windows.Speech API 我想要做的是讓系統識別短語的一部分,而不是尋找整個事情。 例如,如果我加載字符串:「你好嗎」,它要求用戶準確地說,你好嗎。最終,我希望Windows.Speech也能認識到這樣的事情:「嘿,今天好嗎?」 這是我目前有: //This is used for Building the recognizer engine.
Choices comman
該程序不完整,但是正在進行中。 import speech_recognition as sr
import subprocess as sp
import time, os
r = sr.Recognizer()
print("Voice Recognition Software\n\n***************************************************