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/example/ee/standard/data/ACE/preprocess/preprocessing/process_bertcrf.py
imports: import argparse
  import json
  from collections import Counter, defaultdict
  import os, sys
  from tqdm import tqdm
label_desc: Use image node_id 2 for calling a global function with example usage: read_by_lines(path) and returns: result