def __init__()

in distant_supervision/data_models.py [0:0]


    def __init__(self, id, text, ents, noun_chunks):
        """
        noun chunks: https://nlp.stanford.edu/software/dependencies_manual.pdf
        """
        self.id = id  # note that this is sentence ID, and not article_id
        self.text = text
        self.ents = [(e[0], e[1]) for e in ents]
        self.noun_chunks = [(e[0], e[1]) for e in noun_chunks]