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

added types for dummy service get_co_occurrences

parent 49deb144
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ class DummyService(TextMiningService): ...@@ -14,7 +14,7 @@ class DummyService(TextMiningService):
def get_mentions(self, entities: List, limit: int = 20) -> List[Publication]: def get_mentions(self, entities: List, limit: int = 20) -> List[Publication]:
return [Publication(pm_id="00000" + str(i)) for i in range(20)] return [Publication(pm_id="00000" + str(i)) for i in range(20)]
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] = []) -> List[CoOccurrence]:
pass pass
......
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