code: def _set_labels(self):
          
          data = self._load_response('labels')
          entities = data.get('entities') or []
  
          for ent in entities:
              label = self._get_entity_prop(entities[ent], 'labels')
              self.data['labels'][ent] = label
docs: set entity labels from get_labels()