create_test_model.sh (367B)
1 #!/bin/bash 2 3 script=$(readlink -f "$0") 4 scriptpath=$(dirname "$script") 5 6 model_location="/tmp/test_model" 7 audio_recordings_location="/tmp/test_audio_recordings" 8 dict_file="/tmp/test_dict_file.txt" 9 10 printf "hello\nworld\ntest phrases\nlast one now\n" > "$dict_file" 11 12 13 vmc model_name \ 14 -create $model_location \ 15 -newrecordings $audio_recordings_location $dict_file 1 16