|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectir.webutils.LinkHeuristic
ir.webutils.ProximityLinkHeuristic
public class ProximityLinkHeuristic
Specialization of LinkHeuristic that includes bonus points for being close to a preceeding "want string" or "help string" that is not inside another link.
| Field Summary |
|---|
| Fields inherited from class ir.webutils.LinkHeuristic |
|---|
helpStrings, wantStrings |
| Constructor Summary | |
|---|---|
ProximityLinkHeuristic()
|
|
| Method Summary | |
|---|---|
double |
scoreLink(ScoredAnchoredLink link,
HTMLPage page)
Heuristically score the given link appearing on the given page |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProximityLinkHeuristic()
| Method Detail |
|---|
public double scoreLink(ScoredAnchoredLink link,
HTMLPage page)
scoreLink in class LinkHeuristic
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||