低语音识别准确度...... [英] Low speech recognition accuracy...
本文介绍了低语音识别准确度......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我创建了一个连续语音识别程序,但其准确性非常低。请帮我。我写的代码是问题吗?
Hi All,
I am created a program for continuous speech recognition, but its accuracy is very low. Please help me. I have written code that is the problem?
using SpeechLib;
namespace Speech_Recognition
{
public partial class SRForm : Form
{
private SpeechLib.SpSharedRecoContext objRecoContext;
private SpeechLib.ISpeechRecoGrammar grammar;
public SRForm()
{
InitializeComponent();
initSAPI();
}
private void initSAPI()
{
try
{
//Create Instance The Main Object (SpSharedRecoContext)And Activating The Recognition Event
objRecoContext = new SpeechLib.SpSharedRecoContext();
objRecoContext.Recognition += new _ISpeechRecoContextEvents_RecognitionEventHandler(RecoContext_Recognition);
objRecoContext.EventInterests = SpeechLib.SpeechRecoEvents.SRERecognition | SpeechLib.SpeechRecoEvents.SREAudioLevel;
//Grammar Creation with Default Value 'ID = 0' And Grammar Activation
grammar = objRecoContext.CreateGrammar(0);
grammar.DictationSetState(SpeechRuleState.SGDSActive);
}
catch (Exception ex)
{
MessageBox.Show("Exception \n" + ex.ToString(), "Error - initSAPI");
}
}
//---------------------------------------------------------------------------------------------------------
//Main ObjRecoContext Event And launched when engine recognized a phrase
public void RecoContext_Recognition(int StreamNumber, object StreamPosition, SpeechRecognitionType RecognitionType, ISpeechRecoResult e)
{
//Get And Display Phrase
string phrase = e.PhraseInfo.GetText(0, -1, true);
richTextBox1.Text+= phrase + " ";
}
}
}
先谢谢。
Thanks in Advance.
推荐答案
什么都做不了。这是您现在使用的识别引擎的质量。或者,您可以使用System.Speech.Recognition
, http://msdn.microsoft.com/en-us/library/system.speech.recognition.aspx [ ^ ],带DictationGrammar
。这比较简单,但是资格也是一样的。
如果一次使用的所有语法都合理地小,引擎提供了相当好的质量,并且所有作品中使用的所有作品在发音方面都截然不同。这不是DictationGrammar
的情况,其中看起来相似的数量是巨大的。
A已阅读科学美国人的文章声称原始的Nuance Dragon NaturallySpeaking提供了非常流畅的听写,从未尝试过: http://en.wikipedia.org/wiki / Dragon_NaturallySpeaking [ ^ ]。
我还不熟悉其他一些产品。请参阅:
http://en.wikipedia.org/wiki/Speech_recognition [ ^ ],
http://en.wikipedia.org/wiki/Digital_dictation [ ^ ],
http: //en.wikipedia.org/wiki/Digital_dictation_software [ ^ ]。
-SA
Nothing can be done. This is the quality of the recognition engine you use right now. Alternatively, you could useSystem.Speech.Recognition
, http://msdn.microsoft.com/en-us/library/system.speech.recognition.aspx[^] withDictationGrammar
. This is simpler, but the qualify will be the same.
The engine provide pretty good quality if all the grammars used at a time and taken together are reasonably small, and all the works used in all of them are distinctly different in pronunciation. This is not a case withDictationGrammar
, where the number of looks-alike is enormous.
A have read the article in Scientific American claiming that original Nuance Dragon NaturallySpeaking provides really smooth dictation, never tried: http://en.wikipedia.org/wiki/Dragon_NaturallySpeaking[^].
There is a number of other products I''m not familiar with. See:
http://en.wikipedia.org/wiki/Speech_recognition[^],
http://en.wikipedia.org/wiki/Digital_dictation[^],
http://en.wikipedia.org/wiki/Digital_dictation_software[^].
—SA
这篇关于低语音识别准确度......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文