class_docstr: Generic teacher which extracts each of the fields.
class_docstr_tok: ["Generic","teacher","which","extracts","each","of","the","fields","."]
code: def __init__(self, opt, shared=None):
      super().__init__(opt, shared)
      if shared:
          self.entries = shared["entries"]
      else:
          self.entries = []
          self.datafile = _path(opt)
          self._setup_data()
  
      self.reset()
  
imports: from parlai.core.teachers import FbDeprecatedDialogTeacher, FixedDialogTeacher
  from parlai.utils.io import PathManager
  from .build import build
  import copy
  import os
label_desc: Use image node_id 1 to create a new FunpediaTeacher object from inherited base classes: FixedDialogTeacher with example: obj = FunpediaTeacher(opt, shared)