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 17
17
echo " GNU awk is not installed so SRILM will probably not work correctly: refusing to install" && exit 1;
18
18
19
19
if [ ! -f srilm.tgz ] && [ ! -f srilm.tar.gz ] && [ ! -d srilm ]; then
20
- if [ $# -ne 3 ]; then
20
+ if [ $# -ne 4 ]; then
21
21
echo " SRILM download requires some information about you"
22
22
echo
23
- echo " Usage: $0 <name> <organization> <email>"
23
+ echo " Usage: $0 <name> <organization> <email> <address> "
24
24
exit 1
25
25
fi
26
26
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 "
29
29
30
30
if ! wget --post-data " $post_data " -O ./srilm.tar.gz " $srilm_url " ; then
31
31
echo ' There was a problem downloading the file.'
You can’t perform that action at this time.
0 commit comments