/** * Returns the frequency of a given term in the top-ranked documents. * @param term String the term to get the frequency for. * @return double the frequency of the specified term in the top-ranked documents. */ public double getFrequency(String term){ return this.getFrequency(lexicon.getLexiconEntry(term).getTermId()); }
/** * Returns the frequency of a given term in the top-ranked documents. * @param term String the term to get the frequency for. * @return double the frequency of the specified term in the top-ranked documents. */ public double getFrequency(String term){ return this.getFrequency(lexicon.getLexiconEntry(term).getTermId()); }