!7 cmodule IsBot > DynAttractorBot { AttractorBot makeBot() { ret testBot(attractorBotFromLambda(s -> { // tautological case if (matchDoubleRest("is", s)) ret with emitAnswer("yes, obviously"); LS tok = wordTok(s); print("indices", indicesOfAny(tok, mechCISet("Determiners"))); })); } AttractorBot testBot(AttractorBot bot) { testAttractorBotResponses_noFail(bot, "is green green?", "yes, obviously", "is a man a child?", "I wonder if a man is a child"); ret bot; } }