|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.llnl.ontology.wordnet.SimpleRelatedForm
public class SimpleRelatedForm
A simple struct based implementation of a RelatedForm
.
Field Summary | |
---|---|
int |
otherIndex
The index of the related Lemma in the other Sysnet . |
int |
sourceIndex
The index of the related Lemma in the source Sysnet . |
Constructor Summary | |
---|---|
SimpleRelatedForm(int sourceIndex,
int otherIndex)
Creates a new SimpleRelatedForm relating the lemma at index
sourceIndex for the current Synset to the lemma at index
otherIndex of another, related Synset . |
Method Summary | |
---|---|
int |
otherIndex()
Returns the index of the Lemma from a related Synset that
is related to a Lemma in this Synset . |
int |
sourceIndex()
Returns the index of the Lemma from this Sysnet that is
related to another Lemma . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int sourceIndex
Lemma
in the source Sysnet
.
public int otherIndex
Lemma
in the other Sysnet
.
Constructor Detail |
---|
public SimpleRelatedForm(int sourceIndex, int otherIndex)
SimpleRelatedForm
relating the lemma at index
sourceIndex
for the current Synset
to the lemma at index
otherIndex
of another, related Synset
.
Method Detail |
---|
public int sourceIndex()
Lemma
from this Sysnet
that is
related to another Lemma
.
sourceIndex
in interface RelatedForm
public int otherIndex()
Lemma
from a related Synset
that
is related to a Lemma
in this Synset
.
otherIndex
in interface RelatedForm
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |