public LinkRelevance classify(LinkNeighborhood ln) throws LinkClassifierException {

	  LinkRelevance linkRel = null;
	  try {
		  double[] prob = lnClassifier.classify(ln);
		  int classificationResult = -1;
		  double maxProb = -1;
		  for (int i = 0; i < prob.length; i++) {
			  if(prob[i] > maxProb){
				  maxProb = prob[i];
				  classificationResult = i;
			  }
		  }
		  double probability = prob[classificationResult]*100;
		  if(probability == 100){
			  probability = 99;
		  }
		  classificationResult = weights[classificationResult];
		  double result = (classificationResult * 100) + probability;
		  linkRel = new LinkRelevance(ln.getLink(),result);
	  } catch (Exception ex) {
	      throw new LinkClassifierException("Failed to classify link: "+ln.getLink().toString(), ex);
	  }
	  return linkRel;
  }
This method classifies links based on the priority set by the
naive bayes link classifier.
@param page Page
@return LinkRelevance[]
@throws LinkClassifierException
ache/src/main/java/achecrawler/link/classifier/LinkClassifierImpl.java