// If the evaluation type is for semEval, use a
// SemEvalDependencyContextExtractor.
if (argOptions.hasOption('E'))
return new SemEvalDependencyContextExtractor(
new CoNLLDependencyExtractor(), generator);
// If the evaluation type is for pseudoWord, use a
// PseudoWordDependencyContextExtractor.
if (argOptions.hasOption('P'))
return new PseudoWordDependencyContextExtractor(
new CoNLLDependencyExtractor(),
generator, getPseudoWordMap());
// Otherwise return the normal extractor.
return new DependencyContextExtractor(
new CoNLLDependencyExtractor(), generator,
argOptions.hasOption('h'));
}