diff options
author | wlin12 <wanglin112@gmail.com> | 2012-10-02 21:54:51 +0400 |
---|---|---|
committer | wlin12 <wanglin112@gmail.com> | 2012-10-02 21:54:51 +0400 |
commit | f92d63c9a211f22e0fc184b481b9e54064edecfa (patch) | |
tree | 8497201253785202c833b6f6a5f11761f0e6869d /contrib | |
parent | 2085fd311bb6ccfa5648a9122a470c8e34bdc092 (diff) |
input type bug fix
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/relent-filter/scripts/prunePT.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/relent-filter/scripts/prunePT.pl b/contrib/relent-filter/scripts/prunePT.pl index 37dc30bad..b443cc14e 100755 --- a/contrib/relent-filter/scripts/prunePT.pl +++ b/contrib/relent-filter/scripts/prunePT.pl @@ -7,8 +7,8 @@ my $threshold = -1; use Getopt::Long; $_HELP = 1 if (@ARGV < 1 or !GetOptions ("table=s" => \$table, #table to filter "scores=s" => \$scores_file, #scores of each phrase pair, should have same size as the table to filter -"percentage=i" => \$percentage, # percentage of phrase table to remain -"threshold=i" => \$threshold)); # threshold (score < threshold equals prune entry) +"percentage=f" => \$percentage, # percentage of phrase table to remain +"threshold=f" => \$threshold)); # threshold (score < threshold equals prune entry) # help message if arguments are not correct if ($_HELP) { |