opennlp.grok.expression
Class Relation

java.lang.Object
  |
  +--opennlp.grok.expression.CategoryAdapter
        |
        +--opennlp.grok.expression.LF
              |
              +--opennlp.grok.expression.Relation
All Implemented Interfaces:
opennlp.common.structure.Category, opennlp.common.synsem.Denoter, java.io.Serializable, opennlp.common.unify.Unifiable

public class Relation
extends LF

A Relation is a two argument logical form that may have special properties: reflexive, symetric, transitive.

These properties can cause special behavior for some operations. For instance, right now unification is special if the relation is symetric.

Version:
$Revision: 1.1.1.1 $, $Date: 2001/10/23 15:17:51 $
Author:
Gann Bierner
See Also:
Serialized Form

Fields inherited from class opennlp.grok.expression.LF
argList, infix, predicate, setop
 
Fields inherited from class opennlp.grok.expression.CategoryAdapter
F
 
Constructor Summary
Relation(java.lang.String pred, opennlp.common.synsem.Denoter d1, opennlp.common.synsem.Denoter d2)
           
Relation(java.lang.String pred, opennlp.common.synsem.Denoter d1, opennlp.common.synsem.Denoter d2, boolean r, boolean s, boolean t)
           
Relation(java.lang.String pred, opennlp.common.synsem.Denoter d1, opennlp.common.synsem.Denoter d2, java.lang.String s)
           
 
Method Summary
 opennlp.common.structure.Category copy()
           
 opennlp.common.structure.Category shallowCopy()
           
 opennlp.common.unify.CategorySubstitution unify(LF y, opennlp.common.unify.CategorySubstitution S)
           
 
Methods inherited from class opennlp.grok.expression.LF
abstractVar, arity, deepMap, desc, equals, eval, forall, getArg, getArgList, getDominanceHandler, getHashString, getPred, infixPrettyPrint, map, name, occurs, prettyPrint, setArg, setDominanceHandler, setEval, setEval, setPred, toString
 
Methods inherited from class opennlp.grok.expression.CategoryAdapter
copy, getFeature, getSpan, getSpanEnd, getSpanStart, hashString, makeString, prettyLength, 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
getFeature, getSpan, getSpanEnd, getSpanStart, hashString, prettyPrint, setFeature, setSpan, shallowEquals
 

Constructor Detail

Relation

public Relation(java.lang.String pred,
                opennlp.common.synsem.Denoter d1,
                opennlp.common.synsem.Denoter d2,
                boolean r,
                boolean s,
                boolean t)

Relation

public Relation(java.lang.String pred,
                opennlp.common.synsem.Denoter d1,
                opennlp.common.synsem.Denoter d2,
                java.lang.String s)

Relation

public Relation(java.lang.String pred,
                opennlp.common.synsem.Denoter d1,
                opennlp.common.synsem.Denoter d2)
Method Detail

copy

public opennlp.common.structure.Category copy()
Overrides:
copy in class LF

shallowCopy

public opennlp.common.structure.Category shallowCopy()
Overrides:
shallowCopy in class LF

unify

public opennlp.common.unify.CategorySubstitution unify(LF y,
                                                       opennlp.common.unify.CategorySubstitution S)
Overrides:
unify in class LF


Copyright © 2001 Jason Baldridge and Gann Bierner. All Rights Reserved.