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..

Remove specific word at the end of the input?
 
 

I understand with AIML this should be a simple job. Unless i’m very mistaken it should simply be the case of using this category:

<category>
      <
pattern>_ Steve</pattern>
      <
template><srai><star /></srai></template>
</
category

Where this would remove ‘Steve’ from the end of the sentence.

However when I add this category to the most up-to-date version of Program-O, it doesn’t work correctly and any input with ‘Steve’ at the end is redirected to the ‘catch-all’ mis-understand category.

Does anyone know what’s going wrong?

Thanks,
Steve

 

 
  login or register to react