opennlp.grok.expression
Class SlashMode

java.lang.Object
  |
  +--opennlp.grok.expression.SlashMode
All Implemented Interfaces:
Modality, opennlp.common.unify.Unifiable

public final class SlashMode
extends java.lang.Object
implements Modality

A mode that can decorate a categorial slash.

Version:
$Revision: 1.7 $, $Date: 2003/02/20 12:07:50 $
Author:
Jason Baldridge

Field Summary
static byte All
           
static byte APLeft
           
static byte ApplicationOnly
           
static byte APRight
           
static byte Associative
           
static byte Permutative
           
static byte PermutativeLeft
           
static byte PermutativeRight
           
 
Constructor Summary
SlashMode()
           
SlashMode(org.jdom.Element el)
           
SlashMode(java.lang.String m)
           
 
Method Summary
 java.lang.Object copy()
           
 boolean equals(SlashMode m)
           
 java.lang.Object fill(opennlp.common.unify.Substitution sub)
           
 byte getDirection()
           
 boolean occurs(opennlp.common.unify.Variable var)
           
 java.lang.String toString()
           
 java.lang.String toString(byte slashDir)
           
 java.lang.Object unify(java.lang.Object o, opennlp.common.unify.Substitution sub)
           
 void unifyCheck(java.lang.Object o)
           
 
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
 

Field Detail

All

public static final byte All
See Also:
Constant Field Values

ApplicationOnly

public static final byte ApplicationOnly
See Also:
Constant Field Values

Associative

public static final byte Associative
See Also:
Constant Field Values

Permutative

public static final byte Permutative
See Also:
Constant Field Values

PermutativeRight

public static final byte PermutativeRight
See Also:
Constant Field Values

PermutativeLeft

public static final byte PermutativeLeft
See Also:
Constant Field Values

APRight

public static final byte APRight
See Also:
Constant Field Values

APLeft

public static final byte APLeft
See Also:
Constant Field Values
Constructor Detail

SlashMode

public SlashMode(org.jdom.Element el)

SlashMode

public SlashMode()

SlashMode

public SlashMode(java.lang.String m)
Method Detail

copy

public java.lang.Object copy()
Specified by:
copy in interface Modality

equals

public boolean equals(SlashMode m)

occurs

public boolean occurs(opennlp.common.unify.Variable var)
Specified by:
occurs in interface opennlp.common.unify.Unifiable

unifyCheck

public void unifyCheck(java.lang.Object o)
                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 o,
                              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

toString

public java.lang.String toString(byte slashDir)
Specified by:
toString in interface Modality

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getDirection

public byte getDirection()
Specified by:
getDirection in interface Modality


Copyright © 2003 Jason Baldridge and Gann Bierner. All Rights Reserved.