code: def __init__(self, sents, raw=None, noun_chunks=[]):
      self.sents = sents
      if raw is None:
          self.string = " ".join(
              "".join([tok.lower_ for tok in sent]) for sent in sents
          )
      else:
          self.string = raw
      self.text = self.string
      self.noun_chunks = noun_chunks
      self.toks = []
      for sent in sents:
          self.toks += sent
  
file_path: scattertext/scattertext/WhitespaceNLP.py
imports: import re
  from scattertext.emojis.ProcessedEmojiStructure import VALID_EMOJIS
label_desc: Use image node_id 1 to create a new Doc object  with example: obj = Doc(sents, raw, noun_chunks)