private static TokenStream loadTokenizer(TokenizerFactory tokFactory, Reader reader) { return tokFactory.create(reader); }