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

Merge branch '11-text-mining-sw' of...

Merge branch '11-text-mining-sw' of github.com:elixir-europe/BioHackathon-projects-2019 into 11-text-mining-sw
parents f505d178 43c7d338
No related branches found
No related tags found
No related merge requests found
......@@ -15,3 +15,10 @@ class DummyService(TextMiningService):
def get_co_occurrences(self, entity: str) -> List[str]:
pass
if __name__ == '__main__':
text_mining_service = DummyService()
print("Using service {}".format(text_mining_service.name))
publications = text_mining_service.get_mentions(["DOID:0000"])
print(", ".join([p.pm_id for p in publications]))
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