code: def add_labels(self, labels: Union[List[Label], List[str]]):
      for label in labels:
          if type(label) == str:
              label = Label(label)
          if not self.labels:
              self.labels = []
          self.labels.append(label)
  
file_path: underthesea/underthesea/corpus/data.py
imports: from typing import List, Union
label_desc: Use image node_id 5 for calling the Sentence obj's underlying member method code with example usage: obj.add_labels(labels) without return types