Method method = factoryClass.getMethod("buildAnalyzer", new Class[] {Map.class});
analyzer = (Analyzer) method.invoke(null, factoryConfig);
if (factoryConfig.containsKey("filters")) {
analyzer = new FilteringAnalyzer(analyzer, factoryConfig);
}
} catch (ClassNotFoundException e) {
throw new RuntimeException("Analyzer factory class not found", e);
} catch (SecurityException e) {