code: protected void setupDependencyExtractor() {
          TokenFilter filter = (argOptions.hasOption("tokenFilter"))
              ? TokenFilter.loadFromSpecification(argOptions.getStringOption('F'))
              : null;
  
          Stemmer stemmer = argOptions.getObjectOption("stemmingAlgorithm", null);
          String format = argOptions.getStringOption(
              "dependencyParseFormat", "CoNLL");
  
          if (format.equals("CoNLL")) {
              DependencyExtractor e = (argOptions.hasOption('G'))
                  ? new CoNLLDependencyExtractor(argOptions.getStringOption('G'), 
                                                 filter, stemmer)
                  : new CoNLLDependencyExtractor(filter, stemmer);
              DependencyExtractorManager.addExtractor("CoNLL", e, true);
          } else if (format.equals("WaCKy")) {
              if (argOptions.hasOption('G'))
                  throw new IllegalArgumentException(
                      "WaCKy does not support configuration with -G");
              DependencyExtractor e = 
                  new WaCKyDependencyExtractor(filter, stemmer);
              DependencyExtractorManager.addExtractor("WaCKy", e, true);
          } else 
              throw new IllegalArgumentException(
                  "Unrecognized dependency parsed format: " + format);
      }
docs: Links the desired {@link DependencyExtractor} with the {@link
  DependencyExtractorManager}, creating the {@code DependencyExtractor}
  with optional configuration file, if it is not {@code null}, and any
  {@link TokenFilter}s or {@link Stemmer}s that have been specified by the
  command line.