class_docstr: @inproceedings{hongying2020building,
  title={Building a Pediatric Medical Corpus: Word Segmentation and Named Entity Annotation},
  author={Hongying, Zan and Wenxin, Li and Kunli, Zhang and Yajuan, Ye and Baobao, Chang and Zhifang, Sui},
  booktitle={Workshop on Chinese Lexical Semantics},
  pages={652--664},
  year={2020},
  organization={Springer}
  }
class_docstr_tok: ["@","inproceedings","{","hongying2020building",",","title=","{","Building","a","Pediatric","Medical","Corpus",":","Word","Segmentation","and","Named","Entity","Annotation","}",",","author=","{","Hongying",",","Zan","and","Wenxin",",","Li","and","Kunli",",","Zhang","and","Yajuan",",","Ye","and","Baobao",",","Chang","and","Zhifang",",","Sui","}",",","booktitle=","{","Workshop","on","Chinese","Lexical","Semantics","}",",","pages=","{","652","--","664","}",",","year=","{","2020","}",",","organization=","{","Springer","}","}"]
code: def get_examples(self, data_dir, split):
      path = os.path.join(data_dir, f"{split}.json")
      examples = []
      with open(path, encoding="utf8") as f:
          for example_json in json.load(f):
              for span in example_json["entities"]:
                  example = InputExample(
                      meta={
                          "context": example_json["text"],
                          "entity": span["entity"],
                          "options": self.labels_mapped,
                      },
                      label=self.get_label(span["type"]),
                  )
                  examples.append(example)
      return examples
  
imports: from .processor import *
label_desc: Use image node_id 2 for calling the CMeEE_NER obj's underlying member method code with example usage: obj.get_examples(data_dir, split) and returns: examples