class_docstr: @inproceedings{bernard2020mandarinograd,
  title={Mandarinograd: A Chinese Collection of Winograd Schemas},
  author={Bernard, Timoth{'e}e and Han, Ting},
  booktitle={Proceedings of The 12th Language Resources and Evaluation Conference},
  pages={21--26},
  year={2020}
  }
class_docstr_tok: ["@","inproceedings","{","bernard2020mandarinograd",",","title=","{","Mandarinograd",":","A","Chinese","Collection","of","Winograd","Schemas","}",",","author=","{","Bernard",",","Timoth","{","'","e","}","e","and","Han",",","Ting","}",",","booktitle=","{","Proceedings","of","The","12th","Language","Resources","and","Evaluation","Conference","}",",","pages=","{","21","--","26","}",",","year=","{","2020","}","}"]
code: def get_examples(self, data_dir, split):
      path = os.path.join(data_dir, f"{split}.json")
  
      with open(path, encoding="utf8") as f:
          for example_json in json.load(f).values():
              example = InputExample(
                  meta={
                      "before": example_json["text"],
                      "after": example_json["hypothesis"],
                      "options": self.labels_mapped,
                  },
                  tgt_text=self.get_label(example_json["class_id"]),
              )
              examples.append(example)
  
file_path: OpenPrompt/openprompt/data_utils/ZH/coreference.py
imports: from .processor import *
label_desc: Use image node_id 2 for calling the Mandarinograd obj's underlying member method code with example usage: obj.get_examples(data_dir, split) without return types