diff --git a/interface/TextMiningService.py b/interface/TextMiningService.py index 89b1ea33c81a48f2c5b524854192e43e5fe98e9f..39760df204309a4c7e7c5e0c85209803d36979f9 100644 --- a/interface/TextMiningService.py +++ b/interface/TextMiningService.py @@ -18,13 +18,17 @@ class TextMiningService(metaclass=ABCMeta): @abstractmethod def getMentions(self, entities: List) -> List[Publication]: + """ + Mentions at publication level + """ pass @abstractmethod def getCoOccurrences(self, entity: str) -> List[str]: - pass - - - + """ + Co-occurrences at publication level. + To-do: decide how to handle resources that can provide co-occurrences at sentence level + """ + pass