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:
authorJeroen Vermeulen <jtv@precisiontranslationtools.com>2015-05-17 16:04:04 +0300
committerJeroen Vermeulen <jtv@precisiontranslationtools.com>2015-05-17 16:04:04 +0300
commita25193cc5da6a271c4676e843db80ee19221822a (patch)
treedb764696f2e663016a9ab87a95846501c585b4aa /phrase-extract/consolidate-main.cpp
parent108da163745699e724f581c3d33b1e8a5e26a9e9 (diff)
Fix a lot of lint, mostly trailing whitespace.
This is lint reported by the new lint-checking functionality in beautify.py. (We can change to a different lint checker if we have a better one, but it would probably still flag these same problems.) Lint checking can help a lot, but only if we get the lint under control.
Diffstat (limited to 'phrase-extract/consolidate-main.cpp')
-rw-r--r--phrase-extract/consolidate-main.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/phrase-extract/consolidate-main.cpp b/phrase-extract/consolidate-main.cpp
index 4ff0b5373..d52e8797b 100644
--- a/phrase-extract/consolidate-main.cpp
+++ b/phrase-extract/consolidate-main.cpp
@@ -72,7 +72,18 @@ int main(int argc, char* argv[])
<< "consolidating direct and indirect rule tables" << std::endl;
if (argc < 4) {
- std::cerr << "syntax: consolidate phrase-table.direct phrase-table.indirect phrase-table.consolidated [--Hierarchical] [--OnlyDirect] [--PhraseCount] [--GoodTuring counts-of-counts-file] [--KneserNey counts-of-counts-file] [--LowCountFeature] [--SourceLabels source-labels-file] [--PartsOfSpeech parts-of-speech-file] [--MinScore id:threshold[,id:threshold]*]" << std::endl;
+ std::cerr <<
+ "syntax: "
+ "consolidate phrase-table.direct "
+ "phrase-table.indirect "
+ "phrase-table.consolidated "
+ "[--Hierarchical] [--OnlyDirect] [--PhraseCount] "
+ "[--GoodTuring counts-of-counts-file] "
+ "[--KneserNey counts-of-counts-file] [--LowCountFeature] "
+ "[--SourceLabels source-labels-file] "
+ "[--PartsOfSpeech parts-of-speech-file] "
+ "[--MinScore id:threshold[,id:threshold]*]"
+ << std::endl;
exit(1);
}
const std::string fileNameDirect = argv[1];