code: def label_data(data, start, l, _type):
      """label_data"""
      for i in range(start, start + l):
          suffix = "B-" if i == start else "I-"
          data[i] = "{}{}".format(suffix, _type)
      return data
  
file_path: DeepKE/src/deepke/event_extraction/standard/bertcrf/utils_ee.py
imports: import hashlib
  from transformers import XLMRobertaTokenizer, BertTokenizer, RobertaTokenizer
  from torch.nn.utils.rnn import pad_sequence
label_desc: Use image node_id 6 for calling a global function with example usage: label_data(data, start, l, _type) and returns: data