minLanguageDetectionLength = Integer.parseInt(props.getProperty("mindetectionlength", "100"));
poolSize = Integer.parseInt(props.getProperty("languagerecognizerpoolsize", "1"));
ngp = props.getProperty("ngp");
ngp = Utils.getValidPropertyPath(ngp, null, "HOME");
if (logger!=null) logger.log(" profile directory : " + ngp);
ld = new LanguageDetect(poolSize);
String lang = ld.init(ngp);
if (logger!=null) logger.log(" profile languages : " + lang);
}