mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-08-17 07:20:48 +03:00
Bug fixed for distortion model proposed by Tim Murray
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/lexi-smoothing@1111 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
parent
cc0d7b755b
commit
acfed3e215
@ -938,13 +938,14 @@ sub scan_config {
|
||||
"ttable-file" => 3,
|
||||
"generation-file" => 3,
|
||||
"lmodel-file" => 3,
|
||||
"distortion-file" => 0,
|
||||
"distortion-file" => 2,
|
||||
);
|
||||
# by default, each line of each section means one lambda, but some sections
|
||||
# explicitly state a custom number of lambdas
|
||||
my %where_is_lambda_count = (
|
||||
"ttable-file" => 2,
|
||||
"generation-file" => 2,
|
||||
"distortion-file" => 2,
|
||||
);
|
||||
|
||||
open INI, $ini or die "Can't read $ini";
|
||||
|
Loading…
Reference in New Issue
Block a user