以下AIML代码用于关键字检测,但它只能检测一个关键字,因为它是FAMILY关键字 我如何使用这种模式来检测句子中的两个关键字,例如包含FAMILY和FATHER关键字的句子?
<category>
<pattern> FAMILY </pattern>
<template>
Family is an important institution.
</template>
</category>
<category>
<pattern> _ FAMILY </pattern>
<template>
<srai> FAMILY </srai>
</template>
</category>
<category>
<pattern> FAMILY * </pattern>
<template>
<srai> FAMILY </srai>
</template>
</category>
<category>
<pattern> _ FAMILY * </pattern>
<template>
<srai> FAMILY </srai>
</template>
</category>