final String carrot2ResourcesDir = resourceLoader.getConfigDir()
+ initParams.get(CarrotParams.LEXICAL_RESOURCES_DIR, CARROT_RESOURCES_PREFIX);
try {
log.debug("Looking for " + resource + " in "
+ carrot2ResourcesDir);
final InputStream resourceStream = resourceLoader
.openResource(carrot2ResourcesDir + "/" + resource);
log.info(resource + " loaded from " + carrot2ResourcesDir);
final IResource foundResource = new IResource() {
public InputStream open() throws IOException {