opennlp.grok.expression
Class Predicate
java.lang.Object
|
+--opennlp.grok.expression.CategoryAdapter
|
+--opennlp.grok.expression.Predicate
- All Implemented Interfaces:
- opennlp.common.structure.Category, opennlp.common.synsem.Denoter, java.io.Serializable, opennlp.common.unify.Unifiable
- public final class Predicate
- extends CategoryAdapter
- implements opennlp.common.synsem.Denoter
A proposition (no arguments). Predicates go together with an argument list
to make a logical form (LF)
- Version:
- $Revision: 1.1.1.1 $, $Date: 2001/10/23 15:17:51 $
- Author:
- Gann Bierner
- See Also:
- Serialized Form
| Methods inherited from class opennlp.grok.expression.CategoryAdapter |
copy, deepMap, forall, getFeature, getSpan, getSpanEnd, getSpanStart, hashString, makeString, prettyLength, prettyPrint, prettyPrint, setFeature, setSpan, shallowEquals, showFeature, tooLong |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface opennlp.common.structure.Category |
deepMap, forall, getFeature, getSpan, getSpanEnd, getSpanStart, hashString, prettyPrint, setFeature, setSpan, shallowEquals |
Predicate
public Predicate()
Predicate
public Predicate(java.lang.String n,
int a)
desc
public java.lang.String desc()
- Specified by:
desc in interface opennlp.common.synsem.Denoter
name
public java.lang.String name()
arity
public int arity()
equals
public boolean equals(java.lang.Object e)
- Specified by:
equals in interface opennlp.common.unify.Unifiable- Overrides:
equals in class CategoryAdapter
setDominanceHandler
public void setDominanceHandler(opennlp.common.synsem.DominanceHandler _dh)
- Specified by:
setDominanceHandler in interface opennlp.common.synsem.Denoter
getDominanceHandler
public opennlp.common.synsem.DominanceHandler getDominanceHandler()
- Specified by:
getDominanceHandler in interface opennlp.common.synsem.Denoter
eval
public opennlp.common.synsem.Denoter eval()
- Specified by:
eval in interface opennlp.common.synsem.Denoter
copy
public opennlp.common.structure.Category copy()
- Specified by:
copy in interface opennlp.common.structure.Category- Overrides:
copy in class CategoryAdapter
occurs
public boolean occurs(opennlp.common.unify.Variable v)
- Specified by:
occurs in interface opennlp.common.unify.Unifiable- Overrides:
occurs in class CategoryAdapter
toString
public java.lang.String toString()
- Specified by:
toString in interface opennlp.common.structure.Category- Overrides:
toString in class CategoryAdapter
Copyright © 2001 Jason Baldridge and Gann Bierner. All Rights Reserved.