def METHOD_NAME(self):
    """
       Load the corpus tsv/csv or json
    """
    num_docs = 0
    self.id_to_document = {}
    for passage in tqdm(self.reader):
        document = {
            'text': passage.text,
            'title': passage.title,
            "id": str(num_docs + 1) if len(passage.pid) == 0 else passage.pid
        }
        self.id_to_document[document['id']] = document
        num_docs += 1