def load_document(self, doc_id):
        doc_path = self.make_document_name(doc_id)

        with open(doc_path, 'r') as doc_file:
            data = json.loads(doc_file.read())

        return data
Given a ``doc_id`` string, loads a given document from disk.
dataset/ETHPy150Open toastdriven/microsearch/microsearch.py/Microsearch.load_document