code: def read_by_lines(path):
      """read the data by line"""
      result = list()
      with open(path, "r", encoding="utf8") as infile:
          for line in infile:
              result.append(line.strip())
      return result
  
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 2 for calling a global function with example usage: read_by_lines(path) and returns: result