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:
authorHieu Hoang <hieuhoang@gmail.com>2013-10-05 13:48:01 +0400
committerHieu Hoang <hieuhoang@gmail.com>2013-10-05 13:48:01 +0400
commit125e9a8569037bb1d7a0613bc5dde7cd370bf2c8 (patch)
tree7dd548e98f22956a401c96cab60b980f535fb6de /phrase-extract/PhraseExtractionOptions.h
parent902741681a4979ef4f0d55ee265d1be3fe519ecc (diff)
add debug argument
Diffstat (limited to 'phrase-extract/PhraseExtractionOptions.h')
-rw-r--r--phrase-extract/PhraseExtractionOptions.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/phrase-extract/PhraseExtractionOptions.h b/phrase-extract/PhraseExtractionOptions.h
index d70c2a117..574b9afc1 100644
--- a/phrase-extract/PhraseExtractionOptions.h
+++ b/phrase-extract/PhraseExtractionOptions.h
@@ -52,6 +52,7 @@ private:
public:
std::vector<std::string> placeholders;
+ bool debug;
PhraseExtractionOptions(const int initmaxPhraseLength):
maxPhraseLength(initmaxPhraseLength),
@@ -67,7 +68,9 @@ public:
includeSentenceIdFlag(false),
onlyOutputSpanInfo(false),
gzOutput(false),
- flexScoreFlag(false) {}
+ flexScoreFlag(false),
+ debug(false)
+{}
//functions for initialization of options
void initAllModelsOutputFlag(const bool initallModelsOutputFlag) {