diff options
Diffstat (limited to 'phrase-extract/PhraseExtractionOptions.h')
-rw-r--r-- | phrase-extract/PhraseExtractionOptions.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/phrase-extract/PhraseExtractionOptions.h b/phrase-extract/PhraseExtractionOptions.h index cf2e4b365..38e570b79 100644 --- a/phrase-extract/PhraseExtractionOptions.h +++ b/phrase-extract/PhraseExtractionOptions.h @@ -51,6 +51,7 @@ private: bool gzOutput; std::string instanceWeightsFile; //weights for each sentence bool flexScoreFlag; + bool singleWordHeuristicFlag; public: std::vector<std::string> placeholders; @@ -73,6 +74,7 @@ public: onlyOutputSpanInfo(false), gzOutput(false), flexScoreFlag(false), + singleWordHeuristicFlag(false), debug(false) { } @@ -119,6 +121,9 @@ public: void initFlexScoreFlag(const bool initflexScoreFlag) { flexScoreFlag=initflexScoreFlag; } + void initSingleWordHeuristicFlag(const bool initSingleWordHeuristicFlag) { + singleWordHeuristicFlag = initSingleWordHeuristicFlag; + } // functions for getting values bool isAllModelsOutputFlag() const { @@ -163,6 +168,9 @@ public: bool isFlexScoreFlag() const { return flexScoreFlag; } + bool isSingleWordHeuristicFlag() const { + return singleWordHeuristicFlag; + } }; } |