code: def split_file(ori_file):
      src_file = ori_file + ".src"
      tgt_file = ori_file + ".tgt"
      with open(ori_file, "r", encoding="utf8") as in_f:
          lines = in_f.readlines()
      src, tgt = zip(*[sent.split("\t") for sent in lines])
      with open(src_file, "w", encoding="utf8") as out_f:
          for src_sent in src:
              out_f.write(src_sent + "\n")
      with open(tgt_file, "w", encoding="utf8") as out_f:
          for tgt_sent in tgt:
              out_f.write(tgt_sent)
      os.remove(ori_file)
  
file_path: delta/delta/data/datasets/utils.py
imports: import os
  import pickle
  import numpy
  from pathlib import Path
  import tempfile
  from absl import logging
  from sklearn.model_selection import train_test_split
label_desc: Use image node_id 9 for calling a global function with example usage: split_file(ori_file) without return types