def METHOD_NAME(self,
                       old_str: str,
                       new_str: str,
                       input_name: os.PathLike,
                       output_name: os.PathLike,
                       task_name: str="synthesize",
                       erniesat_ckpt_name: str="snapshot_iter_199500.pdz"):
    # 推理文件配置
    config_path = os.path.join(self.en_pretrain_model_path, "default.yaml")
    phones_dict = os.path.join(self.en_pretrain_model_path,
                               "phone_id_map.txt")
    erniesat_ckpt = os.path.join(self.en_pretrain_model_path,
                                 erniesat_ckpt_name)
    erniesat_stat = os.path.join(self.en_pretrain_model_path,
                                 "speech_stats.npy")
    voc = "hifigan_aishell3"
    voc_config = os.path.join(self.zh_voc_model_path, "default.yaml")
    voc_ckpt = os.path.join(self.zh_voc_model_path,
                            "snapshot_iter_2500000.pdz")
    voc_stat = os.path.join(self.zh_voc_model_path, "feats_stats.npy")
    cmd = self.get_cmd(
        task_name=task_name,
        input_name=input_name,
        old_str=old_str,
        new_str=new_str,
        config_path=config_path,
        phones_dict=phones_dict,
        erniesat_ckpt=erniesat_ckpt,
        erniesat_stat=erniesat_stat,
        voc=voc,
        voc_config=voc_config,
        voc_ckpt=voc_ckpt,
        voc_stat=voc_stat,
        output_name=output_name,
        source_lang="en",
        target_lang="en")
    return run_cmd(cmd, output_name)