SpeechRecognitionTopicConstraint 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SpeechRecognitionTopicConstraint(SpeechRecognitionScenario, String) |
使用预定义的方案类型和上下文创建 SpeechRecognitionTopicConstraint 类的实例。 |
SpeechRecognitionTopicConstraint(SpeechRecognitionScenario, String, String) |
使用预定义的方案类型、上下文和标识符创建 SpeechRecognitionTopicConstraint 类的实例。 |
SpeechRecognitionTopicConstraint(SpeechRecognitionScenario, String)
使用预定义的方案类型和上下文创建 SpeechRecognitionTopicConstraint 类的实例。
public:
SpeechRecognitionTopicConstraint(SpeechRecognitionScenario scenario, Platform::String ^ topicHint);
SpeechRecognitionTopicConstraint(SpeechRecognitionScenario const& scenario, winrt::hstring const& topicHint);
public SpeechRecognitionTopicConstraint(SpeechRecognitionScenario scenario, string topicHint);
function SpeechRecognitionTopicConstraint(scenario, topicHint)
Public Sub New (scenario As SpeechRecognitionScenario, topicHint As String)
参数
- scenario
- SpeechRecognitionScenario
预定义的方案类型。
- topicHint
-
String
Platform::String
winrt::hstring
用于优化识别的主题或上下文提示。
另请参阅
适用于
SpeechRecognitionTopicConstraint(SpeechRecognitionScenario, String, String)
使用预定义的方案类型、上下文和标识符创建 SpeechRecognitionTopicConstraint 类的实例。
public:
SpeechRecognitionTopicConstraint(SpeechRecognitionScenario scenario, Platform::String ^ topicHint, Platform::String ^ tag);
SpeechRecognitionTopicConstraint(SpeechRecognitionScenario const& scenario, winrt::hstring const& topicHint, winrt::hstring const& tag);
public SpeechRecognitionTopicConstraint(SpeechRecognitionScenario scenario, string topicHint, string tag);
function SpeechRecognitionTopicConstraint(scenario, topicHint, tag)
Public Sub New (scenario As SpeechRecognitionScenario, topicHint As String, tag As String)
参数
- scenario
- SpeechRecognitionScenario
预定义的方案类型。
- topicHint
-
String
Platform::String
winrt::hstring
用于优化识别的主题或上下文提示。
- tag
-
String
Platform::String
winrt::hstring
约束的标识符。