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

fixed prototype

parent 6a5c2754
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, types: List[str] = []) -> List[CoOccurrence]: def get_co_occurrences(self, entity: str, limit: int = 20, types: List[str] = None) -> 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