Commit ee958b39 authored by Dan Povey's avatar Dan Povey
Browse files

Fix to wsj_data_prep.sh RE casing; minor fix to test; improvement to one or...

Fix to wsj_data_prep.sh RE casing; minor fix to test; improvement to one or two warning messages in tools/install.sh.

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@597 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent 0a77965c
...@@ -105,12 +105,14 @@ cat links/13-34.1/wsj1/doc/indices/h1_p0.ndx | \ ...@@ -105,12 +105,14 @@ cat links/13-34.1/wsj1/doc/indices/h1_p0.ndx | \
cat links/13-34.1/wsj1/doc/indices/h2_p0.ndx | \ cat links/13-34.1/wsj1/doc/indices/h2_p0.ndx | \
$local/ndx2flist.pl $* | sort > test_dev93_5k.flist $local/ndx2flist.pl $* | sort > test_dev93_5k.flist
# Dev-set for Nov'93 (503 utts)
# links/13-34.1/wsj1/doc/indices/h1_p0.ndx
# Dev-set Hub 1,2 (503, 913 utterances) # Dev-set Hub 1,2 (503, 913 utterances)
find `readlink links/13-16.1`/WSJ1/SI_DT_20 -print | grep ".WV1" | sort > dev_dt_20.flist
find `readlink links/13-16.1`/WSJ1/SI_DT_05 -print | grep ".WV1" | sort > dev_dt_05.flist # Note: the ???'s below match WSJ and SI_DT, or wsj and si_dt.
# Sometimes this gets copied from the CD's with upcasing, don't know
# why (could be older versions of the disks).
find `readlink links/13-16.1`/???1/??_??_20 -print | grep ".WV1" | sort > dev_dt_20.flist
find `readlink links/13-16.1`/???1/??_??_05 -print | grep ".WV1" | sort > dev_dt_05.flist
# Finding the transcript files: # Finding the transcript files:
......
...@@ -28,8 +28,8 @@ exit 1; ...@@ -28,8 +28,8 @@ exit 1;
# The next command line is an example; you have to give the script # The next command line is an example; you have to give the script
# command-line arguments corresponding to the WSJ disks from LDC. # command-line arguments corresponding to the WSJ disks from LDC.
# Another example set of command line arguments is # Another example set of command line arguments is
# /ais/gobi2/speech/WSJ/*/??-{?,??}.?. These must be absolute, # /ais/gobi2/speech/WSJ/*/??-{?,??}.?
# not relative, pathnames. # These must be absolute, not relative, pathnames.
local/wsj_data_prep.sh /mnt/matylda2/data/WSJ?/??-{?,??}.? local/wsj_data_prep.sh /mnt/matylda2/data/WSJ?/??-{?,??}.?
local/wsj_prepare_dict.sh local/wsj_prepare_dict.sh
......
...@@ -29,6 +29,7 @@ minor: ...@@ -29,6 +29,7 @@ minor:
possibly remove gmm-align (modifiy scripts accordingly). possibly remove gmm-align (modifiy scripts accordingly).
make questions on disk be in text form (use sym2int.pl etc.)... same make questions on disk be in text form (use sym2int.pl etc.)... same
for transcripts while decoding. for transcripts while decoding.
at kaldi-matrix.cc:1198, make it read in -nan and -inf
maybe move UBM clustering somewhere else [from am-diag-gmm]? maybe move UBM clustering somewhere else [from am-diag-gmm]?
document the --cmd options in wsj/s3 scripts document the --cmd options in wsj/s3 scripts
change sgmm code so gselect is no longer optional [only in discrim/?] change sgmm code so gselect is no longer optional [only in discrim/?]
......
...@@ -180,8 +180,13 @@ void UnitTestEstimateMmieDiagGmm() { ...@@ -180,8 +180,13 @@ void UnitTestEstimateMmieDiagGmm() {
std::cout << "MEANX: " << gmm->weights() << '\n'; std::cout << "MEANX: " << gmm->weights() << '\n';
// binary write // binary write
mmie_gmm.Write(Output("tmp_stats", false).Stream(), false); {
Output ko("tmp_stats", false);
mmie_gmm.Write(ko.Stream(), false);
ko.Stream().flush();
}
// binary read // binary read
bool binary_in; bool binary_in;
Input ki("tmp_stats", &binary_in); Input ki("tmp_stats", &binary_in);
......
...@@ -217,7 +217,7 @@ else ...@@ -217,7 +217,7 @@ else
echo "sph2pipe:Failure" echo "sph2pipe:Failure"
fi fi
if [ $ok_atlas -eq 0 ]; then if [ $ok_atlas -eq 0 ]; then
echo "ATLAS: Success" echo "ATLAS: Success [note: we install just the headers; do ./install_atlas.sh if ../src/configure fails.]"
else else
echo "ATLAS: Failure" echo "ATLAS: Failure"
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment