Skip to content
Snippets Groups Projects
coocurrence.py 199 B
Newer Older
Carlos Vega's avatar
Carlos Vega committed
class CoOccurrence:
    def __init__(self, entity: str, score: float):
        self.entity = entity
Carlos Vega's avatar
Carlos Vega committed
        self.score = score

    def __repr__(self):
        return f'{self.entity} ({self.score})'