class_docstr: OntoNotes coreference data, from edge probing format.
  
  To get the edge probing data, see instructions at
  https://github.com/nyu-mll/jiant-v1-legacy/tree/master/probing/data#ontonotes
docstr: Convert edge probing record to LIT inputs.
code: def convert_ep_record(self, record):
      """Convert edge probing record to LIT inputs."""
      edges = [
          EdgeLabel(
              span1=t["span1"], span2=t["span2"], label=int(t["label"])
          )
          for t in record["targets"]
      ]
      return {
          "text": record["text"],
          "tokens": record["text"].split(),
          "coref": edges,
      }
  
file_path: lit/lit_nlp/examples/coref/datasets/ontonotes.py
imports: import json
  from lit_nlp.api import dataset
  from lit_nlp.api import dtypes
  from lit_nlp.api import types
label_desc: Use image node_id 1 for calling the OntonotesCorefDataset obj's underlying member method code with example usage: obj.convert_ep_record(record) and returns: dict