|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Dependency
An individual dependency between a governor and a dependent. The governor and dependent are represented as a Label. For example, these can be a Word or a WordTag. If one wishes the dependencies to preserve positions in a sentence, then each can be a LabeledConstituent. Dependencies support an object naming the dependency type. This may be null. Dependencies have factories.
Method Summary | |
---|---|
DependencyFactory |
dependencyFactory()
Provide a factory for this kind of dependency |
Label |
dependent()
Describes the dependent (argument/modifier) of the dependency relation. |
boolean |
equalIgnoringName(Object o)
Are two dependencies equal if you ignore the dependency name. |
Label |
governor()
Describes the governor (regent/head) of the dependency relation. |
Object |
name()
Names the type of dependency (subject, instrument, ...). |
String |
toString(String format)
Provide different printing options via a String keyword. |
Method Detail |
---|
Label governor()
Label dependent()
Object name()
boolean equalIgnoringName(Object o)
String toString(String format)
DependencyFactory dependencyFactory()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |