k2-fsa / sherpa-ncnn

Real-time speech recognition and voice activity detection (VAD) using next-gen Kaldi with ncnn without Internet connection. Support iOS, Android, Linux, macOS, Windows, Raspberry Pi, VisionFive2, LicheePi4A etc.
https://k2-fsa.github.io/sherpa/ncnn/index.html
Apache License 2.0
1.07k stars 160 forks source link

[Help wanted] Reduce number of shared libraries #355

Open csukuangfj opened 3 months ago

csukuangfj commented 3 months ago

Following what we have done in https://github.com/k2-fsa/sherpa-onnx, we can reduce the number of shared libraries for sherpa-ncnn into a single one.

For jni, we keep only libsherpa-ncnn-jni.so

For C API, we keep only libsherpa-ncnn-c-api.so

For Python API, we keep only _sherpa_ncnn-xxx.so