opennlp.grok.grammar
Class AbstractApplicationRule

java.lang.Object
  |
  +--opennlp.grok.grammar.AbstractRule
        |
        +--opennlp.grok.grammar.AbstractApplicationRule
All Implemented Interfaces:
opennlp.common.parse.Rule
Direct Known Subclasses:
AbstractCompositionRule, AbstractSubstitutionRule, BackwardApplication, ForwardApplication

public abstract class AbstractApplicationRule
extends AbstractRule

Super class for application rules.

Version:
$Revision: 1.20 $, $Date: 2003/02/11 18:03:08 $
Author:
Jason Baldridge, Michael White

Field Summary
protected  Slash _functorSlash
           
 
Fields inherited from class opennlp.grok.grammar.AbstractRule
_name, SHOW_DEBUG
 
Constructor Summary
AbstractApplicationRule()
           
 
Method Summary
protected  void appendLFs(opennlp.common.synsem.Category cat1, opennlp.common.synsem.Category cat2, opennlp.common.synsem.Category result, opennlp.common.unify.Substitution sub)
          Appends, fills, sorts and checks the LFs from cats 1 and 2 into the result cat.
protected  java.util.List apply(opennlp.common.synsem.Category xyCat, opennlp.common.synsem.Category yCat)
           
 int arity()
           
 
Methods inherited from class opennlp.grok.grammar.AbstractRule
applyRule, name, showApplyInstance, showApplyInstance, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_functorSlash

protected Slash _functorSlash
Constructor Detail

AbstractApplicationRule

public AbstractApplicationRule()
Method Detail

arity

public int arity()

apply

protected java.util.List apply(opennlp.common.synsem.Category xyCat,
                               opennlp.common.synsem.Category yCat)
                        throws opennlp.common.unify.UnifyFailure
opennlp.common.unify.UnifyFailure

appendLFs

protected void appendLFs(opennlp.common.synsem.Category cat1,
                         opennlp.common.synsem.Category cat2,
                         opennlp.common.synsem.Category result,
                         opennlp.common.unify.Substitution sub)
                  throws opennlp.common.unify.UnifyFailure
Appends, fills, sorts and checks the LFs from cats 1 and 2 into the result cat.

opennlp.common.unify.UnifyFailure


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