}
}
FileSystem localFs = FileSystem.getLocal(conf);
InputStream modelIn = localFs.open(pathMapping.get(sentDetectorFile));
SentenceModel model = new SentenceModel(modelIn);
eModel = new SentenceDetectorME(model);
sLogger.info("Sentence model created successfully.");
FileSystem fs = FileSystem.get(conf);
RetrievalEnvironment env = new RetrievalEnvironment(eDir, fs);