|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.didion.jwnl.data.relationship.RelationshipFinder
public class RelationshipFinder
Method Summary | |
---|---|
RelationshipList |
findRelationships(Synset sourceSynset,
Synset targetSynset,
PointerType type)
Find all relationships of type type between sourceSynset and targetSynset. |
RelationshipList |
findRelationships(Synset sourceSynset,
Synset targetSynset,
PointerType type,
int depth)
Find all relationships of type type between sourceSynset and targetSynset to depth depth. |
int |
getImmediateRelationship(IndexWord sourceWord,
IndexWord targetWord)
Looks at whether the target word is one of the words in one of the synsets of the source word. |
static RelationshipFinder |
getInstance()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RelationshipFinder getInstance()
public int getImmediateRelationship(IndexWord sourceWord, IndexWord targetWord) throws JWNLException
JWNLException
public RelationshipList findRelationships(Synset sourceSynset, Synset targetSynset, PointerType type) throws JWNLException
JWNLException
public RelationshipList findRelationships(Synset sourceSynset, Synset targetSynset, PointerType type, int depth) throws JWNLException
JWNLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |