/**
* {@inheritDoc}
*/
protected ContextExtractor getExtractor() {
DependencyContextGenerator generator =
getContextGenerator();
// Set to read only if in evaluation mode.
if (argOptions.hasOption('e'))
generator.setReadOnly(true);
// If the evaluation type is for semEval, use a
// SemEvalDependencyContextExtractor.
if (argOptions.hasOption('E'))
return new SemEvalDependencyContextExtractor(