diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2012-06-07 20:53:52 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2012-06-07 20:53:52 +0400 |
commit | 21c80f4fbe4f1fa90a13adb0965b889d6a05d673 (patch) | |
tree | 707147e33b7ac525069be88c41b531368624df76 /scripts/training | |
parent | 5b7a9d53754ccec44ca0b5885ba2c7fc50a40730 (diff) |
pass number of ff from experiment.perl to train-model.perl for suffix array only
Diffstat (limited to 'scripts/training')
-rwxr-xr-x | scripts/training/train-model.perl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/training/train-model.perl b/scripts/training/train-model.perl index 77569256d..0ac2621f3 100755 --- a/scripts/training/train-model.perl +++ b/scripts/training/train-model.perl @@ -1851,6 +1851,10 @@ sub create_ini { my @toks = split(/:/,$file); $file = $toks[0]; $phrase_table_impl = $toks[1]; + + if (@toks == 3) { + $basic_weight_count = $toks[2]; + } } print INI "$phrase_table_impl $ff $basic_weight_count $file\n"; |