Blame view

egs/tedlium/s5_r2/local/ted_download_lm.sh 615 Bytes
8dcb6dfcb   Yannick Estève   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  #!/bin/bash
  #
  # Copyright  2018  David Snyder
  # Apache 2.0
  #
  # This script downloads pre-built language models trained on the Cantab-Tedlium
  # text data and Tedlium acoustic training data.  If you want to build these
  # models yourself, run the script local/ted_train_lm.sh.
  
  set -e
  
  echo "$0: downloading Tedlium 4 gram language models (it won't re-download if it was already downloaded.)"
  wget --continue http://kaldi-asr.org/models/5/4gram_small.arpa.gz -P data/local/local_lm/data/arpa || exit 1
  wget --continue http://kaldi-asr.org/models/5/4gram_big.arpa.gz -P data/local/local_lm/data/arpa || exit 1
  
  exit 0