opennlp.grok.grammar
Class AbstractSubstitutionRule

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

public abstract class AbstractSubstitutionRule
extends AbstractApplicationRule

Super class for substitution rules.

Version:
$Revision: 1.3 $, $Date: 2003/02/07 16:53:55 $
Author:
Jason Baldridge, Michael White

Field Summary
protected  Slash _argSlash
           
protected  boolean _isHarmonic
           
 
Fields inherited from class opennlp.grok.grammar.AbstractApplicationRule
_functorSlash
 
Fields inherited from class opennlp.grok.grammar.AbstractRule
_name, SHOW_DEBUG
 
Constructor Summary
AbstractSubstitutionRule()
           
 
Method Summary
protected  java.util.List apply(opennlp.common.synsem.Category xyzCat, opennlp.common.synsem.Category yzCat)
           
 
Methods inherited from class opennlp.grok.grammar.AbstractApplicationRule
appendLFs, 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

_isHarmonic

protected boolean _isHarmonic

_argSlash

protected Slash _argSlash
Constructor Detail

AbstractSubstitutionRule

public AbstractSubstitutionRule()
Method Detail

apply

protected java.util.List apply(opennlp.common.synsem.Category xyzCat,
                               opennlp.common.synsem.Category yzCat)
                        throws opennlp.common.unify.UnifyFailure
Overrides:
apply in class AbstractApplicationRule
opennlp.common.unify.UnifyFailure


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