diff options
author | Tomas Fulajtar <tomasfu@moravia.com> | 2017-11-28 12:29:58 +0300 |
---|---|---|
committer | Tomas Fulajtar <tomasfu@moravia.com> | 2017-11-28 12:29:58 +0300 |
commit | 5b9a6da9a4065b776d1dffedbd847be565c436ef (patch) | |
tree | 04878203a4cbd0b36205aad0fc01dd5eaa6f1983 | |
parent | 7e9108dd29ff3f03820a968bf81cd022fe35c43f (diff) |
The .gz extension should be also added for 'On Disk' and 'Probing' Phrase tables.
-rwxr-xr-x | scripts/training/filter-model-given-input.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/training/filter-model-given-input.pl b/scripts/training/filter-model-given-input.pl index 65b2e3502..ef3e9f901 100755 --- a/scripts/training/filter-model-given-input.pl +++ b/scripts/training/filter-model-given-input.pl @@ -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); |