class_docstr: This version of opensubtitles creates half of all possible dialog examples.
class_docstr_tok: ["This","version","of","opensubtitles","creates","half","of","all","possible","dialog","examples","."]
code: def __init__(
      self, opt, shared=None, version="2018", use_history=True
  ):
      opt = copy.deepcopy(opt)
      opt["datafile"] = _path(opt, version, use_history)
      if not opt["datatype"].startswith("train"):
          opt["cands_datafile"] = opt["datafile"]
      super().__init__(opt, shared)
  
imports: from parlai.core.teachers import FbDeprecatedDialogTeacher
  from .build_2009 import build
  from .build_2018 import build
  import copy
  import os
label_desc: Use image node_id 1 to create a new HalfTeacher object from inherited base classes: FbDeprecatedDialogTeacher with example: obj = HalfTeacher(opt, shared, version, use_history)