diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2013-05-12 00:46:45 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2013-05-12 00:46:45 +0400 |
commit | 51fc6fdcb6ffc7b9ed1851002ff3fc63eef75e73 (patch) | |
tree | 1ea67acd062a66a2ef528c1d555287dae0370236 /scripts/training | |
parent | 981351758a394ea06ea22cdd810d0735a9af3c9b (diff) |
filter Memory --> OnDisk and Binary
Diffstat (limited to 'scripts/training')
-rwxr-xr-x | scripts/training/filter-model-given-input.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/training/filter-model-given-input.pl b/scripts/training/filter-model-given-input.pl index 6ed2813a7..bd25c36cc 100755 --- a/scripts/training/filter-model-given-input.pl +++ b/scripts/training/filter-model-given-input.pl @@ -145,6 +145,10 @@ while(my $line = <INI>) { $phrase_table_impl = "PhraseDictionaryCompact"; @toks = set_value(\@toks, "path", "$new_name$table_flag"); } + elsif ($binarizer =~ /CreateOnDiskPt/) { + $phrase_table_impl = "PhraseDictionaryOnDisk"; + @toks = set_value(\@toks, "path", "$new_name$table_flag"); + } else { $phrase_table_impl = "PhraseDictionaryTreeAdaptor"; @toks = set_value(\@toks, "path", "$new_name$table_flag"); |