opennlp.grok.expression
Class UnaryModal

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

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

A very very basic implementation of unary modalities as used in type logical grammars. All it is is a category wrapper:

[um]cat is a category with the unary modal um.

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.CategoryAdapter
F
 
Constructor Summary
UnaryModal(java.lang.String n, opennlp.common.synsem.Synner arg)
           
 
Method Summary
 opennlp.common.structure.Category copy()
           
 boolean equals(java.lang.Object c)
           
 opennlp.common.synsem.Synner getArgument()
           
 java.lang.String getName()
           
 boolean occurs(opennlp.common.unify.Variable v)
           
 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, 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
 

Constructor Detail

UnaryModal

public UnaryModal(java.lang.String n,
                  opennlp.common.synsem.Synner arg)
Method Detail

getName

public java.lang.String getName()

getArgument

public opennlp.common.synsem.Synner getArgument()

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

equals

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

unify

public opennlp.common.unify.CategorySubstitution unify(opennlp.common.structure.Category c,
                                                       opennlp.common.unify.CategorySubstitution 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.