From 6684585c81b95807cf84878d86b95c97ba7ac2f7 Mon Sep 17 00:00:00 2001 From: chenguoguo Date: Wed, 5 Aug 2015 11:37:02 -0400 Subject: [PATCH] trunk: small bug fix in babel scripts --- egs/babel/s5b/local/generate_proxy_keywords.sh | 4 ++-- egs/babel/s5c/local/generate_proxy_keywords.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/egs/babel/s5b/local/generate_proxy_keywords.sh b/egs/babel/s5b/local/generate_proxy_keywords.sh index c07623bc2d3..8562953efa4 100755 --- a/egs/babel/s5b/local/generate_proxy_keywords.sh +++ b/egs/babel/s5b/local/generate_proxy_keywords.sh @@ -59,12 +59,12 @@ done # Gets phone symbols phone_start=2 -if [ $pron_probs ]; then +if $pron_probs; then phone_start=3 fi pron_probs_param=""; -if [ $pron_probs ]; then +if $pron_probs; then pron_probs_param="--pron-probs"; fi diff --git a/egs/babel/s5c/local/generate_proxy_keywords.sh b/egs/babel/s5c/local/generate_proxy_keywords.sh index c07623bc2d3..8562953efa4 100755 --- a/egs/babel/s5c/local/generate_proxy_keywords.sh +++ b/egs/babel/s5c/local/generate_proxy_keywords.sh @@ -59,12 +59,12 @@ done # Gets phone symbols phone_start=2 -if [ $pron_probs ]; then +if $pron_probs; then phone_start=3 fi pron_probs_param=""; -if [ $pron_probs ]; then +if $pron_probs; then pron_probs_param="--pron-probs"; fi