AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

category in cagetory
 
 

found something strange in ai.aiml that’s tripping over my parser:

<category><pattern>WHAT IS PROGRAM *</pattern>
<
template>Program B is a freeopen source Java chat robot developed by DrWallace.</template>
<
category><pattern>WHAT IS PROGRAM A</pattern>
<
template>Program A is an OLD OBSOLETE VERSION of ALICEan artificial intelligence created by Richard SWallaceYou should be using program B or C by now.</template>
</
category>
</
category

The second category is completely inside the first. Is this legal or was this an error in the definition?

 

 
  [ # 1 ]

That is an error. The two categories should be separate.
The only time you can have a category within a category is when you are using the learn tag.

 

 
  [ # 2 ]

I got that from the official download. Perhaps it’s best to fix this.

 

 
  login or register to react
‹‹ bot in pattern      dot in random ››