Skip to content
Snippets Groups Projects
Commit ee0897ed authored by Carlos Vega's avatar Carlos Vega
Browse files

added type filter to get cooccurrrences

parent 690da4e5
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ class TextMiningService(metaclass=ABCMeta):
pass
@abstractmethod
def get_co_occurrences(self, entity: str, limit: int = 20) -> List[CoOccurrence]:
def get_co_occurrences(self, entity: str, limit: int = 20, types: List[str] = []s) -> List[CoOccurrence]:
"""
Co-occurrences at publication level.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment