code: def preprocess_text(text: str) -> str:
      # Note(jinchuan): not sure how should we treat a text
      # that is naturally with "<" or ">"
      if "<" in text or ">" in text:
          logging.warning(f"find an invalid text: {text}")
          text = text.replace("<", " ").replace(">", " ")
      text = " ".join(text.split())
      return text
  
file_path: espnet/egs2/owsm_v3/s2t1/local/prepare_fleurs.py
imports: import argparse
  import logging
  import traceback
  from collections import defaultdict
  from pathlib import Path
  from typing import Dict, List, Optional, Tuple, Union
  from iso639 import languages
  from utils import SYMBOL_NA, SYMBOL_NOSPEECH, SYMBOLS_TIME, LongUtterance, Utterance, generate_long_utterances
label_desc: Use image node_id 1 for calling a global function with example usage: preprocess_text(text) and returns: text