code: def filter_line(
      line_list: List,
      bad_word_set: List,
  ):
      filter_line_list = [
          word for word in line_list if word not in bad_word_set
      ]
      return filter_line_list
  
file_path: espnet/egs2/slurp/slu1/pyscripts/text/post_processing.py
imports: import argparse
  import sys
  from pathlib import Path
  from typing import List, Optional
  import numpy
  from espnet2.utils.types import str2bool
  from espnet.utils.cli_utils import get_commandline_args
label_desc: Use image node_id 3 for calling a global function with example usage: filter_line(line_list, bad_word_set) and returns: filter_line_list