opennlp.grok.grammar
Class AbstractRule
java.lang.Object
|
+--opennlp.grok.grammar.AbstractRule
- All Implemented Interfaces:
- opennlp.common.parse.Rule
- Direct Known Subclasses:
- AbstractApplicationRule, AbstractTypeRaisingRule, GenericRule
- public abstract class AbstractRule
- extends java.lang.Object
- implements opennlp.common.parse.Rule
Implements some default behavior for Rule objects.
- Version:
- $Revision: 1.9 $, $Date: 2002/09/20 13:26:31 $
- Author:
- Jason Baldridge
Method Summary |
abstract java.util.List |
applyRule(opennlp.common.synsem.Category[] inputs)
|
java.lang.String |
name()
|
protected void |
showApplyInstance(opennlp.common.synsem.Category[] inputs)
|
protected void |
showApplyInstance(opennlp.common.synsem.Category first,
opennlp.common.synsem.Category second)
|
abstract java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface opennlp.common.parse.Rule |
arity |
SHOW_DEBUG
public static boolean SHOW_DEBUG
_name
protected java.lang.String _name
AbstractRule
public AbstractRule()
applyRule
public abstract java.util.List applyRule(opennlp.common.synsem.Category[] inputs)
throws opennlp.common.unify.UnifyFailure
- Specified by:
applyRule
in interface opennlp.common.parse.Rule
opennlp.common.unify.UnifyFailure
toString
public abstract java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
showApplyInstance
protected void showApplyInstance(opennlp.common.synsem.Category[] inputs)
showApplyInstance
protected void showApplyInstance(opennlp.common.synsem.Category first,
opennlp.common.synsem.Category second)
name
public java.lang.String name()
Copyright © 2003 Jason Baldridge and Gann Bierner. All Rights Reserved.