-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[egs] egs/tedlium/s5_r2 download Tedlium LMs from kaldi-asr.org (#2441)
- Loading branch information
1 parent
1ab3df0
commit 72d89ce
Showing
2 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters