The .gz extension should be also added for 'On Disk' and 'Probing' Phrase tables.

This commit is contained in:
Tomas Fulajtar 2017-11-28 10:29:58 +01:00
parent 7e9108dd29
commit 5b9a6da9a4

View File

@ -386,7 +386,7 @@ for ( my $i = 0 ; $i <= $#TABLE ; $i++ ) {
$mid_file .= ".gz"
if $mid_file !~ /\.gz/
&& $binarizer
&& $binarizer =~ /processPhraseTable/;
&& $binarizer =~ /processPhraseTable|CreateOnDiskPt|CreateProbingPT/;
my $openstring = mk_open_string($file);