File size: 489 Bytes
158b61b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*-
#pragma once
#include <string>
#include "OptionsBaseClass.h"
namespace Moses2
{

// Options for mimum bayes risk decoding
struct
    MBR_Options : public OptionsBaseClass {
  bool enabled;
  size_t size; //! number of translation candidates considered
  float scale; /*! scaling factor for computing marginal probability
                  *  of candidate translation */
  bool init(Parameter const& param);
  MBR_Options();
};

}