code: def __init__(self, mode, params: ExtendedPredictionDataParams):
      super().__init__(mode, params)
      for text in params.files:
          text_bn, text_ext = split_all_ext(text)
          sample = {
              "image_path": None,
              "pred_path": text,
              "id": text_bn,
          }
          self._load_sample(sample, False)
          self.add_sample(sample)
  
file_path: calamari/calamari_ocr/ocr/dataset/datareader/extended_prediction.py
imports: import codecs
  import zlib
  from dataclasses import dataclass, field
  from typing import List, Type
  from paiargparse import pai_dataclass
  from calamari_ocr.ocr.dataset.datareader.base import CalamariDataGenerator, CalamariDataGeneratorParams
  from calamari_ocr.ocr.predict.params import Predictions
  from calamari_ocr.utils import split_all_ext, glob_all
label_desc: Use image node_id 1 to create a new ExtendedPredictionDataSet object from inherited base classes: CalamariDataGenerator with example: obj = ExtendedPredictionDataSet(mode, params)