结构意向::P atternMatchingIntent

表示用于意向识别的模式匹配意向。

成员

短语

语法:public std::vector< std::string > Phrases;

将触发此意向的短语和模式。 必须至少有一个短语才能将此意向应用于 IntentRecognizer。

Id

语法:public std::string Id;

用于定义此意向的 ID(如果匹配)。 如果未指定 ID,则将使用短语中的第一个短语。