【发布时间】:2012-10-21 11:56:00
【问题描述】:
假设我从下面的语法中得到了这个简单的部分:
<rule id="WhoAreYou" scope="private">
<one-of>
<item>who</item>
<item>what</item>
</one-of>
<item>
are
you
</item>
<tag>1000</tag>
</rule>
如何从标签中适当地返回“1000”?我正在使用 System.Speech 库,并尝试将此值返回给使用 SpeechRecognizedEventArgs 的方法。
【问题讨论】:
标签: c# xml grammar speech-recognition semantics