当我尝试在 AIML v2(使用 Pandorabots)中使用 FAVORITE GAME 作为关键字时,我从 * 类别中获得匹配,但不是最喜欢的游戏类别。我不知道有什么问题。
例如对于我最喜欢的游戏:对不起,你能以其他方式重复吗?
<aiml>
<!--POWITANIE-->
<category>
<pattern>HI #</pattern>
<template>
<random>
<li>Yo!</li>
<li>Hello!</li>
<li>Welcome to my chatroom man</li>
<li>Hi</li>
<li>Nice to meet you, I'm Alfred</li>
</random>
</template>
</category>
<!--ULUBIONA GRA-->
<category>
<pattern># FAVOURITE # GAME #</pattern>
<template> My favourite game is Starcraft2, and your? </template>
</category>
<!--NA BEZSENSOWNY INPUT-->
<category>
<pattern>*</pattern>
<template>
<random>
<li>I have no idea what to say to you.</li>
<li>I don't understand you.</li>
<li>Sorry, could you repeat in an other way?</li>
</random>
</template>
</category>
</aiml>