mapping = ranker.getDocnoMapping();
queries = parseQueries(conf.get(Constants.QueriesPath), fs);
if (conf.get(Constants.QueryType).equals(Constants.CLIR)) {
generator = new ProbabilisticStructuredQueryGenerator();
}else if (conf.get(Constants.QueryType).equals(Constants.MTN)) {
generator = new MtNQueryGenerator();
}else {
generator = new BagOfWordsQueryGenerator();
}
generator.init(fs, conf);