-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
Hi, I was trying to build vosk-api docker image using this docker file from vosk-server.
After building the kaldi image, it tries to build vosk-api, and then uses the vosk-server to serve the models. The vosk-api modules are build by running the following command:
git clone https://github.com/alphacep/vosk-api /opt/vosk-api \
&& cd /opt/vosk-api/src \
&& KALDI_MKL=$KALDI_MKL KALDI_ROOT=/opt/kaldi make -j $(nproc) \
&& cd /opt/vosk-api/python \
&& python3 ./setup.py install which is noted here.
This line failed with error:
recognizer.cc: In member function 'const char* Recognizer::PartialResult()':
recognizer.cc:752:13: error: 'WordAlignLatticePartial' was not declared in this scope
WordAlignLatticePartial(clat, *model_->trans_model_, *model_->winfo_, 0, &aligned_lat);
^~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:112: recognizer.o] Error 1
make: *** Waiting for unfinished jobs....
I have review the file: recognizer.cc and it's true; there is no definition for the function WordAlignLatticePartial.
Thanks for any help.
Metadata
Metadata
Assignees
Labels
No labels