Python 3.x python 3 aiml错误警告未找到输入匹配项

Python 3.x python 3 aiml错误警告未找到输入匹配项,python-3.x,aiml,Python 3.x,Aiml,我在使用amil时面临问题。我已经把它从我的电脑上下载下来了。当我使用下面的代码时,它会向我抛出match not found错误 import aiml k = aiml.Kernel() k.learn("std-startup.xml") k.respond("load aiml b") while True: print (k.respond(input("> ")) 我已将所有.aiml文件和.xml文件放在我的工作目录中。我的文件夹结构如下 AIML main s

我在使用amil时面临问题。我已经把它从我的电脑上下载下来了。当我使用下面的代码时,它会向我抛出match not found错误

import aiml
k = aiml.Kernel()
k.learn("std-startup.xml")
k.respond("load aiml b")
while True: print (k.respond(input("> "))
我已将所有.aiml文件和.xml文件放在我的工作目录中。我的文件夹结构如下

AIML
  main
    standard
      *.amil files
    ai.py
    std-startup.xml
在std-startup.xml中,我也更改了路径,不知道哪里出错了

<aiml version="1.0">
<!-- This category works with the Standard AIML Set -->
<category>
<pattern>LOAD AIML B</pattern>
<template>
<!-- Load standard AIML set -->

<learn>main/standard/std-*.aiml</learn>

</template>
</category>

</aiml>

加载AIML B
主/标准/标准-*.aiml

您在:*.amil文件中有一个输入错误

它应该是*.aiml文件