aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xget_data.sh2
-rwxr-xr-xscripts/train_dic_creator.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/get_data.sh b/get_data.sh
index a658ec2..068c776 100755
--- a/get_data.sh
+++ b/get_data.sh
@@ -62,7 +62,7 @@ done
62 62
63READY="${WNET}/ready" 63READY="${WNET}/ready"
64mkdir -p "${READY}" 64mkdir -p "${READY}"
65mv "${SCRIPTS}"/*.def "${READY}" 65mv "${ROOT}"/*.def "${READY}"
66 66
67echo "Downloading dictionaries" 67echo "Downloading dictionaries"
68 68
diff --git a/scripts/train_dic_creator.pl b/scripts/train_dic_creator.pl
index a228044..448fecf 100755
--- a/scripts/train_dic_creator.pl
+++ b/scripts/train_dic_creator.pl
@@ -33,7 +33,7 @@ use strict;
33use warnings; 33use warnings;
34use List::Util qw(shuffle); 34use List::Util qw(shuffle);
35 35
36my ($source_lang, $target_lang, $cutoff, $dict_dir) = @ARGV; 36my ($source_lang, $target_lang, $dict_dir, $cutoff) = @ARGV;
37 37
38if (not defined $source_lang or not defined $target_lang) { 38if (not defined $source_lang or not defined $target_lang) {
39 die "usage: ./train_dic_creator.pl <source_lang> <target_lang> (cutoff)"; 39 die "usage: ./train_dic_creator.pl <source_lang> <target_lang> (cutoff)";