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:
authorjfouet <jfouet@1f5c12ca-751b-0410-a591-d2e778427230>2008-05-16 11:09:15 +0400
committerjfouet <jfouet@1f5c12ca-751b-0410-a591-d2e778427230>2008-05-16 11:09:15 +0400
commitbb42cb0dd591fa91d3ae63a2380a1ba6caed83a2 (patch)
tree1b43a912453ae087e6b6347a3fef2978c3ccc570 /mert/Util.cpp
parentad79af41dfb7160c11521bdae1b1e3db63d18a56 (diff)
bugfixes+ introduction of verbose level
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1723 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'mert/Util.cpp')
-rw-r--r--mert/Util.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/mert/Util.cpp b/mert/Util.cpp
index bfdef8f95..67c1053d5 100644
--- a/mert/Util.cpp
+++ b/mert/Util.cpp
@@ -8,6 +8,17 @@
#include "Util.h"
+int verbose=0;
+
+int verboselevel(){
+ return verbose;
+}
+
+int setverboselevel(int v){
+ verbose=v;
+ return verbose;
+}
+
int getNextPound(std::string &theString, std::string &substring, const std::string delimiter)
{
int pos = 0;