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 1616! command -v gawk > /dev/null && \
1717 echo " GNU awk is not installed so SRILM will probably not work correctly: refusing to install" && exit 1;
1818
19- if [ $# -ne 3 ]; then
19+ if [ $# -ne 4 ]; then
2020 echo " SRILM download requires some information about you"
2121 echo
22- echo " Usage: $0 <name> <organization> <email>"
22+ echo " Usage: $0 <name> <organization> <email> <address> "
2323 exit 1
2424fi
2525
26- srilm_url=" http://www.speech.sri.com/projects/srilm/srilm_download .php"
27- post_data=" WWW_file=srilm- 1.7.3.tar.gz&WWW_name =$1 &WWW_org =$2 &WWW_email =$3 "
26+ srilm_url=" http://www.speech.sri.com/projects/srilm/srilm_download2 .php"
27+ post_data=" file= 1.7.3&name =$1 &org =$2 &email =$3 &address= $4 &license=on "
2828
2929if ! wget --post-data " $post_data " -O ./srilm.tar.gz " $srilm_url " ; then
3030 echo ' There was a problem downloading the file.'
You can’t perform that action at this time.
0 commit comments