code: protected ContextExtractor getExtractor() {
      // Create the new context generator.
      ContextGenerator generator = new RandomIndexingContextGenerator(
          indexMap, permFunction, indexVectorLength);
      return contextExtractorFromGenerator(generator);
    }
docs: {@inheritDoc}