Blame view

egs/vystadial_cz/online_demo/run_online-latgen-recogniser.sh 579 Bytes
8dcb6dfcb   Yannick Estève   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  #!/bin/bash
  
  # source the settings
  . ./path.sh
  
  . utils/parse_options.sh || exit 1
  
  
  # cgdb -q -x .gdbinit_latgen --args \
  
  wav_name=./data/vystadial-sample-cs/test/vad-2013-06-08-22-50-01.897179.wav
  onl-rec-latgen-recogniser-test $wav_name \
      --verbose=0  --max-mem=500000000 --lat-lm-scale=15 --config=$MFCC \
      --beam=$beam --lattice-beam=$latbeam --max-active=$max_active \
      $AM $HCLG `cat $SILENCE` $MAT
  
  echo; echo "Converting the lattice to svg picture ${wav_name}.svg" ; echo
  fstdraw --portrait=true --osymbols=$WST ${wav_name}.fst | dot -Tsvg  > ${wav_name}.svg