All Downloads are FREE. Search and download functionalities are using the official Maven repository.

aima.core.nlp.ranking.LinkFinder Maven / Gradle / Ivy

Go to download

AIMA-Java Core Algorithms from the book Artificial Intelligence a Modern Approach 3rd Ed.

The newest version!
package aima.core.nlp.ranking;

import java.util.List;
import java.util.Map;

/**
 * 
 * @author Jonathon Belotti (thundergolfer)
 *
 */
public interface LinkFinder {

	/**
	 * Take a Page object and return its outlinks as a list of strings. The Page
	 * object must therefore possess the information to determine what it links
	 * to.
	 * 
	 * @param page
	 * @return
	 */
	List getOutlinks(Page page);

	/**
	 * Take a Page object and return its inlinks (who links to it) as a list of
	 * strings.
	 * 
	 * @param page
	 * @param pageTable
	 * @return
	 */
	List getInlinks(Page page, Map pageTable);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy