generalize NLP callbacks (now supports multiple callback functions on multiple channels)