code: 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(
                      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'));
      }
docs: {@inheritDoc}