opennlp.grok.grammar
Class BackwardSubstitution
java.lang.Object
|
+--opennlp.grok.grammar.AbstractRule
|
+--opennlp.grok.grammar.AbstractApplicationRule
|
+--opennlp.grok.grammar.AbstractSubstitutionRule
|
+--opennlp.grok.grammar.BackwardSubstitution
- All Implemented Interfaces:
- opennlp.common.parse.Rule
- public class BackwardSubstitution
- extends AbstractSubstitutionRule
Backward substitution, e.g. Y\Z X\Y\Z => X\Z
- Version:
- $Revision: 1.1 $, $Date: 2002/09/22 22:10:30 $
- Author:
- Jason Baldridge
Method Summary |
java.util.List |
applyRule(opennlp.common.synsem.Category[] inputs)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BackwardSubstitution
public BackwardSubstitution()
BackwardSubstitution
public BackwardSubstitution(boolean isHarmonic)
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.