k2-fsa / sherpa-ncnn

Real-time speech recognition using next-gen Kaldi with ncnn without Internet connection. Support iOS, Android, Raspberry Pi, VisionFive2, LicheePi4A etc.
https://k2-fsa.github.io/sherpa/ncnn/index.html
Apache License 2.0
891 stars 138 forks source link

Do we support hotwords in sherpa_ncnn? #313

Closed OswaldoBornemann closed 3 months ago

OswaldoBornemann commented 4 months ago

Do we support hotwords in sherpa_ncnn?

csukuangfj commented 4 months ago

Yes, please see

OswaldoBornemann commented 4 months ago

I see. Do we need to change the decoding method to modified_beam_search like you did in sherpa onnx?

csukuangfj commented 4 months ago

Yes. sherpa-onnx and sherpa-ncnn share the same doc for hotwords.

OswaldoBornemann commented 4 months ago

I see. Thank you for your patience.