diff options
author | Phil Williams <philip.williams@mac.com> | 2012-12-17 23:02:30 +0400 |
---|---|---|
committer | Phil Williams <philip.williams@mac.com> | 2012-12-17 23:02:30 +0400 |
commit | fb8d20a22fd3dc61df250393ccc18131b35acfc7 (patch) | |
tree | dbc9540e7991888d64c4cda4bca3621b65b9d4e8 /phrase-extract/extract-ghkm/Options.h | |
parent | 06081f7ddb050696c759441fdb081655d233c749 (diff) |
extract-ghkm: --UnknownWordMinRelFreq, --UnknownWordUniform
Diffstat (limited to 'phrase-extract/extract-ghkm/Options.h')
-rw-r--r-- | phrase-extract/extract-ghkm/Options.h | 6 |
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 |