diff --git a/interface/TextMiningService.py b/interface/TextMiningService.py index 981c58468507111417f7a4c7a2b27d1ce1b10e81..89b1ea33c81a48f2c5b524854192e43e5fe98e9f 100644 --- a/interface/TextMiningService.py +++ b/interface/TextMiningService.py @@ -17,11 +17,11 @@ class TextMiningService(metaclass=ABCMeta): self.description = description @abstractmethod - def getMentions(entities: List) -> List[Publication]: + def getMentions(self, entities: List) -> List[Publication]: pass @abstractmethod - def getCoOccurrences(entity: str) -> List[str]: + def getCoOccurrences(self, entity: str) -> List[str]: pass