docs: public static double compuScore(Term from, Term to, Map<String, Double> relationMap) {
  		double frequency = from.termNatures().allFreq + 1;
  
  		if (frequency < 0) {
  			double score = from.score() + MAX_FREQUENCE;
  			from.score(score);
  			return score;
  		}
  
  		double nTwoWordsFreq = NgramLibrary.getTwoWordFreq(from, to);
  
  		if (relationMap != null) {
  			Double d = relationMap.get(from.getName() + TAB + to.getName());
  			if (d != null) {
  				nTwoWordsFreq += d;
  			}
  		}
  
  		double value = -Math.log(dSmoothingPara * frequency / (MAX_FREQUENCE + 80000) + (1 - dSmoothingPara) * ((1 - dTemp) * nTwoWordsFreq / frequency + dTemp));
  
  		if (value < 0) {
  			value += frequency;
  		}
  		return from.score() + value;
  	}