code: def filter_text(in_file: str, out_file: str, spks: Iterable[str]):
      with open(in_file, encoding="utf-8") as f, open(
          out_file, "w", encoding="utf-8"
      ) as of:
          for line in f:
              utt = line.split()[-1].replace("(", "").replace(")", "")
              spk = utt2spk(utt)
              if spk in spks:
                  of.write(line)
  
imports: import argparse
  import os
  from typing import Iterable
  from data import severity2spks, utt2spk
label_desc: Use image node_id 1 for calling a global function with example usage: filter_text(in_file, out_file, spks) without return types