File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1717 echo " GNU awk is not installed so SRILM will probably not work correctly: refusing to install" && exit 1;
1818
1919if [ ! -f srilm.tgz ] && [ ! -f srilm.tar.gz ] && [ ! -d srilm ]; then
20- if [ $# -ne 3 ]; then
20+ if [ $# -ne 4 ]; then
2121 echo " SRILM download requires some information about you"
2222 echo
23- echo " Usage: $0 <name> <organization> <email>"
23+ echo " Usage: $0 <name> <organization> <email> <address> "
2424 exit 1
2525 fi
2626
27- srilm_url=" http://www.speech.sri.com/projects/srilm/srilm_download .php"
28- post_data=" WWW_file=srilm- 1.7.3.tar.gz&WWW_name =$1 &WWW_org =$2 &WWW_email =$3 "
27+ srilm_url=" http://www.speech.sri.com/projects/srilm/srilm_download2 .php"
28+ post_data=" file= 1.7.3&name =$1 &org =$2 &email =$3 &address= $4 &license=on "
2929
3030 if ! wget --post-data " $post_data " -O ./srilm.tar.gz " $srilm_url " ; then
3131 echo ' There was a problem downloading the file.'
You can’t perform that action at this time.
0 commit comments