mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-08-16 23:10:31 +03:00
The .gz extension should be also added for 'On Disk' and 'Probing' Phrase tables.
This commit is contained in:
parent
7e9108dd29
commit
5b9a6da9a4
@ -386,7 +386,7 @@ for ( my $i = 0 ; $i <= $#TABLE ; $i++ ) {
|
|||||||
$mid_file .= ".gz"
|
$mid_file .= ".gz"
|
||||||
if $mid_file !~ /\.gz/
|
if $mid_file !~ /\.gz/
|
||||||
&& $binarizer
|
&& $binarizer
|
||||||
&& $binarizer =~ /processPhraseTable/;
|
&& $binarizer =~ /processPhraseTable|CreateOnDiskPt|CreateProbingPT/;
|
||||||
|
|
||||||
my $openstring = mk_open_string($file);
|
my $openstring = mk_open_string($file);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user