alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
7.7k stars 1.08k forks source link

Package Vosk for Debian #1308

Open besentv opened 1 year ago

besentv commented 1 year ago

Currently, Vosk seems only packaged for PIP, but I'd like to use it as a dependency in Wine which expects the library to be installed as a system package (as well as its CI). So, packaging libvosk.so and vosk-api.h for Debian would be great.

nshmyrev commented 1 year ago

Yes, it would be nice to have the package. But I suppose packaging will not be simple since we require custom openfst and kaldi too

besentv commented 1 year ago

Doesn't Vosk packaged for pip link against these statically? (Meaning dependencies wouldn't be an issue.)

nshmyrev commented 1 year ago

Yes, but I suppose debian approach would be to package everything separately. Yet to think on this. I hope we will move soon to pytorch, it will make packaging easier.

besentv commented 1 year ago

As long as the C interface stays the same I'm happy. 😄

johngebbie commented 1 year ago

I don't know the Debian packaging system but you might find the template here for Alpine helpful. It has patches to use the latest versions of openfst and openblas.