code: @SuppressWarnings("unchecked")
      protected void handleExtraOptions() {
          if (argOptions.hasOption("vectorLength"))
              System.setProperty(DependencyRandomIndexing.VECTOR_LENGTH_PROPERTY,
                                 argOptions.getStringOption("vectorLength"));
  
          if (argOptions.hasOption("windowSize"))
              System.setProperty(
                      DependencyRandomIndexing.DEPENDENCY_PATH_LENGTH_PROPERTY,
                      argOptions.getStringOption("windowSize"));
  
          if (argOptions.hasOption("pathAcceptor"))
              System.setProperty(
                      DependencyRandomIndexing.DEPENDENCY_ACCEPTOR_PROPERTY,
                      argOptions.getStringOption("pathAcceptor"));
  
          DependencyPermutationFunction<TernaryVector> permFunction = null;
          // Setup the PermutationFunction.
          if (argOptions.hasOption("loadIndexes") &&
              argOptions.hasOption("usePermutations"))
              permFunction = (DependencyPermutationFunction<TernaryVector>) 
                  SerializableUtil.load(
                          new File(argOptions.getStringOption("loadIndexes") +
                                   ".permutation"));
          else 
              permFunction = getPermutationFunction();
  
          // Ensure that the configured DependencyExtactor is in place prior to
          // constructing the DRI instance
          setupDependencyExtractor();     
     
          dri = new DependencyRandomIndexing(permFunction,System.getProperties());
          if (argOptions.hasOption("loadIndexes")) {
              String savedIndexName = argOptions.getStringOption("loadIndexes");
              dri.setWordToVectorMap((GeneratorMap<TernaryVector>)
                  SerializableUtil.load(new File(savedIndexName + ".index"),
                                        GeneratorMap.class));
          }
      }
docs: {@inheritDoc}