|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Dependency<G extends Label,D extends Label,N>
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 or CoreLabel. 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 |
D |
dependent()
Describes the dependent (argument/modifier) of the dependency relation. |
boolean |
equalsIgnoreName(java.lang.Object o)
Are two dependencies equal if you ignore the dependency name. |
G |
governor()
Describes the governor (regent/head) of the dependency relation. |
N |
name()
Names the type of dependency (subject, instrument, ...). |
java.lang.String |
toString(java.lang.String format)
Provide different printing options via a String keyword. |
| Method Detail |
|---|
G governor()
D dependent()
N name()
boolean equalsIgnoreName(java.lang.Object o)
o - The thing to compare against ignoring name
java.lang.String toString(java.lang.String format)
format - A format string, either "xml" or you get the default
DependencyFactory dependencyFactory()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||