~domy/mosesdecoder/trunk

« back to all changes in this revision

Viewing changes to phrase-extract/extract-rules.cpp

  • Committer: phikoehn
  • Date: 2012-09-03 06:21:47 UTC
  • Revision ID: git-v1:d99f97297f9e343386f1dd15cb4ec6ac0a0c7cfa
merges

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
       << "rule extraction from an aligned parallel corpus\n";
117
117
 
118
118
  RuleExtractionOptions options;
119
 
<<<<<<< HEAD
120
119
  int sentenceOffset = 0;
121
120
#ifdef WITH_THREADS
122
121
  int thread_count = 1;
123
122
#endif
124
 
=======
125
 
 
126
 
>>>>>>> b317522563feb4ca7ff978a0de661ec2189934ea
127
123
  if (argc < 5) {
128
124
    cerr << "syntax: extract-rules corpus.target corpus.source corpus.align extract ["
129
125
 
267
263
      options.unpairedExtractFormat = true;
268
264
    } else if (strcmp(argv[i],"--ConditionOnTargetLHS") == 0) {
269
265
      options.conditionOnTargetLhs = true;
270
 
<<<<<<< HEAD
271
266
#ifdef WITH_THREADS
272
267
    } else if (strcmp(argv[i],"-threads") == 0 || 
273
268
               strcmp(argv[i],"--threads") == 0 ||
280
275
        exit(1);
281
276
      }
282
277
      sentenceOffset = atoi(argv[++i]);
283
 
=======
284
 
>>>>>>> b317522563feb4ca7ff978a0de661ec2189934ea
285
278
    } else {
286
279
      cerr << "extract: syntax error, unknown option '" << string(argv[i]) << "'\n";
287
280
      exit(1);