📅  最后修改于: 2020-11-10 04:22:19             🧑  作者: Mango
variable-value
例如,考虑以下对话。
Human: I am Mahesh
Robot: Hello Mahesh!
Human: Good Night
Robot: Good Night Mahesh! Thanks for the conversation!
在C> ab> bots> test> aiml内创建setget.aiml,并在C> ab> bots> test> aimlif目录内创建setget.aiml.csv。
I am *
Hello !
Good Night
Hi Thanks for the conversation!
0,I am *,*,*, Hello ! ,setget.aiml
0,Good Night,*,*, Hi Thanks for the conversation!,setget.aiml
打开命令提示符。转到C> ab>并键入以下命令-
java -cp lib/Ab.jar Main bot = test action = chat trace = false
您将看到以下输出-
Human: I am Mahesh
Robot: Hello Mahesh!
Human: Good Night
Robot: Good Night Mahesh! Thanks for the conversation!