mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-28 14:32:38 +03:00
17 lines
334 B
C++
17 lines
334 B
C++
// -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*-
|
|
#include "MBR_Options.h"
|
|
|
|
namespace Moses {
|
|
|
|
bool
|
|
MBR_Options::
|
|
init(Parameter const& param)
|
|
{
|
|
param.SetParameter(enabled, "minimum-bayes-risk", false);
|
|
param.SetParameter<size_t>(size, "mbr-size", 200);
|
|
param.SetParameter(scale, "mbr-scale", 1.0f);
|
|
return true;
|
|
}
|
|
|
|
}
|