opennlp.grok.grammar
Class AbstractTypeRaisingRule
java.lang.Object
|
+--opennlp.grok.grammar.AbstractRule
|
+--opennlp.grok.grammar.AbstractTypeRaisingRule
- All Implemented Interfaces:
- opennlp.common.parse.Rule
- Direct Known Subclasses:
- BackwardTypeRaising, ForwardTypeRaising
- public abstract class AbstractTypeRaisingRule
- extends AbstractRule
Type-raising, e.g. np => s/(s\np)
- Version:
- $Revision: 1.22 $, $Date: 2002/11/28 15:01:21 $
- Author:
- Jason Baldridge, Michael White
Method Summary |
protected java.util.List |
apply(opennlp.common.synsem.Category input)
|
java.util.List |
applyRule(opennlp.common.synsem.Category[] inputs)
|
int |
arity()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_upperSlash
protected Slash _upperSlash
_embeddedSlash
protected Slash _embeddedSlash
_result
protected opennlp.common.synsem.Category _result
_arg
protected opennlp.common.synsem.Category _arg
AbstractTypeRaisingRule
protected AbstractTypeRaisingRule(java.lang.String name,
Slash uslash,
Slash eslash,
boolean useDollar)
arity
public int arity()
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
apply
protected java.util.List apply(opennlp.common.synsem.Category input)
throws opennlp.common.unify.UnifyFailure
opennlp.common.unify.UnifyFailure
Copyright © 2003 Jason Baldridge and Gann Bierner. All Rights Reserved.