|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--opennlp.grok.expression.AbstractCat | +--opennlp.grok.expression.AtomCat
The most basic CG category.
Field Summary |
Fields inherited from class opennlp.grok.expression.AbstractCat |
_featStruc, _lf, _next, _previous, SHOW_SEMANTICS |
Constructor Summary | |
AtomCat(org.jdom.Element acel)
Constructor which retrieves the atomic category from the XML element. |
|
AtomCat(java.lang.String t)
Constructor which creates an atomic category with the given type. |
|
AtomCat(java.lang.String t,
opennlp.common.unify.FeatureStructure fs)
Constructor which creates an atomic category with the given type and feature structure. |
|
AtomCat(java.lang.String t,
opennlp.common.unify.FeatureStructure fs,
opennlp.common.synsem.LF lf)
Constructor which creates an atomic category with the given type, feature structure and LF. |
Method Summary | |
opennlp.common.synsem.Category |
copy()
|
void |
deepMap(opennlp.common.unify.ModFcn mf)
|
boolean |
equals(java.lang.Object c)
|
java.lang.Object |
fill(opennlp.common.unify.Substitution s)
|
java.lang.String |
getType()
|
java.lang.String |
hashString(java.util.Map varMap)
Returns a hash string using the given map from vars to int strings. |
boolean |
shallowEquals(java.lang.Object c)
|
java.lang.String |
toString()
|
java.lang.Object |
unify(java.lang.Object u,
opennlp.common.unify.Substitution sub)
NB: The LF does not participate in unification. |
void |
unifyCheck(java.lang.Object u)
|
Methods inherited from class opennlp.grok.expression.AbstractCat |
forall, getFeatureStructure, getLF, getNext, getPrevious, hashString, occurs, prettyLength, prettyPrint, prettyPrint, setFeatureStructure, setLF, setNext, setPrevious, showFeature, tooLong |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface opennlp.common.synsem.Category |
forall, getFeatureStructure, getLF, hashString, setFeatureStructure, setLF |
Methods inherited from interface opennlp.common.unify.Unifiable |
occurs |
Constructor Detail |
public AtomCat(java.lang.String t)
public AtomCat(java.lang.String t, opennlp.common.unify.FeatureStructure fs)
public AtomCat(java.lang.String t, opennlp.common.unify.FeatureStructure fs, opennlp.common.synsem.LF lf)
public AtomCat(org.jdom.Element acel)
Method Detail |
public java.lang.String getType()
public opennlp.common.synsem.Category copy()
copy
in interface opennlp.common.synsem.Category
copy
in class AbstractCat
public void deepMap(opennlp.common.unify.ModFcn mf)
deepMap
in interface opennlp.common.unify.Mutable
deepMap
in class AbstractCat
public void unifyCheck(java.lang.Object u) throws opennlp.common.unify.UnifyFailure
unifyCheck
in interface opennlp.common.unify.Unifiable
unifyCheck
in class AbstractCat
opennlp.common.unify.UnifyFailure
public java.lang.Object unify(java.lang.Object u, opennlp.common.unify.Substitution sub) throws opennlp.common.unify.UnifyFailure
unify
in interface opennlp.common.unify.Unifiable
unify
in class AbstractCat
opennlp.common.unify.UnifyFailure
public java.lang.Object fill(opennlp.common.unify.Substitution s) throws opennlp.common.unify.UnifyFailure
fill
in interface opennlp.common.unify.Unifiable
fill
in class AbstractCat
opennlp.common.unify.UnifyFailure
public boolean shallowEquals(java.lang.Object c)
shallowEquals
in interface opennlp.common.synsem.Category
shallowEquals
in class AbstractCat
public boolean equals(java.lang.Object c)
equals
in interface opennlp.common.unify.Unifiable
equals
in class AbstractCat
public java.lang.String toString()
toString
in class AbstractCat
public java.lang.String hashString(java.util.Map varMap)
hashString
in interface opennlp.common.synsem.Category
hashString
in class AbstractCat
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |