Please refer to https://k2-fsa.github.io/sherpa/ncnn/python/index.html for how to build a Python package.
This file shows how to recognize a file.
This file demonstrates how to do real-time speech recognition with a microphone.
You can find video demos about this file at the following addresses:
Similar to speech-recognition-from-microphone.py
but it also enables
endpoint detection.
You can find a video demo about this file at https://www.bilibili.com/video/BV1eK411y788