!7 //unset flag SymbolAsString. sS input = "lalalalala please give me the number yo la la"; p { ai_alternativeSmartBot(); ai_useThoughtSpaces(true); ActualThoughtSpace myTS = newThoughtSpace(); myTS.blockedA = litciset(symbol("We")); input = trim(input); post("We", "are parsing", quote(input)); for (S tail : ai_texts_verified_quoted("$X", "is", "a droppable tail")) { print("Have tail: " + tail); if (nempty(tail) && ewic(input, tail)) post("Suggest", "splitting off after index", l(rtrim(dropLast(l(tail), input)))); } for (S prefix : ai_texts_verified_quoted("$X", "is", "a droppable prefix")) { print("Have prefix: " + prefix); if (nempty(prefix) && swic(input, prefix)) post("Suggest", "splitting off before index", smartIndexOf(input, ' ', l(prefix))); } printThoughtSpace(); }