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

added main for mini tests

parent 53e53987
No related branches found
Tags v18.0.6
No related merge requests found
...@@ -100,3 +100,10 @@ class BioKBservice(TextMiningService): ...@@ -100,3 +100,10 @@ class BioKBservice(TextMiningService):
co_occur = CoOccurrence(entity_code, count) co_occur = CoOccurrence(entity_code, count)
values.append(co_occur) values.append(co_occur)
return values return values
if __name__ == "__main__":
bkb = BioKBservice()
print(bkb.get_co_occurrences('DOID:2841'))
print('')
print(bkb.get_mentions(['DOID:2841', 'DOID:1205']))
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