Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/codeigniter/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 说SAPI5的XML_C#_Vb.net_Text To Speech_Speech Synthesis_Speechsynthesizer - Fatal编程技术网

C# 说SAPI5的XML

C# 说SAPI5的XML,c#,vb.net,text-to-speech,speech-synthesis,speechsynthesizer,C#,Vb.net,Text To Speech,Speech Synthesis,Speechsynthesizer,我想使用“SpeechSynthesizer”来表达文本,但此文本包含一些XML标记。 使用旧的COM对象,我使用 S5Voice.Speak uString, SVSFDefault Or SVSFIsXML 但是,SpeechSynthesizer中没有重载函数可以用来定义文本是XML字符串。应该可以做到这一点。否则,您将不得不在将标签发送到合成引擎之前剥离标签

我想使用“SpeechSynthesizer”来表达文本,但此文本包含一些XML标记。 使用旧的COM对象,我使用

 S5Voice.Speak uString, SVSFDefault Or SVSFIsXML 
但是,SpeechSynthesizer中没有重载函数可以用来定义文本是XML字符串。

应该可以做到这一点。否则,您将不得不在将标签发送到合成引擎之前剥离标签