code: def _get_basename(path: str) -> str:
      return os.path.splitext(os.path.split(path)[-1])[0]
  
file_path: espnet/egs2/chime4/enh1/pyscripts/utils/evaluate_pseudomos.py
imports: import argparse
  import fnmatch
  import logging
  import os
  from typing import List
  import librosa
  import numpy
  import torch
label_desc: Use image node_id 2 for calling a global function with example usage: _get_basename(path) and returns: os