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

Pattern match priority
 
 

Hello

I’m making an AIML interpreter and have a question. Let’s say user input is “What are you doing”, which would be the matched pattern? Why?

<pattern>WHAT ARE * DOING</pattern><template>I am ok.</template> 
<pattern>WHAT * YOU DOING</pattern><template>I am ok.</template> 

Thank you.

(patterns and templates are example)

 

 
  login or register to react