зеркало из https://github.com/mozilla/kaldi.git
Cosmetic changes in egs/voxforge/online_demo
git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@1292 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
This commit is contained in:
Родитель
8b555ab820
Коммит
db6567823d
|
@ -14,8 +14,8 @@ You can start the demo in "simulated" mode by just calling:
|
|||
./run.sh
|
||||
|
||||
To try using your own voice(assuming you have a working microphone) call:
|
||||
./run.sh --test_mode live
|
||||
./run.sh --test-mode live
|
||||
|
||||
By default a discriminatively trained acoustic models is used. To try a
|
||||
maximum likelihood trained one(usually have lower accuracy) add a
|
||||
"--ac_model_type tri2a" when running the above commands.
|
||||
maximum likelihood trained one(usually has lower accuracy) add
|
||||
"--ac-model-type tri2a" when running the above commands.
|
||||
|
|
|
@ -64,13 +64,14 @@ case $test_mode in
|
|||
echo " The (bigram) language model used to build the decoding graph was"
|
||||
echo " estimated on an audio book's text. The text in question is"
|
||||
echo " \"King Solomon's Mines\" (http://www.gutenberg.org/ebooks/2166)."
|
||||
echo " The audio chunks to be decoded were taken from the same audio book"
|
||||
echo " The audio chunks to be decoded were taken from the audio book read"
|
||||
echo " by John Nicholson(http://librivox.org/king-solomons-mines-by-haggard/)"
|
||||
echo
|
||||
echo " NOTE: Using utterances from the book, on which the LM was estimated"
|
||||
echo " is considered to be \"cheating\" and we are doing this only for"
|
||||
echo " the purposes of the demo."
|
||||
echo
|
||||
echo " You can type \"./run.sh --test_mode live\" to try it using your"
|
||||
echo " You can type \"./run.sh --test-mode live\" to try it using your"
|
||||
echo " own voice!"
|
||||
echo
|
||||
mkdir -p $decode_dir
|
||||
|
@ -88,7 +89,7 @@ case $test_mode in
|
|||
ark,t:$decode_dir/ali.txt $trans_matrix;;
|
||||
|
||||
*)
|
||||
echo "Invalid test type! Should be either \"live\" or \"simulated\"!";
|
||||
echo "Invalid test mode! Should be either \"live\" or \"simulated\"!";
|
||||
exit 1;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ UNAME=$(shell uname)
|
|||
ifeq ($(UNAME), Linux)
|
||||
EXTRA_LDLIBS = ../../tools/portaudio/install/lib/libportaudio.a
|
||||
ifneq ($(wildcard ../../tools/portaudio/install/include/pa_linux_alsa.h),)
|
||||
EXTRA_LDLIBS += -lasound
|
||||
EXTRA_LDLIBS += -lasound
|
||||
endif
|
||||
else
|
||||
EXTRA_LDLIBS = -L ../../tools/portaudio/install/lib/ -lportaudio
|
||||
|
|
Загрузка…
Ссылка в новой задаче