#encoding = utf8 from abc import ABC, abstractmethod class NLPCallback(ABC): @abstractmethod def on_message(self, txt: str): pass