diff options
author | Phil Williams <philip.williams@mac.com> | 2012-10-03 23:04:09 +0400 |
---|---|---|
committer | Phil Williams <philip.williams@mac.com> | 2012-10-03 23:04:09 +0400 |
commit | 0851a4d1136a345b2ac4472da087c1114a77f255 (patch) | |
tree | 8c52deb2807de8d97fadac9dd422f83555134e93 /phrase-extract/extract-ghkm/Options.h | |
parent | 289a9ea54f01080f8605a74620bfb64116a7008a (diff) |
extract-ghkm: add --SentenceOffset option
This should behave the same as the --SentenceOffset option for
extract-rules. The extract-parallel.perl script expects the rule
extractor to have this option.
Diffstat (limited to 'phrase-extract/extract-ghkm/Options.h')
-rw-r--r-- | phrase-extract/extract-ghkm/Options.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phrase-extract/extract-ghkm/Options.h b/phrase-extract/extract-ghkm/Options.h index 362fc95d2..acad2040c 100644 --- a/phrase-extract/extract-ghkm/Options.h +++ b/phrase-extract/extract-ghkm/Options.h @@ -38,6 +38,7 @@ struct Options { , maxScope(3) , minimal(false) , pcfg(false) + , sentenceOffset(0) , unpairedExtractFormat(false) {} // Positional options @@ -57,6 +58,7 @@ struct Options { int maxScope; bool minimal; bool pcfg; + int sentenceOffset; bool unpairedExtractFormat; std::string unknownWordFile; }; |