I am developing a voice recognition chatbot using Python as an interpreter. Whenever I start the script it shows what AIML files are getting loaded. But when I am trying to load a new file called learn.aiml. Taken from here https://github.com/pandorabots/Free-AIML/blob/master/learn.aiml, it shows the errors in my terminal below:
[quoteHello from the pygame community. https://www.pygame.org/contribute.html
Loading std-startup.xml…done (0.00 seconds)
Loading search_internet.aiml…done (0.00 seconds)
Loading wallpaper.aiml…done (0.00 seconds)
Loading volume_controls.aiml…done (0.00 seconds)
Loading music_controls.aiml…done (0.00 seconds)
PARSE ERROR: Unexpected <category> tag (line 172, column 1)
PARSE ERROR: Unexpected </learn> tag (line 180, column 3)
PARSE ERROR: Unexpected </template> tag (line 192, column 1)
PARSE ERROR: Unexpected </category> tag (line 193, column 0)
PARSE ERROR: Unexpected <category> tag (line 200, column 1)
PARSE ERROR: Unexpected </learn> tag (line 208, column 3)
PARSE ERROR: Unexpected </template> tag (line 210, column 1)
PARSE ERROR: Unexpected </category> tag (line 211, column 0)
PARSE ERROR: Unexpected <category> tag (line 218, column 1)
PARSE ERROR: Unexpected </learn> tag (line 226, column 3)
PARSE ERROR: Unexpected </template> tag (line 238, column 1)
PARSE ERROR: Unexpected </category> tag (line 239, column 0)
Loading learn.aiml…done (0.02 seconds)
Loading emotion.aiml…done (0.01 seconds)
Loading launching_programs.aiml…done (0.00 seconds)
Loading basic_chat.aiml…done (0.01 seconds)
]
Can anyone please help me out to resolve these issues?