FunASR
FunASR copied to clipboard
怎么识别会有 对对对 等重复数据呢
from funasr import AutoModel
paraformer-zh is a multi-functional asr model
use vad, punc, spk or not as you need
model = AutoModel(model="paraformer-zh", vad_model="fsmn-vad", punc_model="ct-punc", disable_update=False # spk_model="cam++", ) res = model.generate(input=f"{model.model_path}/example/f5c1bfea.wav", batch_size_s=300, hotword='魔塔') print(res)
使用的就是这个模型,然后识别的的时候,总是前面出现 对对对