|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectConstituent
AugmentedConstituent
An AugmentedConstituent of a parse represents a syntactic element augmented with feature information. It consists of:
Field Summary | |
(package private) FeatureSet |
features
Set of features of this AugmentedConstituent. |
Fields inherited from class Constituent |
category |
Constructor Summary | |
AugmentedConstituent(Symbol category,
FeatureSet feats)
Create a new AugmentedConstituent with the given attributes. |
Method Summary | |
Unifiable |
copyWithBindings(BindingSet bindings)
Returns a new AugmentedConstituent which is a copy of this one. |
FeatureSet |
getFeatures()
Returns the FeatureSet of this AugmentedConstituent. |
java.lang.String |
toString()
Returns the printable representation of this AugmentedConstituent as a String. |
boolean |
unifyWith(Unifiable other,
BindingSet bindings)
Returns true if this AugmentedConstituent unifies with the given one, and puts the unifying substitution in bindings if so. |
Methods inherited from class Constituent |
getCategory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
FeatureSet features
Constructor Detail |
public AugmentedConstituent(Symbol category, FeatureSet feats)
Method Detail |
public FeatureSet getFeatures()
public java.lang.String toString()
toString
in class Constituent
public boolean unifyWith(Unifiable other, BindingSet bindings)
unifyWith
in interface Unifiable
public Unifiable copyWithBindings(BindingSet bindings)
copyWithBindings
in interface Unifiable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |