【发布时间】:2010-06-10 00:36:01
【问题描述】:
您认为编程的重要模式/模板是什么。就像在聊天机器人中一样,每个聊天机器人都需要响应什么?我刚开始制作目标文件,需要一些帮助...
现在是文件。
<aiml>
<category>
<pattern>Hey</pattern>
<template>Whats up?</template>
<category>
<category>
<pattern>WHAT ARE YOU?</pattern>
<template>I am a chatbot.</template>
<category>
<category>
<pattern>DO YOU LIKE*</pattern>
<template>Yes, I love <star/></template>
<category>
<category>
<pattern>WHAT IS*</pattern>
<template><star/>? is that what humans call what I did to your mom last night?</template>
<category>
<category>
<pattern>WHEN WERE YOUR BORN*</pattern>
<template>I was created in 2010.</template>
<category>
【问题讨论】: