/** * Returns the un-normalised weight of a given term. * @param term String the given term. * @return The un-normalised term weight. */ public double getOriginalExpansionWeight(String term){ return getExpansionWeight(term)*normaliser; }
/** * Returns the un-normalised weight of a given term. * @param term String the given term. * @return The un-normalised term weight. */ public double getOriginalExpansionWeight(String term){ return getExpansionWeight(term)*normaliser; }
/** * Returns the weight of a given term, computed by the * specified query expansion model. * @param term String the term to set the weight for. * @param model QueryExpansionModel the used query expansion model. * @return double the weight of the specified term. */ public double getExpansionWeight(String term, QueryExpansionModel model) { return this.getExpansionWeight(lexicon.getLexiconEntry(term).getTermId(), model); }
/** * Returns the weight of a given term, computed by the * specified query expansion model. * @param term String the term to set the weight for. * @param model QueryExpansionModel the used query expansion model. * @return double the weight of the specified term. */ public double getExpansionWeight(String term, QueryExpansionModel model) { return this.getExpansionWeight(lexicon.getLexiconEntry(term).getTermId(), model); }
/** * Returns the weight of a given term. * @param term String the term to get the weight for. * @return double the weight of the specified term. */ public double getExpansionWeight(String term) { return this.getExpansionWeight(lexicon.getLexiconEntry(term).getTermId(), model); } /**
/** * Returns the weight of a given term. * @param term String the term to get the weight for. * @return double the weight of the specified term. */ public double getExpansionWeight(String term) { return this.getExpansionWeight(lexicon.getLexiconEntry(term).getTermId(), model); } /**