Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added simple check for kaldi_lm script in fisher_swbd recipe. #1558

Merged
merged 4 commits into from
Apr 20, 2017
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion egs/fisher_swbd/s5/run.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
#!/bin/bash

# It's best to run the commands in this one by one.

. ./cmd.sh
. ./path.sh
mfccdir=mfcc
set -e
rescore=true

# check for kaldi_lm
which get_word_map.pl > /dev/null
if [ $? -ne 0 ]; then
echo "This recipe requires installation of tools/kaldi_lm. Please run install_kaldi_lm.sh in tools/" && exit 1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's actually extras/install_kaldi_lm.sh

fi

# prepare fisher data and put it under data/train_fisher
local/fisher_data_prep.sh /export/corpora3/LDC/LDC2004T19 /export/corpora3/LDC/LDC2005T19 \
/export/corpora3/LDC/LDC2004S13 /export/corpora3/LDC/LDC2005S13
Expand Down