資源簡介
c#寫的語音識別程序,識別效率還算可以。且根據識別可以給出相應的識別百分比。適合研究語音識別以及tts的參考!
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Windows.Forms;
using?SpeechLib;
using?SppechsTT;
using?System.Speech;
using?System.Speech.AudioFormat;
using?System.Speech.Recognition;
using?System.Speech.Synthesis;
using?System.IO;
using?System.Threading;
namespace?SppechsTT
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????????svc.Word?+=?new?_ISpeechVoiceEvents_WordEventHandler(svc_Word);
????????????svc.EndStream?+=?new?_ISpeechVoiceEvents_EndStreamEventHandler(svc_EndStream);
????????}
????????bool?endStream;
????????string?strRes;
????????string?wavPath=?@“test.wa
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????17132??1992-05-01?12:35??speechstt\SppechsTT\SppechsTT\bin\Debug\GOODBYE2.wav
?????文件????????162??2010-05-31?16:50??speechstt\SppechsTT\SppechsTT\bin\Debug\Grammar.xm
?????文件?????163840??2010-05-22?16:24??speechstt\SppechsTT\SppechsTT\bin\Debug\Interop.SpeechLib.dll
?????文件?????178176??2009-02-08?11:22??speechstt\SppechsTT\SppechsTT\bin\Debug\Microsoft.DirectX.DirectSound.dll
?????文件?????223232??2009-02-08?11:22??speechstt\SppechsTT\SppechsTT\bin\Debug\Microsoft.DirectX.dll
?????文件?????????27??2010-05-31?16:50??speechstt\SppechsTT\SppechsTT\bin\Debug\read.xm
?????文件??????24576??2010-05-31?16:49??speechstt\SppechsTT\SppechsTT\bin\Debug\SppechsTT.exe
?????文件??????44544??2010-05-31?16:49??speechstt\SppechsTT\SppechsTT\bin\Debug\SppechsTT.pdb
?????文件??????14328??2010-06-01?08:54??speechstt\SppechsTT\SppechsTT\bin\Debug\SppechsTT.vshost.exe
?????文件????????490??2007-07-21?01:33??speechstt\SppechsTT\SppechsTT\bin\Debug\SppechsTT.vshost.exe.manifest
?????文件??????60044??2010-05-31?16:50??speechstt\SppechsTT\SppechsTT\bin\Debug\test.wav
?????文件??????18168??1992-07-30?09:00??speechstt\SppechsTT\SppechsTT\bin\Debug\test1.wav
?????文件??????52044??2010-05-28?10:24??speechstt\SppechsTT\SppechsTT\bin\Debug\test2.wav
?????文件?????152044??2010-05-25?15:40??speechstt\SppechsTT\SppechsTT\bin\Debug\test3.wav
?????文件?????194286??2006-11-26?23:30??speechstt\SppechsTT\SppechsTT\bin\Debug\test4.wav
?????文件??????76044??2010-05-28?11:40??speechstt\SppechsTT\SppechsTT\bin\Debug\test5.wav
?????文件?????194286??2006-11-26?23:30??speechstt\SppechsTT\SppechsTT\bin\Debug\test6.wav
?????文件??????33188??2010-05-31?16:50??speechstt\SppechsTT\SppechsTT\bin\Debug\voice.wav
?????文件???????1737??2010-05-25?14:53??speechstt\SppechsTT\SppechsTT\bin\Debug\xm
?????文件??????20211??2010-05-31?16:49??speechstt\SppechsTT\SppechsTT\Form1.cs
?????文件??????12128??2010-05-28?15:34??speechstt\SppechsTT\SppechsTT\Form1.Designer.cs
?????文件???????5814??2010-05-28?15:34??speechstt\SppechsTT\SppechsTT\Form1.resx
?????文件?????163840??2010-05-22?16:24??speechstt\SppechsTT\SppechsTT\obj\Debug\Interop.SpeechLib.dll
?????文件???????7764??2010-05-24?16:39??speechstt\SppechsTT\SppechsTT\obj\Debug\ResolveAssemblyReference.cache
?????文件????????909??2010-06-01?08:54??speechstt\SppechsTT\SppechsTT\obj\Debug\SppechsTT.csproj.FileListAbsolute.txt
?????文件????????847??2010-05-28?15:35??speechstt\SppechsTT\SppechsTT\obj\Debug\SppechsTT.csproj.GenerateResource.Cache
?????文件????????579??2010-05-22?16:24??speechstt\SppechsTT\SppechsTT\obj\Debug\SppechsTT.csproj.ResolveComReference.cache
?????文件??????24576??2010-05-31?16:49??speechstt\SppechsTT\SppechsTT\obj\Debug\SppechsTT.exe
?????文件????????180??2010-05-28?15:35??speechstt\SppechsTT\SppechsTT\obj\Debug\SppechsTT.Form1.resources
?????文件??????44544??2010-05-31?16:49??speechstt\SppechsTT\SppechsTT\obj\Debug\SppechsTT.pdb
............此處省略25個文件信息
評論
共有 條評論