我想學習AIML,不能明白的地方我已經錯了:AIML:沒有得到正確的答案
<aiml>
<category>
<pattern>I LIKE * ROME</pattern>
<template>
I love talking about
<set name="topic">rome</set>
too!
<random>
<li>Did you know that slaves made up 40% of the population of Ancient Rome?</li>
<li>Did you know the Colosseum could sit 250'000 people?</li>
</random>
</template>
</category>
<topic name="rome">
<category>
<pattern>No *</pattern>
<that>Did you know that slaves made up 40% of the population of Ancient Rome?</that>
<template>So I've taught you something!</template>
</category>
</topic>
</aiml>
第一部分工作正常,如果我輸入類似:「我像羅馬的歷史「,我得到了預期的默認答案和其中一個隨機答案。但是如果他給我「奴隸」隨機答案,我說「不,我不知道那個」,他不給我「所以我教過你什麼」回答「他得到了從他的代碼別的地方的答案,但考慮到我已經設置了「主題」和<那>標籤,我已經相當具體,期望我的自定義的答案。