ncnn带端点检测的流式语音识别bug
Opened this issue · 6 comments
20246688 commented
在使用python-api-examples/speech-recognition-from-microphone-with-endpoint-detection.py的时候,一些词语的尾音会重复输出的怎么回事呢?是否可以处理?
输出效果如下:
Started! Please speak
0:重要
1:要
2:要
3:非常重要
4:要
5:要
6:没有问题
7:重要
8:要
9:要
csukuangfj commented
sherpa-ncnn/sherpa-ncnn/csrc/recognizer.cc
Line 216 in 884ce6d
你把这行删掉,然后再次编译,然后再测试下?
20246688 commented
删除后用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:车
csukuangfj commented
git clone https://github.com/k2-fsa/sherpa-ncnn
cd sherpa-ncnn
然后删除那一行
然后
python3 setup.py install
20246688 commented
是的结果还是一样的怎么办
csukuangfj commented
看看git diff的输出。你有重新编译吗
20246688 commented
啥意思?QQ上问吧