/**
 * 
 */
package com.grayben.riskExtractor.htmlScorer;

import java.io.File;
import java.io.IOException;

/**
 * @author beng
 *
 */
public interface HtmlScorer {
	ScoredText scoreHtml(File htmlFile, String charsetName);
	ScoredText scoreHtml(String url) throws IOException;
}

@@ -113,115 +113,745 @@
 %0A * 
-@author beng%0A *%0A */%0Apublic interface HtmlScorer %7B%0A%09ScoredText scoreHtml(File htmlFile, String charsetName);
+A class implementing this interface is able to process HTML from a number of sources%0A * and output a representation of the readable text in that HTML, with scores attached to%0A * elements of this text.%0A * %3Cp%3E%0A * Created by Ben Gray, 2015.%0A */%0Apublic interface HtmlScorer %7B%0A%0A    /**%0A     * Score HTML stored locally.%0A     *%0A     * @param htmlFile the file containing the HTML to score%0A     * @param charsetName the name of the charset used to encode the file%0A     * @return the scored text%0A     */%0A%09ScoredText scoreHtml(File htmlFile, String charsetName);%0A%0A    /**%0A     * Score HTML stored remotely.%0A     *%0A     * @param url the URL of the file containing the HTML to score%0A     * @return the scored text%0A     * @throws IOException%0A     */
 %0A%09Sc

Document HtmlScorer