From 75be3ceccdf02599c43c7e9888bfdb6ba561fc71 Mon Sep 17 00:00:00 2001 From: 雾聪 <wucong.lyb@alibaba-inc.com> Date: 星期二, 10 十月 2023 20:41:57 +0800 Subject: [PATCH] fix the issue of concatenating multiple VAD segments for en-bpe --- funasr/runtime/onnxruntime/include/com-define.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/funasr/runtime/onnxruntime/include/com-define.h b/funasr/runtime/onnxruntime/include/com-define.h index e08d50f..9f28e15 100644 --- a/funasr/runtime/onnxruntime/include/com-define.h +++ b/funasr/runtime/onnxruntime/include/com-define.h @@ -50,6 +50,10 @@ #define MODEL_SEG_DICT "seg_dict" #define HOTWORD "hotword" +#define ITN_DIR "itn-dir" +#define ITN_TAGGER_NAME "zh_itn_tagger.fst" +#define ITN_VERBALIZER_NAME "zh_itn_verbalizer.fst" + #define ENCODER_NAME "model.onnx" #define QUANT_ENCODER_NAME "model_quant.onnx" #define DECODER_NAME "decoder.onnx" -- Gitblit v1.9.1