关于 Android

AIML Bot on Android

我正在为我的学术项目开发 Android 的虚拟助手机器人(类似于 Pandorabots Callmom)。

到目前为止,我可以使用程序 AB 使用 AIML 文件让我的机器人像聊天机器人一样回复。

我参考了这个教程:https://medium.com/@harivigneshjayapalan/android-baking-a-simple-chatbot-in-30-minutes-aiml-ff43c3269025#.drkiywk14

但是当我让它搜索时 android 它回复了 I’ll try a web search <oob><search>android</search></oob>.

它只是显示与操作关联的 oob 标记,而不是执行它。

任何人都可以帮我解决我的问题吗?

Here is a screenshot of the problem

我正在使用提供的 AIML 文件 in this archive

您似乎在打开 <oob> 标签之前没有关闭 <srai> 标签。请post你的代码。

我编写了自己的代码来逐行扫描文件并完成我的工作。