generator = new ProbabilisticStructuredQueryGenerator();
}else if (conf.get(Constants.QueryType).equals(Constants.MTN)) {
grammarPaths = parseGrammarPaths(conf.get(Constants.QueriesPath), fs);
generator = new MtNQueryGenerator();
}else {
generator = new BagOfWordsQueryGenerator();
}
}
generator.init(fs, conf);
} catch (IOException e) {