Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'moses/TranslationModel/UG/mm/ug_sampling_bias.h')
-rw-r--r--moses/TranslationModel/UG/mm/ug_sampling_bias.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/moses/TranslationModel/UG/mm/ug_sampling_bias.h b/moses/TranslationModel/UG/mm/ug_sampling_bias.h
index f7c95f439..faed69e63 100644
--- a/moses/TranslationModel/UG/mm/ug_sampling_bias.h
+++ b/moses/TranslationModel/UG/mm/ug_sampling_bias.h
@@ -4,9 +4,9 @@
#include <map>
#include<vector>
#include <string>
+#include <iostream>
#include "moses/Util.h"
#include "ug_typedefs.h"
-
namespace Moses
{
namespace bitext
@@ -18,7 +18,8 @@ namespace Moses
class SamplingBias
{
public:
-
+ int loglevel;
+ std::ostream* log;
virtual float
operator[](id_type const ID) const = 0;
// returns (unnormalized bias) for the class of item ID