问题描述
<category>
<pattern>Q3 income _</pattern>
<template><delay>2</delay>
<set name = "topic">Q4</set> I am from UK. May I kNow What your home town is. </template>
</category>
<topic name = "Q4">
<category>
<pattern>_</pattern>
<that>_ MAY I KNow WHAT YOUR HOME TOWN IS</that>
<template><delay>1</delay><set name = "topic">Q5</set> Good to kNow.</template>
</category>
</topic>
话题Q4无法捕捉家乡问题的答案。
解决方法
下划线通配符表示 1 个或多个单词,但在您检查的句子中,在“我可以知道....”之前没有更多单词。错过下划线,它会起作用。
<topic name = "Q4">
<category>
<pattern>_</pattern>
<that>MAY I KNOW WHAT YOUR HOME TOWN IS</that>
<template>
<delay>1</delay>
<set name="topic">Q5</set> Good to know.
</template>
</category>
</topic>