k2-fsa/sherpa-ncnn

ncnn带端点检测的流式语音识别bug

Opened this issue · 6 comments

在使用python-api-examples/speech-recognition-from-microphone-with-endpoint-detection.py的时候,一些词语的尾音会重复输出的怎么回事呢?是否可以处理?
输出效果如下:
Started! Please speak
0:重要
1:要
2:要
3:非常重要
4:要
5:要
6:没有问题
7:重要
8:要
9:要

s->GetResult().decoder_out = decoder_out;

你把这行删掉,然后再次编译,然后再测试下?

删除后用git clone https://github.com/k2-fsa/sherpa-ncnn
cd sherpa-ncnn
python setup.py install吗?
输出效果:Started! Please speak
0:重要
1:要
2:要
3:非常的重要
4:要
5:要
6:你
7:车

git clone https://github.com/k2-fsa/sherpa-ncnn
cd sherpa-ncnn

然后删除那一行

然后

python3 setup.py install

是的结果还是一样的怎么办

看看git diff的输出。你有重新编译吗

啥意思?QQ上问吧