class_docstr: End-to-end negotiation teacher that loads the data from
  https://github.com/facebookresearch/end-to-end-negotiator.
class_docstr_tok: ["End-to-end","negotiation","teacher","that","loads","the","data","from","https",":","\/\/github.com\/facebookresearch\/end-to-end-negotiator","."]
code: def _split_dialogue(self, words, separator=EOS_TOKEN):
      sentences = []
      start = 0
      for stop in range(len(words)):
          if words[stop] == separator:
              sentences.append(words[start:stop])
              start = stop + 1
      if stop >= start:
          sentences.append(words[start:])
      return sentences
  
imports: from parlai.core.teachers import Teacher
  from .build import build
  from parlai.utils.io import PathManager
  import os
  import random
label_desc: Use image node_id 9 for calling the NegotiationTeacher obj's underlying member method code with example usage: obj._split_dialogue(words, separator) and returns: sentences