public final class VerbFrame
extends java.lang.Object
implements java.io.Serializable
VerbFrame is the frame of a sentence in which it is proper to use a given verb.| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
_cachedToString |
private Resolvable |
_frame |
private int |
_index |
private static boolean |
_initalized |
private static VerbFrame[] |
_verbFrames |
(package private) static long |
serialVersionUID |
| Modifier | Constructor and Description |
|---|---|
private |
VerbFrame(java.lang.String frame,
int index) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFrame() |
static java.lang.String |
getFrame(int index)
Get frame at index index.
|
static java.lang.String[] |
getFrames(java.util.BitSet bits)
Get the frames at the indexes encoded in l.
|
int |
getIndex() |
static java.lang.String |
getKeyString(int i) |
static int[] |
getVerbFrameIndicies(java.util.BitSet bits)
Gets the verb frame indices for a synset.
|
static int |
getVerbFramesSize() |
int |
hashCode() |
static void |
initialize() |
java.lang.String |
toString() |
static final long serialVersionUID
private static VerbFrame[] _verbFrames
private static boolean _initalized
private Resolvable _frame
private int _index
private java.lang.String _cachedToString
public static void initialize()
public static final java.lang.String getKeyString(int i)
public static int getVerbFramesSize()
public static java.lang.String getFrame(int index)
public static java.lang.String[] getFrames(java.util.BitSet bits)
Words as a long. Each bit represents
the frame at its corresponding index. If the bit is set, that verb
frame is valid for the word.public static int[] getVerbFrameIndicies(java.util.BitSet bits)
bits - the bit setpublic java.lang.String getFrame()
public int getIndex()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object