code: def __init__(self, doc_text: str = None, sentences: list = None):
      if sentences is None:
          sentences = []
      self._doc_text = doc_text
      self._sentences = sentences
  
imports: import json
  from enum import Enum
  from json import JSONEncoder
label_desc: Use image node_id 1 to create a new SentimentDoc object from inherited base classes: object with example: obj = SentimentDoc(doc_text, sentences)