opennlp.grok.grammar
Class BackwardApplication

java.lang.Object
  |
  +--opennlp.grok.grammar.AbstractRule
        |
        +--opennlp.grok.grammar.AbstractApplicationRule
              |
              +--opennlp.grok.grammar.BackwardApplication
All Implemented Interfaces:
opennlp.common.parse.Rule

public class BackwardApplication
extends AbstractApplicationRule

Forward application: X/Y Y => X

Version:
$Revision: 1.7 $, $Date: 2002/09/12 17:00:11 $
Author:
Jason Baldridge

Field Summary
 
Fields inherited from class opennlp.grok.grammar.AbstractApplicationRule
_functorSlash
 
Fields inherited from class opennlp.grok.grammar.AbstractRule
_name, SHOW_DEBUG
 
Constructor Summary
BackwardApplication()
           
 
Method Summary
 java.util.List applyRule(opennlp.common.synsem.Category[] inputs)
           
 java.lang.String toString()
           
 
Methods inherited from class opennlp.grok.grammar.AbstractApplicationRule
appendLFs, apply, arity
 
Methods inherited from class opennlp.grok.grammar.AbstractRule
name, showApplyInstance, showApplyInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BackwardApplication

public BackwardApplication()
Method Detail

applyRule

public java.util.List applyRule(opennlp.common.synsem.Category[] inputs)
                         throws opennlp.common.unify.UnifyFailure
Specified by:
applyRule in interface opennlp.common.parse.Rule
Specified by:
applyRule in class AbstractRule
opennlp.common.unify.UnifyFailure

toString

public java.lang.String toString()
Specified by:
toString in class AbstractRule


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