Closed ibombonato closed 4 years ago
Small portuguese model is 16khz, you need to add VOSK_SAMPLE_RATE 16000 and send 16khz data to the server:
the telecom model for Portuguese is not public yet.
It worked after changing the dockerfile and also after I convert the audio with ffmpeg
ffmpeg -i test_file.wav -loglevel quiet -ar 16000 -ac 1 -f s16le test_file_16kz.wav
Tks
I notice that the docker builds and docker-hub does not include portuguese language. So i tried to compile/run with portuguese model and server always return empty transcriptions.
Here what I did:
Created a dockerfile for PT
filename:
Dockerfile.kaldi-pt
Then I build and run it...
But when I call
asr-test.py "my_portuguese_file.wav"
it return empty string for the hole process...Like:
Are there any know bug for portuguese language?
Fwiw, I did the same process with Spanish language and everything went fine...
Tks!