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:
authorPhil Williams <philip.williams@mac.com>2012-12-17 23:02:30 +0400
committerPhil Williams <philip.williams@mac.com>2012-12-17 23:02:30 +0400
commitfb8d20a22fd3dc61df250393ccc18131b35acfc7 (patch)
treedbc9540e7991888d64c4cda4bca3621b65b9d4e8 /phrase-extract/extract-ghkm/Options.h
parent06081f7ddb050696c759441fdb081655d233c749 (diff)
extract-ghkm: --UnknownWordMinRelFreq, --UnknownWordUniform
Diffstat (limited to 'phrase-extract/extract-ghkm/Options.h')
-rw-r--r--phrase-extract/extract-ghkm/Options.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/phrase-extract/extract-ghkm/Options.h b/phrase-extract/extract-ghkm/Options.h
index acad2040c..d348a57d8 100644
--- a/phrase-extract/extract-ghkm/Options.h
+++ b/phrase-extract/extract-ghkm/Options.h
@@ -39,7 +39,9 @@ struct Options {
, minimal(false)
, pcfg(false)
, sentenceOffset(0)
- , unpairedExtractFormat(false) {}
+ , unpairedExtractFormat(false)
+ , unknownWordMinRelFreq(0.03f)
+ , unknownWordUniform(false) {}
// Positional options
std::string targetFile;
@@ -61,6 +63,8 @@ struct Options {
int sentenceOffset;
bool unpairedExtractFormat;
std::string unknownWordFile;
+ float unknownWordMinRelFreq;
+ bool unknownWordUniform;
};
} // namespace GHKM