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

update fisher_swbd recipe #1498

Merged
merged 1 commit into from
Mar 18, 2017
Merged

Conversation

naxingyu
Copy link
Contributor

update fisher_swbd to adopt new path and srilm installer.

@@ -14,7 +14,7 @@ if [ ! -d liblbfgs-1.10 ]; then
fi

# http://www.speech.sri.com/projects/srilm/download.html
if [ ! -f srilm.tgz ]; then
if [ ! -f srilm-1.7.2.tar ]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

@naxingyu , I won't comment on the recipe changes per se (not familiar with that)
But I'm not fond of the changes here.
a) what srilm pages do offer for download if you go there is srilm-1.7.2.tar.gz, i.e. I'm not sure where the tar file comes from, but that script won't work for other people now.
b) I'm still in favor of asking users to do a symlink or copy the file as srilm.tgz.
I think it makes sense as we cannot download the file automatically -- so people can use whatever version they have available and do not have to undergo the downloading process every time. Which I realize it's not true now as I'm thinking about it, as we need 1.7.1 at least, because of the maxent LMs. So I don't really object to having a fixed version and bump it now and then, but I think it's less convenient for us.
c) "$SRILM" is preferred, IMO.
It's because of cases where the users have space (white character) in the path somewhere. Or perhaps not, but is there any rationale behind changing it?

@naxingyu
Copy link
Contributor Author

naxingyu commented Mar 18, 2017 via email

@danpovey
Copy link
Contributor

danpovey commented Mar 18, 2017 via email

@naxingyu
Copy link
Contributor Author

naxingyu commented Mar 18, 2017 via email

@danpovey
Copy link
Contributor

danpovey commented Mar 18, 2017 via email

@naxingyu
Copy link
Contributor Author

naxingyu commented Mar 18, 2017 via email


kaldi_lm=`which train_lm.sh`
if [ ! -x $kaldi_lm ]; then
echo "train_lm.sh is not found. Checkout tools/extra/install_kaldi_lm.sh"
Copy link
Contributor

Choose a reason for hiding this comment

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

Say "look at" not "checkout".

@naxingyu naxingyu force-pushed the fisher_swbd-update branch from 6375c1d to e0b8aac Compare March 18, 2017 01:38
@naxingyu
Copy link
Contributor Author

naxingyu commented Mar 18, 2017 via email

@danpovey
Copy link
Contributor

Merging. Thanks!

@danpovey danpovey merged commit 3fec956 into kaldi-asr:master Mar 18, 2017
@naxingyu naxingyu deleted the fisher_swbd-update branch May 12, 2017 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants