Skip to content
Snippets Groups Projects
Commit 64c28761 authored by Xingyu Na's avatar Xingyu Na Committed by Vijayaditya Peddinti
Browse files

add cmudict version for reproducibility (#871)

parent ca4751bd
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@
dir=data/local/dict
mkdir -p $dir
echo "Getting CMU dictionary"
svn co https://svn.code.sf.net/p/cmusphinx/code/trunk/cmudict $dir/cmudict
svn co -r 13068 https://svn.code.sf.net/p/cmusphinx/code/trunk/cmudict $dir/cmudict
# silence phones, one per line.
for w in sil laughter noise oov; do echo $w; done > $dir/silence_phones.txt
......
......@@ -31,7 +31,7 @@ cat $dict_dir/words.txt | grep -v '[a-zA-Z]' > $dict_dir/lexicon-ch/words-ch.txt
##### produce pronunciations for english
if [ ! -f $dict_dir/cmudict/cmudict.0.7a ]; then
echo "--- Downloading CMU dictionary ..."
svn co https://svn.code.sf.net/p/cmusphinx/code/trunk/cmudict \
svn co -r 13068 https://svn.code.sf.net/p/cmusphinx/code/trunk/cmudict \
$dict_dir/cmudict || exit 1;
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment