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

added cooccurrence representation

parent b53485f1
No related branches found
No related tags found
No related merge requests found
...@@ -2,3 +2,6 @@ class CoOccurrence: ...@@ -2,3 +2,6 @@ class CoOccurrence:
def __init__(self, entity: str, score: float): def __init__(self, entity: str, score: float):
self.entity = entity self.entity = entity
self.score = score self.score = score
def __repr__(self):
return f'{self.entity} ({self.score})'
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