diff options
author | Marcin Junczys-Dowmunt <junczys@wipo.int> | 2012-08-03 19:45:00 +0400 |
---|---|---|
committer | Marcin Junczys-Dowmunt <junczys@wipo.int> | 2012-08-03 19:45:00 +0400 |
commit | 20487f9d7fe5791c8bfda633ec795b9abf688b64 (patch) | |
tree | b4c16e46fbd6b04ce69ccc80bba1f9221afeaf56 /misc | |
parent | 023bd0c813e638ea174746d665e07c2768498cef (diff) |
Got rid of warnings
Diffstat (limited to 'misc')
-rw-r--r-- | misc/processLexicalTableMin.cpp | 8 | ||||
-rw-r--r-- | misc/processPhraseTableMin.cpp | 13 |
2 files changed, 10 insertions, 11 deletions
diff --git a/misc/processLexicalTableMin.cpp b/misc/processLexicalTableMin.cpp index cee984bad..2aebaacfc 100644 --- a/misc/processLexicalTableMin.cpp +++ b/misc/processLexicalTableMin.cpp @@ -15,15 +15,15 @@ void printHelp(char **argv) "options: \n" "\t-in string -- input table file name\n" "\t-out string -- prefix of binary table file\n" +#ifdef WITH_THREADS + "\t-threads int -- number of threads used for conversion\n" +#endif "\nadvanced:\n" "\t-landmark int -- use landmark phrase every 2^n phrases\n" "\t-fingerprint int -- number of bits used for phrase fingerprints\n" "\t-join-scores -- single set of Huffman codes for score components\n" "\t-quantize int -- maximum number of scores per score component\n" -#ifdef WITH_THREADS - "\t-threads int -- number of threads used for conversion\n" -#endif - "\n\n" + "\n" " For more information see: http://www.statmt.org/moses/...\n" " and\n\n" diff --git a/misc/processPhraseTableMin.cpp b/misc/processPhraseTableMin.cpp index 1181eccc6..60c71480d 100644 --- a/misc/processPhraseTableMin.cpp +++ b/misc/processPhraseTableMin.cpp @@ -10,20 +10,19 @@ void printHelp(char **argv) { "options: \n" "\t-in string -- input table file name\n" "\t-out string -- prefix of binary table file\n" - "\t-encoding string -- Encoding type (PREnc REnc None)\n" - "\t-maxrank int -- Maximum rank for PREnc\n" "\t-nscores int -- number of score components in phrase table\n" "\t-alignment-info -- include alignment info in the binary phrase table\n" +#ifdef WITH_THREADS + "\t-threads int -- number of threads used for conversion\n" +#endif "\nadvanced:\n" + "\t-encoding string -- Encoding type (PREnc REnc None)\n" + "\t-maxrank int -- Maximum rank for PREnc\n" "\t-landmark int -- use landmark phrase every 2^n source phrases\n" "\t-fingerprint int -- number of bits used for source phrase fingerprints\n" "\t-join-scores -- single set of Huffman codes for score components\n" "\t-quantize int -- maximum number of scores per score component\n" - -#ifdef WITH_THREADS - "\t-threads int -- number of threads used for conversion\n" -#endif - "\n\n" + "\n" " For more information see: http://www.statmt.org/moses/...\n" " and\n\n" |