From 697d2749d7a46ada8353cac0d5981278622cfc36 Mon Sep 17 00:00:00 2001 From: Carlos Vega <carlos.vega@uni.lu> Date: Tue, 19 Nov 2019 09:58:14 +0100 Subject: [PATCH] added self to methods --- interface/TextMiningService.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/TextMiningService.py b/interface/TextMiningService.py index 981c584..89b1ea3 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 -- GitLab