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:
hieuhoang1972 2007-01-07 12:36:18 +00:00
parent cc0d7b755b
commit acfed3e215

View File

@ -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";