
aima.core.nlp.ranking.LinkFinder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aima-core Show documentation
Show all versions of aima-core Show documentation
AIMA-Java Core Algorithms from the book Artificial Intelligence a Modern Approach 3rd Ed.
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 - 2025 Weber Informatics LLC | Privacy Policy