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:
authorMatthias Huck <huck@i6.informatik.rwth-aachen.de>2014-12-03 23:04:26 +0300
committerMatthias Huck <huck@i6.informatik.rwth-aachen.de>2014-12-03 23:04:26 +0300
commit24a8a6a51104c8518fcb8d252f83ff580986c2db (patch)
tree1fc5f912f7623dda8d1a1f08fb0e9acfff32cba8 /moses/Util.h
parent5bbd30ec12e4bcb88e29246e4fce71cc33528d44 (diff)
PhraseOrientationFeature
Diffstat (limited to 'moses/Util.h')
-rw-r--r--moses/Util.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/moses/Util.h b/moses/Util.h
index 4d2ccea10..ca34fcfb0 100644
--- a/moses/Util.h
+++ b/moses/Util.h
@@ -59,8 +59,11 @@ namespace Moses
#define VERBOSE(level,str) { if (StaticData::Instance().GetVerboseLevel() >= level) { TRACE_ERR(str); } }
#define IFVERBOSE(level) if (StaticData::Instance().GetVerboseLevel() >= level)
-#define XVERBOSE(level,str) { if (StaticData::Instance().GetVerboseLevel() >= level) { TRACE_ERR("[" << __FILE__ << ":" << __LINE__ << "] ");TRACE_ERR(str); } }
+#define XVERBOSE(level,str) { if (StaticData::Instance().GetVerboseLevel() >= level) { TRACE_ERR("[" << __FILE__ << ":" << __LINE__ << "] "); TRACE_ERR(str); } }
#define HERE __FILE__ << ":" << __LINE__
+#define FEATUREVERBOSE(level,str) { if (m_verbosity >= level) { TRACE_ERR("[" << GetScoreProducerDescription() << "] "); FEATUREVERBOSE2(level,str); } }
+#define FEATUREVERBOSE2(level,str) { if (m_verbosity >= level) { TRACE_ERR(str); } }
+#define IFFEATUREVERBOSE(level) if (m_verbosity >= level)
#if __GNUC__ == 4 && __GNUC_MINOR__ == 8 && (__GNUC_PATCHLEVEL__ == 1 || __GNUC_PATCHLEVEL__ == 2)