opennlp.grok.grammar
Class AbstractRuleGroup
java.lang.Object
|
+--opennlp.grok.grammar.AbstractRuleGroup
- All Implemented Interfaces:
- opennlp.common.parse.RuleGroup
- Direct Known Subclasses:
- CustomRuleGroup, StandardRuleGroup
- public abstract class AbstractRuleGroup
- extends java.lang.Object
- implements opennlp.common.parse.RuleGroup
Implements default behavior for RuleGroups.
- Version:
- $Revision: 1.6 $, $Date: 2003/01/10 22:27:41 $
- Author:
- Gann Bierner
Method Summary |
void |
addRule(opennlp.common.parse.Rule r)
|
java.util.List |
applyRules(opennlp.common.synsem.Sign[] inputs)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_unaryRules
protected java.util.List _unaryRules
_binaryRules
protected java.util.List _binaryRules
_naryRules
protected java.util.List _naryRules
AbstractRuleGroup
public AbstractRuleGroup()
addRule
public void addRule(opennlp.common.parse.Rule r)
- Specified by:
addRule
in interface opennlp.common.parse.RuleGroup
applyRules
public java.util.List applyRules(opennlp.common.synsem.Sign[] inputs)
- Specified by:
applyRules
in interface opennlp.common.parse.RuleGroup
Copyright © 2003 Jason Baldridge and Gann Bierner. All Rights Reserved.