@Override public void initialize(UimaContext context) throws ResourceInitializationException { super.initialize(context); try { this.converter = new Web1TConverter(outputPath, minNgramLength, maxNgramLength); } catch (IOException e) { throw new ResourceInitializationException(e); } converter.setWriteIndexes(createIndexes); converter.setSplitThreshold(splitThreshold); converter.setMinFrequency(minFreq); converter.setToLowercase(lowercase); converter.setOutputEncoding(outputEncoding); }