14 lines
207 B
Python
14 lines
207 B
Python
#encoding = utf8
|
|
|
|
from abc import ABC, abstractmethod
|
|
|
|
|
|
class NLPCallback(ABC):
|
|
@abstractmethod
|
|
def on_message(self, txt: str):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def on_clear(self):
|
|
pass
|