code: def __init__(
      self,
      text: str,
      kind: TermType,
      polarity: Polarity,
      score: float,
      start: int,
      length: int,
  ):
      self._text = text
      self._type = kind
      self._polarity = polarity
      self._score = score
      self._start = start
      self._len = length
  
imports: import json
  from enum import Enum
  from json import JSONEncoder
label_desc: Use image node_id 1 to create a new Term object from inherited base classes: object with example: obj = Term(text, kind, polarity, score, start, length)