public LinkRelevance[] classify(Page page) throws LinkClassifierException {
        
        List<LinkRelevance> linkRelevances = new ArrayList<>();
        URL[] links = page.getParsedData().getLinks();
        if (links != null && links.length > 0) {
            for (URL link : links) {
                double relevance = page.getTargetRelevance().getRelevance() * 100;
                if (relevance == 100) {
                    relevance = relevance + randomGenerator.nextInt(100);
                }
                linkRelevances.add(new LinkRelevance(link, relevance));
            }
        }
        return (LinkRelevance[]) linkRelevances.toArray(new LinkRelevance[linkRelevances.size()]);
    }
This method classifies pages according to its relevance given by the form.

@param page Page
@return LinkRelevance[]
ache/src/main/java/achecrawler/link/classifier/LinkClassifierBaseline.java