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

CS use of << >> and matching
 
 

I noticed that if a word is in two concepts, the << >> will match both
for example

#!    concept1
u:  ( << ~concept1 ~concept1 >> )
u:  ( << ~concept1 ~concept2 >> )

concept1 is in both concept1 and concept2
it matches both
Is there a trick to only match the first concept and not the second?
So, in the above, neither would match?

oh, I think this would work
u:  (  ~concept1 * ~concept2 )

 

 
  [ # 1 ]

your “trick” is almost correct. it only matches in one order.
u: ([(~concept1 * ~concept2)  (~concept2 * ~concept1)])

 

 
  login or register to react