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

Unmark at a word positiion
 
 

Is it possible to extend ^unmark (and I guess ^mark to be consistent) to allow the second parameter to be a $$ variable that contains the word number?


I have a situation where I am calling ^respond() in a loop to locate date related words but there could be several false positives, so the respond topic marks everything as ~parsed and then I remove that marking at the end for the words that are not of interest at this point in time. Because of the multiple calls to the respond topic I can’t track the match variables, only their positions.

As a workaround I am using an outputmacro to ^setposition() on a high numbered match variable to potentially avoid conflicts and then unmarking that.

 

 
  [ # 1 ]

Done for release after 6.3

 

 
  login or register to react