mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-09 16:04:41 +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;
|
|
}
|
|
|
|
}
|