diff options
Diffstat (limited to 'utils/training/gen_ngram.cpp')
-rw-r--r-- | utils/training/gen_ngram.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/training/gen_ngram.cpp b/utils/training/gen_ngram.cpp index 4ac75e3..9db5d58 100644 --- a/utils/training/gen_ngram.cpp +++ b/utils/training/gen_ngram.cpp @@ -41,14 +41,14 @@ int main(int argc, char * argv[]){ setlocale(LC_ALL, ""); while ( i < argc ){ - if ( strcmp("--help", argv[i] ) == 0){ + if ( strcmp("--help", argv[i]) == 0){ print_help(); exit(0); - }else if ( strcmp("--skip-pi-gram-training", argv[i] ) == 0) { + }else if ( strcmp("--skip-pi-gram-training", argv[i]) == 0 ){ train_pi_gram = false; - }else if ( strcmp("--skip-unigram-training", argv[i] ) == 0) { + }else if ( strcmp("--skip-unigram-training", argv[i]) == 0 ){ train_unigram = false; - }else if ( strcmp("--bigram-file", argv[i] ) == 0){ + }else if ( strcmp("--bigram-file", argv[i]) == 0){ if ( ++i >= argc ) { print_help(); exit(EINVAL); |