opennlp.grok.knowledge
Class GrokKind

java.lang.Object
  |
  +--opennlp.grok.expression.CategoryAdapter
        |
        +--opennlp.grok.expression.AltSet
              |
              +--opennlp.grok.knowledge.GrokKind
All Implemented Interfaces:
opennlp.common.structure.Category, opennlp.common.synsem.Denoter, opennlp.common.discourse.Kind, opennlp.common.discourse.Referable, java.io.Serializable, opennlp.common.unify.Unifiable

public final class GrokKind
extends AltSet
implements opennlp.common.discourse.Kind

Nodes in the ISA hierarchies. Each node contains two sets, one which contains things that match the description (called members) and the other (called complement) which contains things which are known to be explicitly in the complement of the members set

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

Fields inherited from class opennlp.grok.expression.AltSet
AND, description, gs, INTERSECT, MINUS, OR, UNION
 
Fields inherited from class opennlp.grok.expression.CategoryAdapter
F
 
Constructor Summary
GrokKind(opennlp.common.synsem.Denoter c)
           
 
Method Summary
 void add(boolean bool, opennlp.common.discourse.FC fc)
           
 void add(opennlp.common.discourse.FC fc)
           
 opennlp.common.structure.Category copy()
           
 java.lang.String desc()
           
 boolean equals(java.lang.Object o)
           
 opennlp.common.discourse.Kind flatten()
           
 java.util.Set get(boolean bool)
           
 java.util.Set getAncestors()
           
 java.util.List getChildren()
           
 java.util.List getParents()
           
 java.util.Set getParentSubTreeEntities()
           
 opennlp.common.synsem.Denoter getRefexp()
           
 java.util.Set getSubTreeEntities()
           
 boolean occurs(opennlp.common.unify.Variable v)
           
 opennlp.common.discourse.Kind realCopy()
           
 void remove(boolean bool, opennlp.common.discourse.FC fc)
           
 void setChildren(java.util.List l)
           
 void setParents(java.util.List l)
           
 java.lang.String toString()
           
 
Methods inherited from class opennlp.grok.expression.AltSet
add, addAll, addAll, contains, deepMap, eval, getDescriptionSet, getDominanceHandler, getFirst, getSet, intersect, iterator, minus, name, plural, printContents, remove, setDifference, setDominanceHandler, size, toArray, union
 
Methods inherited from class opennlp.grok.expression.CategoryAdapter
copy, 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.discourse.Kind
name
 
Methods inherited from interface opennlp.common.synsem.Denoter
eval, getDominanceHandler, setDominanceHandler
 
Methods inherited from interface opennlp.common.structure.Category
deepMap, forall, getFeature, getSpan, getSpanEnd, getSpanStart, hashString, prettyPrint, setFeature, setSpan, shallowEquals
 

Constructor Detail

GrokKind

public GrokKind(opennlp.common.synsem.Denoter c)
Method Detail

getChildren

public java.util.List getChildren()
Specified by:
getChildren in interface opennlp.common.discourse.Kind

getParents

public java.util.List getParents()
Specified by:
getParents in interface opennlp.common.discourse.Kind

setChildren

public void setChildren(java.util.List l)
Specified by:
setChildren in interface opennlp.common.discourse.Kind

setParents

public void setParents(java.util.List l)
Specified by:
setParents in interface opennlp.common.discourse.Kind

add

public void add(opennlp.common.discourse.FC fc)
Specified by:
add in interface opennlp.common.discourse.Kind

add

public void add(boolean bool,
                opennlp.common.discourse.FC fc)
Specified by:
add in interface opennlp.common.discourse.Kind

remove

public void remove(boolean bool,
                   opennlp.common.discourse.FC fc)
Specified by:
remove in interface opennlp.common.discourse.Kind

getRefexp

public opennlp.common.synsem.Denoter getRefexp()
Specified by:
getRefexp in interface opennlp.common.discourse.Kind

desc

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

get

public java.util.Set get(boolean bool)
Specified by:
get in interface opennlp.common.discourse.Kind

flatten

public opennlp.common.discourse.Kind flatten()
Specified by:
flatten in interface opennlp.common.discourse.Kind

getSubTreeEntities

public java.util.Set getSubTreeEntities()
Specified by:
getSubTreeEntities in interface opennlp.common.discourse.Kind

getParentSubTreeEntities

public java.util.Set getParentSubTreeEntities()
Specified by:
getParentSubTreeEntities in interface opennlp.common.discourse.Kind

getAncestors

public java.util.Set getAncestors()
Specified by:
getAncestors in interface opennlp.common.discourse.Kind

equals

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

occurs

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

realCopy

public opennlp.common.discourse.Kind realCopy()
Specified by:
realCopy in interface opennlp.common.discourse.Kind

copy

public opennlp.common.structure.Category copy()
Specified by:
copy in interface opennlp.common.structure.Category
Overrides:
copy in class AltSet

toString

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


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