class_docstr: a single set of samples of data
      
class_docstr_tok: ["a","single","set","of","samples","of","data"]
code: def __init__(self, text, en_pair_list, re_list, rel2ens):
      self.text = text
      self.en_pair_list = en_pair_list
      self.re_list = re_list
      self.rel2ens = rel2ens
  
file_path: DeepKE/src/deepke/triple_extraction/PRGC/dataloader_utils.py
imports: import json
  import random
  from multiprocessing import Pool
  import functools
  import numpy
  from collections import defaultdict
  from itertools import chain
  import os
  from .util import Label2IdxSub, Label2IdxObj
label_desc: Use image node_id 1 to create a new InputExample object from inherited base classes: object with example: obj = InputExample(text, en_pair_list, re_list, rel2ens)