opennlp.grok.expression
Class LF

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

public class LF
extends CategoryAdapter
implements opennlp.common.synsem.Denoter

A logical form expression such as walk(John).

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

Field Summary
protected  opennlp.common.synsem.Denoter[] argList
           
 boolean infix
           
protected  opennlp.common.synsem.Denoter predicate
           
 boolean setop
           
 
Fields inherited from class opennlp.grok.expression.CategoryAdapter
F
 
Constructor Summary
LF()
           
LF(opennlp.common.synsem.Denoter p, opennlp.common.synsem.Denoter[] e)
           
LF(opennlp.common.synsem.Denoter p, opennlp.common.synsem.Denoter[] e, boolean i, boolean s, opennlp.common.unify.Feature f)
           
LF(java.lang.String n, java.util.Collection c)
           
LF(java.lang.String n, opennlp.common.synsem.Denoter e)
           
LF(java.lang.String n, opennlp.common.synsem.Denoter[] e)
           
LF(java.lang.String n, opennlp.common.synsem.Denoter[] e, boolean i)
           
LF(java.lang.String n, int a)
           
 
Method Summary
 ComplexCat abstractVar(int i)
           
 int arity()
           
 opennlp.common.structure.Category copy()
           
 opennlp.common.structure.Category deepMap(opennlp.common.structure.CategoryFcn f)
           
 java.lang.String desc()
           
 boolean equals(java.lang.Object e)
           
 opennlp.common.synsem.Denoter eval()
           
 void forall(opennlp.common.structure.CategoryFcn f)
           
 opennlp.common.synsem.Denoter getArg(int i)
           
 opennlp.common.synsem.Denoter[] getArgList()
           
 opennlp.common.synsem.DominanceHandler getDominanceHandler()
           
protected  java.lang.String getHashString(java.util.HashMap subst, int[] c)
           
 opennlp.common.synsem.Denoter getPred()
           
 java.lang.String infixPrettyPrint(java.lang.String pad)
           
 LF map(opennlp.common.structure.CategoryFcn f)
           
 java.lang.String name()
           
 boolean occurs(opennlp.common.unify.Variable v)
           
 java.lang.String prettyPrint(java.lang.String pad)
           
 void setArg(int i, opennlp.common.synsem.Denoter c)
           
 void setDominanceHandler(opennlp.common.synsem.DominanceHandler _dh)
           
 opennlp.common.synsem.Denoter setEval()
           
 opennlp.common.synsem.Denoter setEval(boolean force)
           
 void setPred(opennlp.common.synsem.Denoter d)
           
 opennlp.common.structure.Category shallowCopy()
           
 java.lang.String toString()
           
 opennlp.common.unify.CategorySubstitution unify(LF a, opennlp.common.unify.CategorySubstitution S)
           
 
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
 

Field Detail

predicate

protected opennlp.common.synsem.Denoter predicate

argList

protected opennlp.common.synsem.Denoter[] argList

infix

public boolean infix

setop

public boolean setop
Constructor Detail

LF

public LF()

LF

public LF(java.lang.String n,
          int a)

LF

public LF(java.lang.String n,
          opennlp.common.synsem.Denoter e)

LF

public LF(java.lang.String n,
          java.util.Collection c)

LF

public LF(java.lang.String n,
          opennlp.common.synsem.Denoter[] e)

LF

public LF(java.lang.String n,
          opennlp.common.synsem.Denoter[] e,
          boolean i)

LF

public LF(opennlp.common.synsem.Denoter p,
          opennlp.common.synsem.Denoter[] e)

LF

public LF(opennlp.common.synsem.Denoter p,
          opennlp.common.synsem.Denoter[] e,
          boolean i,
          boolean s,
          opennlp.common.unify.Feature f)
Method Detail

arity

public int arity()

name

public java.lang.String name()

getArgList

public opennlp.common.synsem.Denoter[] getArgList()

getArg

public opennlp.common.synsem.Denoter getArg(int i)

setArg

public void setArg(int i,
                   opennlp.common.synsem.Denoter c)

getPred

public opennlp.common.synsem.Denoter getPred()

setPred

public void setPred(opennlp.common.synsem.Denoter d)

map

public LF map(opennlp.common.structure.CategoryFcn f)

deepMap

public opennlp.common.structure.Category deepMap(opennlp.common.structure.CategoryFcn f)
Specified by:
deepMap in interface opennlp.common.structure.Category
Overrides:
deepMap in class CategoryAdapter

forall

public void forall(opennlp.common.structure.CategoryFcn f)
Specified by:
forall in interface opennlp.common.structure.Category
Overrides:
forall in class CategoryAdapter

equals

public boolean equals(java.lang.Object e)
Specified by:
equals in interface opennlp.common.unify.Unifiable
Overrides:
equals in class CategoryAdapter

unify

public opennlp.common.unify.CategorySubstitution unify(LF a,
                                                       opennlp.common.unify.CategorySubstitution S)

occurs

public boolean occurs(opennlp.common.unify.Variable v)
Specified by:
occurs in interface opennlp.common.unify.Unifiable
Overrides:
occurs in class CategoryAdapter

setEval

public opennlp.common.synsem.Denoter setEval()

setEval

public opennlp.common.synsem.Denoter setEval(boolean force)

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

shallowCopy

public opennlp.common.structure.Category shallowCopy()

toString

public java.lang.String toString()
Specified by:
toString in interface opennlp.common.structure.Category
Overrides:
toString in class CategoryAdapter

desc

public java.lang.String desc()
Specified by:
desc in interface opennlp.common.synsem.Denoter

getHashString

protected java.lang.String getHashString(java.util.HashMap subst,
                                         int[] c)

abstractVar

public ComplexCat abstractVar(int i)

infixPrettyPrint

public java.lang.String infixPrettyPrint(java.lang.String pad)

prettyPrint

public java.lang.String prettyPrint(java.lang.String pad)
Overrides:
prettyPrint in class CategoryAdapter


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