opennlp.grok.expression
Class SplitCatSet

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

public class SplitCatSet
extends CategoryAdapter
implements opennlp.common.synsem.Synner

A special type of CatSet which has a Distinguished Argument (darg). The darg is used when matching up against the Set-CCG rules. This class is really a type of variable, but we are not having it extend the Variable interface just yet.

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.CategoryAdapter
F
 
Constructor Summary
SplitCatSet(Var da, SetVar sv)
           
 
Method Summary
 opennlp.common.structure.Category copy()
           
 opennlp.common.structure.Category deepMap(opennlp.common.structure.CategoryFcn f)
           
 boolean equals(java.lang.Object o)
           
 Var getDarg()
           
 SetVar getSet()
           
 boolean occurs(opennlp.common.unify.Variable v)
           
 void setDarg(Var v)
           
 void setSet(SetVar s)
           
 java.lang.String toString()
           
 opennlp.common.unify.CategorySubstitution unify(opennlp.common.structure.Category c, opennlp.common.unify.CategorySubstitution S)
           
 
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.structure.Category
forall, getFeature, getSpan, getSpanEnd, getSpanStart, hashString, prettyPrint, setFeature, setSpan, shallowEquals
 

Constructor Detail

SplitCatSet

public SplitCatSet(Var da,
                   SetVar sv)
Method Detail

occurs

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

unify

public opennlp.common.unify.CategorySubstitution unify(opennlp.common.structure.Category c,
                                                       opennlp.common.unify.CategorySubstitution S)

equals

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

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

copy

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

getDarg

public Var getDarg()

setDarg

public void setDarg(Var v)

getSet

public SetVar getSet()

setSet

public void setSet(SetVar s)

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.