code: def __init__(self, sentiment, text, constituency=None):
      self.sentiment = sentiment
      self.text = text
      self.constituency = constituency
  
imports: import collections
  from collections import namedtuple
  import logging
  import json
  import random
  import re
  from typing import List
  from stanza.models.classifiers.utils import WVType
  from stanza.models.common.vocab import PAD, PAD_ID, UNK, UNK_ID
  import stanza.models.constituency.tree_reader
label_desc: Use image node_id 1 to create a new SentimentDatum object  with example: obj = SentimentDatum(sentiment, text, constituency)