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

fixed imports

parent c7df5613
No related branches found
No related tags found
Loading
import logging import logging
from biokb.biokb import BioKBService from biokb.biokb import BioKBService
from jensenLabService import JensenLabService from jensenLabService.jensenLabService import JensenLabService
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
...@@ -9,5 +9,6 @@ if __name__ == '__main__': ...@@ -9,5 +9,6 @@ if __name__ == '__main__':
text_mining_services = [JensenLabService(), BioKBService()] text_mining_services = [JensenLabService(), BioKBService()]
for text_mining_service in text_mining_services: for text_mining_service in text_mining_services:
print("Using service {}".format(text_mining_service.name)) print("Using service {}".format(text_mining_service.name))
publications = text_mining_service.get_mentions(["DOID:10652", "DOID:10935"], limit=100) publications = text_mining_service.get_mentions(
["DOID:10652", "DOID:10935"], limit=100)
print(", ".join([str(p) for p in publications])) print(", ".join([str(p) 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