public class BuildFinders {
public Collection<PatternFinder> build(ServletContext servletContext) throws IOException {
//ServletResourceResolver resolver = new ServletResourceResolver(servletContext, dictionariesPath);
//Collection<PatternFinder> finders = new FinderByPropsBuilder().setLoader(resolver).isInMemory(true).build();
Collection<PatternFinder> finders = new FinderByPropsBuilder().
loadDefaultWordLists().
isInMemory(true).
build();
return finders;
}