class_docstr: OneCommon teacher that loads the data from https://github.com/Alab-NII/Reference-
  Resolution.
class_docstr_tok: ["OneCommon","teacher","that","loads","the","data","from","https",":","\/\/github.com\/Alab-NII\/Reference-","Resolution","."]
code: def get(self, episode_idx, entry_idx):
      episode = self.episodes[episode_idx]
      dialogue = episode["dialogue"]
      referents = episode["referents"]
  
      entry_idx *= 2  # Every two utterance is an entry
  
      action = {}
      action["context"] = episode["context"]
  
      # Fill in teacher's message (THEM)
      sentence = dialogue[entry_idx]
      if sentence is None:
          action["text"] = SILENCE_TOKEN
      else:
          action["text"] = " ".join(sentence[1:])
  
      # Fill in learner's response (YOU)
      entry_idx += 1
      sentence = dialogue[entry_idx]
      if sentence is None:
          action["labels"] = [SELECTION_TOKEN]
          action["referents"] = []
      else:
          action["labels"] = [" ".join(sentence[1:])]
          action["referents"] = referents[entry_idx]
      self.expected["referents"] = action["referents"]
  
      # Fill in output at end of dialogue
      if entry_idx < len(dialogue) - 1:
          action["output"] = None
          action["episode_done"] = False
      else:
          action["output"] = episode["output"]
          action["episode_done"] = True
          self.expected["output"] = action["output"]
  
      return action
  
file_path: ParlAI/parlai/tasks/onecommon/agents.py
imports: from parlai.core.teachers import FixedDialogTeacher
  from parlai.utils.io import PathManager
  from .build import build
  import os
label_desc: Use image node_id 7 for calling the OneCommonTeacher obj's underlying member method code with example usage: obj.get(episode_idx, entry_idx) and returns: action