public interface DependencyPathWeight
Modifier and Type | Method and Description |
---|---|
double |
scorePath(DependencyPath path)
Returns the score of the provided
DependencyPath . |
double scorePath(DependencyPath path)
DependencyPath
. The score may
be a function of the length of the path, arbitrary, e.g., 1 for all
paths, or may be a function of the relations and terms in the path.path
- A list of the term,relation links in the DependencyPath
being scoredCopyright © 2012. All Rights Reserved.