- This topic has 1 reply, 2 voices, and was last updated 1 month ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
› Forums › Technical support › Recognise Test data
I had the script right on the recognise_test_data file before but I accidentally deleted it , I know I need to change something in the loop here but I’m not quite sure what for multiple test users :
# to use a single user’s data, for example “simonk”
USER_FILE=$1
# to use your own data, this would automatically set USER to be your username
# USER=${USER:-whoami
}
# and this is the path to the data
DATA=${DATA:-/Volumes/Network/courses/sp/data}
shopt -s extglob
for F in ls ${DATA}/mfcc/test/${USER_FILE}_test?(_)??.mfcc
do
FF=basename ${F} .mfcc
echo
echo Recognising ${FF}
HVite -T 1 -C resources/CONFIG \
-d models/hmm1 \
-l rec \
-w resources/grammar_as_network \
resources/dictionary \
resources/word_list \
-S scripts/${USER_FILE}
done
You should use either a loop (around all the files to be recognised), or the -S
option (to pass the name of a file, in which all files to be recognised are listed), but not both.
The -S
option will generally be faster(*). Why is that?
(*) although you might not notice the difference on the lab computers, because network speed typically dominates the run-time.
Some forums are only available if you are logged in. Searching will only return results from those forums if you log in.
Copyright © 2025 · Balance Child Theme on Genesis Framework · WordPress · Log in