Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <fishandfrolick@gmail.com>2013-05-12 00:46:45 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2013-05-12 00:46:45 +0400
commit51fc6fdcb6ffc7b9ed1851002ff3fc63eef75e73 (patch)
tree1ea67acd062a66a2ef528c1d555287dae0370236 /scripts/training
parent981351758a394ea06ea22cdd810d0735a9af3c9b (diff)
filter Memory --> OnDisk and Binary
Diffstat (limited to 'scripts/training')
-rwxr-xr-xscripts/training/filter-model-given-input.pl4
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");