code: def __init__(self, lbl="", st=np.nan, en=np.nan):
      if np.isnan(st):
          self.label, self.start, self.end = "", 0.0, 0.0
      else:
          self.label, self.start, self.end = lbl, st, en
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import re
  from collections import deque
  from enum import Enum
  import numpy
label_desc: Use image node_id 1 to create a new Token object from inherited base classes: object with example: obj = Token(lbl, st, en)