- This topic has 0 replies, 1 voice, and was last updated 1 second ago by .
Viewing 0 reply threads
Viewing 0 reply threads
- 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
Some forums are only available if you are logged in. Searching will only return results from those forums if you log in.
Copyright © 2024 · Balance Child Theme on Genesis Framework · WordPress · Log in