jcsilva / docker-kaldi-gstreamer-server

Dockerfile for kaldi-gstreamer-server.
BSD 2-Clause "Simplified" License
288 stars 139 forks source link

Command in README.md causes incorrect rocognition on speech containing "test" #76

Open rpdrewes opened 4 years ago

rpdrewes commented 4 years ago

The README.md file says to run the following command:

find /media/kaldi_models/ -type f | xargs sed -i 's:test:/opt:g'

The intent seems to be to change paths in ivector_extractor.conf and online_nnet2_decoding.conf from test/models/... to /opt/models/... where they will work with the docker image. However, that command also changes all instances of "test" in the wordlist words.txt! So for example if you attempt to recognize the word "slightest" the recognizer returns "sligh/opt". Try it.

Probably in README.md that find command should be changed to only be applied to the conf/ subdirectory.