Package ivory.sqe.querygenerator

Examples of ivory.sqe.querygenerator.ProbabilisticStructuredQueryGenerator


        mapping = ranker.getDocnoMapping();
      }
      queries = parseQueries(conf.get(Constants.QueriesPath), fs);
      if (generator == null) {
        if (conf.get(Constants.QueryType).equals(Constants.CLIR)) {
          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();
View Full Code Here


     
      ranker = new StructuredQueryRanker(conf.get(Constants.IndexPath), fs, 1000);
      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();
      }   
View Full Code Here

      ranker = new StructuredQueryRanker(conf.get(Constants.IndexPath), fs, 1000);
      mapping = ranker.getDocnoMapping();
      queries = parseQueries(conf.get(Constants.QueriesPath), fs);
      if (generator == null) {
        if (conf.get(Constants.QueryType).equals(Constants.CLIR)) {
          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();
View Full Code Here

        mapping = ranker.getDocnoMapping();
      }
      queries = parseQueries(conf.get(Constants.QueriesPath), fs);
      if (generator == null) {
        if (conf.get(Constants.QueryType).equals(Constants.CLIR)) {
          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();
View Full Code Here

TOP

Related Classes of ivory.sqe.querygenerator.ProbabilisticStructuredQueryGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.