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

Partial match
 
 

I would like a rejoinder to match “What is one” or “like what” but not “so what”
In the rejoinder pattern I have (<<!so [ what “such as” example like]>>)
and a responder for (so what) but the input still seems to always match the rejoinder when I type so what. Can someone please tell what I am doing wrong?

 

 
  [ # 1 ]

to start with, put !so outside of << .
!so is a positional notion (from here on)
<< is total unpositional

second, try using :prepare to see what your input actually looks like.

so what is transcribed to mere “what” by substitutions file.

 

 
  [ # 2 ]

Why have a substitutes file? There seem to be some quite complex phrases in there that could get eaten up as noise. Is there any way to disable it(like a toggle) short of deleting all the text?

 

 
  [ # 3 ]

your bot definition has $token =  which enables a bunch of things.  You could turn off substitons file from tere.

It has

#DO_SUBSTITUTE_SYSTEM

which is equivalent to #DO_ESSENTIALS | #DO_SUBSTITUTES | #DO_CONTRACTIONS | #DO_INTERJECTIONS | #DO_BRITISH | #DO_SPELLING | #DO_TEXTING | #DO_NOISE

and you could remove #DO_SUBSTITUTES

 

 
  login or register to react