Package | Description |
---|---|
net.didion.jwnl.data |
Classes for extracting and containing data from the dictionary.
|
net.didion.jwnl.data.list |
Lists and associated classes that hold the results of relationship operations.
|
net.didion.jwnl.data.relationship |
Tools for finding pointer relationships between words.
|
Modifier and Type | Field and Description |
---|---|
static PointerType |
PointerType.ANTONYM |
static PointerType |
PointerType.ATTRIBUTE |
static PointerType |
PointerType.CATEGORY |
static PointerType |
PointerType.CATEGORY_MEMBER |
static PointerType |
PointerType.CAUSE |
static PointerType |
PointerType.DERIVED |
static PointerType |
PointerType.ENTAILED_BY |
static PointerType |
PointerType.ENTAILMENT |
static PointerType |
PointerType.HYPERNYM |
static PointerType |
PointerType.HYPONYM |
static PointerType |
PointerType.INSTANCE_HYPERNYM |
static PointerType |
PointerType.INSTANCES_HYPONYM |
static PointerType |
PointerType.MEMBER_HOLONYM |
static PointerType |
PointerType.MEMBER_MERONYM |
static PointerType |
PointerType.NOMINALIZATION |
static PointerType |
PointerType.PART_HOLONYM |
static PointerType |
PointerType.PART_MERONYM |
static PointerType |
PointerType.PARTICIPLE_OF |
static PointerType |
PointerType.PERTAINYM |
static PointerType |
PointerType.REGION |
static PointerType |
PointerType.REGION_MEMBER |
static PointerType |
PointerType.SEE_ALSO |
static PointerType |
PointerType.SIMILAR_TO |
static PointerType |
PointerType.SUBSTANCE_HOLONYM |
static PointerType |
PointerType.SUBSTANCE_MERONYM |
static PointerType |
PointerType.USAGE |
static PointerType |
PointerType.USAGE_MEMBER |
static PointerType |
PointerType.VERB_GROUP |
Modifier and Type | Method and Description |
---|---|
static PointerType |
PointerType.getPointerTypeForKey(String key)
Return the
PointerType whose key matches key. |
PointerType |
PointerType.getSymmetricType()
Returns the pointer type that is symmetric to this type.
|
PointerType |
Pointer.getType() |
Modifier and Type | Method and Description |
---|---|
Pointer[] |
PointerTarget.getPointers(PointerType type)
Get all pointers of type
type . |
Pointer[] |
SynsetProxy.getPointers(PointerType type) |
PointerTarget[] |
PointerTarget.getTargets(PointerType type)
Get all the targets of the pointers of type
type . |
PointerTarget[] |
SynsetProxy.getTargets(PointerType type) |
static boolean |
PointerType.isSymmetric(PointerType type)
Returns true if type is a symmetric pointer type
(it is its own symmetric type).
|
PointerTargetTree |
PointerUtils.makeInheritedTree(PointerTargetTree tree,
PointerType[] searchTypes,
PointerType labelType,
int pointerDepth,
int ancestorDepth,
boolean allowRedundancies)
Turn an existing tree into an inheritance tree.
|
PointerTargetTree |
PointerUtils.makeInheritedTree(PointerTargetTree tree,
PointerType[] searchTypes,
PointerType labelType,
int pointerDepth,
int ancestorDepth,
boolean allowRedundancies)
Turn an existing tree into an inheritance tree.
|
PointerTargetTree |
PointerUtils.makeInheritedTree(Synset synset,
PointerType searchType)
Create a hypernym tree starting at synset, and add to each node a nested list pointer targets of type
searchType, starting at the node's pointer target.
|
PointerTargetTree |
PointerUtils.makeInheritedTree(Synset synset,
PointerType[] searchTypes)
Create a hypernym tree starting at synset, and add to each node a nested list pointer targets of
the types specified in searchTypes, starting at the node's pointer target.
|
PointerTargetTree |
PointerUtils.makeInheritedTree(Synset synset,
PointerType[] searchTypes,
PointerType labelType,
int pointerDepth,
int ancestorDepth)
Create a hypernym tree starting at synset, and add to each node a nested list pointer targets of
the types specified in searchTypes, starting at the node's pointer target.
|
PointerTargetTree |
PointerUtils.makeInheritedTree(Synset synset,
PointerType[] searchTypes,
PointerType labelType,
int pointerDepth,
int ancestorDepth)
Create a hypernym tree starting at synset, and add to each node a nested list pointer targets of
the types specified in searchTypes, starting at the node's pointer target.
|
PointerTargetTree |
PointerUtils.makeInheritedTree(Synset synset,
PointerType[] searchTypes,
PointerType labelType,
int pointerDepth,
int ancestorDepth,
boolean allowRedundancies)
Create a hypernym tree starting at synset, and add to each node a nested list pointer targets of
the types specified in searchTypes, starting at the node's pointer target.
|
PointerTargetTree |
PointerUtils.makeInheritedTree(Synset synset,
PointerType[] searchTypes,
PointerType labelType,
int pointerDepth,
int ancestorDepth,
boolean allowRedundancies)
Create a hypernym tree starting at synset, and add to each node a nested list pointer targets of
the types specified in searchTypes, starting at the node's pointer target.
|
PointerTargetTree |
PointerUtils.makeInheritedTree(Synset synset,
PointerType searchType,
PointerType labelType,
int pointerDepth,
int ancestorDepth)
Create a hypernym tree starting at synset, and add to each node a nested list pointer targets of type
searchType, starting at the node's pointer target.
|
PointerTargetTree |
PointerUtils.makeInheritedTree(Synset synset,
PointerType searchType,
PointerType labelType,
int pointerDepth,
int ancestorDepth,
boolean allowRedundancies)
Create a hypernym tree starting at synset, and add to each node a nested list pointer targets of type
searchType, starting at the node's pointer target.
|
PointerTargetTreeNodeList |
PointerUtils.makeInheritedTreeList(PointerTargetTreeNodeList list,
PointerType[] searchTypes,
PointerType labelType,
int pointerDepth,
int ancestorDepth,
boolean allowRedundancies)
Turn an existing tree list into an inheritance tree list.
|
PointerTargetTreeNodeList |
PointerUtils.makeInheritedTreeList(PointerTargetTreeNodeList list,
PointerType[] searchTypes,
PointerType labelType,
int pointerDepth,
int ancestorDepth,
boolean allowRedundancies)
Turn an existing tree list into an inheritance tree list.
|
PointerTargetTreeNodeList |
PointerUtils.makePointerTargetTreeList(PointerTargetNodeList list,
PointerType[] searchTypes,
PointerType labelType,
int depth,
boolean allowRedundancies)
Make a nested list of pointer targets to depth depth, starting at each
synset in
list. |
PointerTargetTreeNodeList |
PointerUtils.makePointerTargetTreeList(PointerTargetNodeList list,
PointerType[] searchTypes,
PointerType labelType,
int depth,
boolean allowRedundancies)
Make a nested list of pointer targets to depth depth, starting at each
synset in
list. |
PointerTargetTreeNodeList |
PointerUtils.makePointerTargetTreeList(PointerTargetNodeList list,
PointerType searchType,
PointerType labelType,
int depth,
boolean allowRedundancies)
Make a nested list of pointer targets to depth depth, starting at each
synset in
list. |
PointerTargetTreeNodeList |
PointerUtils.makePointerTargetTreeList(Synset set,
PointerType searchType)
Make a nested list of pointer targets to the default depth, starting at
synset . |
PointerTargetTreeNodeList |
PointerUtils.makePointerTargetTreeList(Synset set,
PointerType[] searchTypes)
Make a nested list of pointer targets to the default depth, starting at
synset . |
PointerTargetTreeNodeList |
PointerUtils.makePointerTargetTreeList(Synset set,
PointerType[] searchTypes,
int depth)
Make a nested list of pointer targets to depth depth, starting at
synset . |
PointerTargetTreeNodeList |
PointerUtils.makePointerTargetTreeList(Synset synset,
PointerType[] searchTypes,
PointerType labelType,
int depth,
boolean allowRedundancies)
Make a nested list of pointer targets to depth depth, starting at
synset . |
PointerTargetTreeNodeList |
PointerUtils.makePointerTargetTreeList(Synset synset,
PointerType[] searchTypes,
PointerType labelType,
int depth,
boolean allowRedundancies)
Make a nested list of pointer targets to depth depth, starting at
synset . |
PointerTargetTreeNodeList |
PointerUtils.makePointerTargetTreeList(Synset set,
PointerType searchType,
int depth)
Make a nested list of pointer targets to depth depth, starting at
synset . |
PointerTargetTreeNodeList |
PointerUtils.makePointerTargetTreeList(Synset set,
PointerType searchType,
PointerType labelType,
int depth,
boolean allowRedundancies)
Make a nested list of pointer targets to depth depth, starting at
synset . |
boolean |
PointerType.symmetricTo(PointerType type)
Returns true if type is symmetric to this pointer type.
|
Constructor and Description |
---|
Pointer(PointerTarget source,
int index,
PointerType pointerType,
POS targetPOS,
long targetOffset,
int targetIndex) |
Modifier and Type | Method and Description |
---|---|
PointerType |
PointerTargetNode.getType() |
Modifier and Type | Method and Description |
---|---|
void |
PointerTargetTreeNodeList.add(PointerTarget target,
PointerTargetTreeNodeList childTreeList,
PointerTargetTreeNodeList pointerTreeList,
PointerType type) |
void |
PointerTargetTreeNodeList.add(PointerTarget target,
PointerTargetTreeNodeList childTreeList,
PointerTargetTreeNodeList pointerTreeList,
PointerType type,
PointerTargetTreeNode parent) |
void |
PointerTargetTreeNodeList.add(PointerTarget target,
PointerTargetTreeNodeList childTreeList,
PointerType type) |
void |
PointerTargetTreeNodeList.add(PointerTarget target,
PointerTargetTreeNodeList childTreeList,
PointerType type,
PointerTargetTreeNode parent) |
void |
PointerTargetTreeNodeList.add(PointerTarget target,
PointerType type) |
void |
PointerTargetNodeList.add(PointerTarget target,
PointerType type) |
void |
PointerTargetTreeNodeList.add(PointerTarget target,
PointerType type,
PointerTargetTreeNode parent) |
void |
PointerTargetNode.setType(PointerType type) |
Constructor and Description |
---|
PointerTargetNode(PointerTarget target,
PointerType type) |
PointerTargetTreeNode(PointerTarget target,
PointerTargetTreeNodeList childTreeList,
PointerTargetTreeNodeList pointerTreeList,
PointerType type) |
PointerTargetTreeNode(PointerTarget target,
PointerTargetTreeNodeList childTreeList,
PointerTargetTreeNodeList pointerTreeList,
PointerType type,
PointerTargetTreeNode parent) |
PointerTargetTreeNode(PointerTarget target,
PointerTargetTreeNodeList childTreeList,
PointerType type) |
PointerTargetTreeNode(PointerTarget target,
PointerTargetTreeNodeList childTreeList,
PointerType type,
PointerTargetTreeNode parent) |
PointerTargetTreeNode(PointerTarget target,
PointerType type) |
PointerTargetTreeNode(PointerTarget target,
PointerType type,
PointerTargetTreeNode parent) |
Modifier and Type | Method and Description |
---|---|
PointerType |
Relationship.getType() |
Modifier and Type | Method and Description |
---|---|
RelationshipList |
RelationshipFinder.findRelationships(Synset sourceSynset,
Synset targetSynset,
PointerType type)
Find all relationships of type type between sourceSynset and targetSynset.
|
RelationshipList |
RelationshipFinder.findRelationships(Synset sourceSynset,
Synset targetSynset,
PointerType type,
int depth)
Find all relationships of type type between sourceSynset and targetSynset
to depth depth.
|
Constructor and Description |
---|
AsymmetricRelationship(PointerType type,
PointerTargetNodeList nodes,
int commonParentIndex,
Synset sourceSynset,
Synset targetSynset) |
Relationship(PointerType type,
PointerTargetNodeList nodes,
Synset sourceSynset,
Synset targetSynset) |
SymmetricRelationship(PointerType type,
PointerTargetNodeList nodes,
Synset sourceSynset,
Synset targetSynset) |
Copyright © 2018. All rights reserved.