code: def predict(cfg):
      corpus = join(
          DATASETS_FOLDER, "UD_Vietnamese-UUD-1.0.1-alpha", "all.txt"
      )
      predict_file = join(
          DATASETS_FOLDER,
          "UD_Vietnamese-UUD-1.0.1-alpha",
          "predict.txt",
      )
      with open(corpus) as f:
          text = f.read()
      sentences = text.split("\n\n")
  
      sentences = [predict_sentence(s, cfg) for s in sentences]
      new_text = "\n\n".join(sentences)
      with open(predict_file, "w") as f:
          f.write(new_text)
      print("Predict done")
  
file_path: underthesea/examples/text_normalize/evaluation.py
imports: from os.path import join
  from tools import vtt
  from tools import nvh
  from tools import vtm
  import hydra
  from omegaconf import DictConfig, OmegaConf
  from underthesea import text_normalize
  from underthesea.file_utils import DATASETS_FOLDER
label_desc: Use image node_id 2 for calling a global function with example usage: predict(cfg) without return types