Hi,

that's correct - I fixed the bug.

-phi

On Wed, Jul 29, 2015 at 6:06 AM, Martin Baumgärtner <
[email protected]> wrote:

>  Hi all,
>
> just noticed the following error (one for each line!!) when using the
> script threshold-filter.perl for pruning the phrase table:
>
> Use of uninitialized value $MIN_SCORE{"2"} in numeric lt (<) at
> threshold-filter.perl line 36, <STDIN> line 399.
>
> Then I found the following script code:
>
> my %MIN_SCORE;
> # legacy: same threshold for direct and indirect phrase translation
> probabilities
> if ($ARGV[0] =~ /^[\d\.]+$/) {
>   $MIN_SCORE{0} = $ARGV[0];
>   $MIN_SCORE{2} = $ARGV[2];
> }
>
> Shouldn't $MIN_SCORE{2} not be equal to $ARGV[0] for legacy?
>
> Kind regards,
> Martin
>
> --
>
>
>    *STAR Group* <http://www.star-group.net>
>   <http://www.star-group.net/>
>      *Martin Baumgärtner*
>      STAR Language Technology & Solutions GmbH  Umberto-Nobile-Straße 19
> | 71063 Sindelfingen | Germany  Tel. +49 70 31-4 10 92-0
> [email protected]   Fax +49 70 31-4 10 92-70
> www.star-group.net   Geschäftsführer: Oliver Rau, Bernd Barth
> Handelsregister Stuttgart HRB 245654 | St.-Nr. 56098/11677
>
>
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to