Blame view

egs/yesno/s5/local/prepare_dict.sh 367 Bytes
8dcb6dfcb   Yannick Estève   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  #!/bin/bash
  
  mkdir -p data/local/dict
  
  cp input/lexicon_nosil.txt data/local/dict/lexicon_words.txt
  
  cp input/lexicon.txt data/local/dict/lexicon.txt
  
  cat input/phones.txt | grep -v SIL > data/local/dict/nonsilence_phones.txt
  
  echo "SIL" > data/local/dict/silence_phones.txt
  
  echo "SIL" > data/local/dict/optional_silence.txt
  
  echo "Dictionary preparation succeeded"