opennlp.grok.expression
Class Slash
java.lang.Object
|
+--gnu.trove.TLinkableAdaptor
|
+--opennlp.grok.expression.Slash
- All Implemented Interfaces:
- opennlp.common.unify.Mutable, java.io.Serializable, gnu.trove.TLinkable, opennlp.common.unify.Unifiable
- public final class Slash
- extends gnu.trove.TLinkableAdaptor
- implements opennlp.common.unify.Unifiable, opennlp.common.unify.Mutable
A categorial slash which has an optional mode associated with it.
- Version:
- $Revision: 1.24 $, $Date: 2003/02/20 12:07:50 $
- Author:
- Jason Baldridge
- See Also:
- Serialized Form
Method Summary |
Slash |
copy()
|
void |
deepMap(opennlp.common.unify.ModFcn mf)
|
static boolean |
directionsMatch(byte s1,
byte s2)
|
boolean |
equals(Slash s)
|
java.lang.Object |
fill(opennlp.common.unify.Substitution sub)
|
java.lang.String |
hashString(java.util.Map varMap)
Returns a hash string using the given map from vars to int strings. |
boolean |
isActive()
|
boolean |
occurs(opennlp.common.unify.Variable v)
|
boolean |
sameDirAsModality()
|
boolean |
setAbility(java.lang.String ability)
|
java.lang.String |
toString()
|
java.lang.Object |
unify(java.lang.Object u,
opennlp.common.unify.Substitution sub)
|
void |
unifyCheck(java.lang.Object u)
|
Methods inherited from class gnu.trove.TLinkableAdaptor |
getNext, getPrevious, setNext, setPrevious |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface opennlp.common.unify.Unifiable |
equals |
L
public static final byte L
- See Also:
- Constant Field Values
B
public static final byte B
- See Also:
- Constant Field Values
R
public static final byte R
- See Also:
- Constant Field Values
INERT_OR_ACTIVE
public static final byte INERT_OR_ACTIVE
- See Also:
- Constant Field Values
ACTIVE
public static final byte ACTIVE
- See Also:
- Constant Field Values
INERT
public static final byte INERT
- See Also:
- Constant Field Values
Slash
public Slash(org.jdom.Element el)
Slash
public Slash()
Slash
public Slash(char sd)
Slash
public Slash(char sd,
java.lang.String md)
Slash
public Slash(char sd,
Modality md)
copy
public Slash copy()
occurs
public boolean occurs(opennlp.common.unify.Variable v)
- Specified by:
occurs
in interface opennlp.common.unify.Unifiable
deepMap
public void deepMap(opennlp.common.unify.ModFcn mf)
- Specified by:
deepMap
in interface opennlp.common.unify.Mutable
isActive
public boolean isActive()
setAbility
public boolean setAbility(java.lang.String ability)
unifyCheck
public void unifyCheck(java.lang.Object u)
throws opennlp.common.unify.UnifyFailure
- Specified by:
unifyCheck
in interface opennlp.common.unify.Unifiable
opennlp.common.unify.UnifyFailure
unify
public java.lang.Object unify(java.lang.Object u,
opennlp.common.unify.Substitution sub)
throws opennlp.common.unify.UnifyFailure
- Specified by:
unify
in interface opennlp.common.unify.Unifiable
opennlp.common.unify.UnifyFailure
fill
public java.lang.Object fill(opennlp.common.unify.Substitution sub)
throws opennlp.common.unify.UnifyFailure
- Specified by:
fill
in interface opennlp.common.unify.Unifiable
opennlp.common.unify.UnifyFailure
equals
public boolean equals(Slash s)
sameDirAsModality
public boolean sameDirAsModality()
directionsMatch
public static boolean directionsMatch(byte s1,
byte s2)
hashString
public java.lang.String hashString(java.util.Map varMap)
- Returns a hash string using the given map from vars to int strings.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2003 Jason Baldridge and Gann Bierner. All Rights Reserved.