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.
|
net.didion.jwnl.dictionary |
Classes for acessing dictionary information.
|
net.didion.jwnl.princeton.data |
Implementations of
DictionaryElementFactory for Princeton's release of WordNet. |
Modifier and Type | Class and Description |
---|---|
class |
SynsetProxy
Proxy for a
Synset . |
Modifier and Type | Method and Description |
---|---|
Synset |
DatabaseDictionaryElementFactory.createSynset(POS pos,
long offset,
ResultSet synset,
ResultSet words,
ResultSet pointers,
ResultSet verbFrames)
Create a Synset from a row in the database.
|
Synset |
FileDictionaryElementFactory.createSynset(POS pos,
String line)
Creates a synset from a line in a data file.
|
Synset |
IndexWord.getSense(int index)
Get a particular sense of this word.
|
Synset[] |
IndexWord.getSenses()
Get an array of all the senses of this word.
|
protected Synset |
SynsetProxy.getSource() |
Synset |
Word.getSynset()
Gets the synset associated with this word.
|
Synset |
Pointer.getTargetSynset()
Get the synset that is a) the target of this pointer, or b) the * synset that contains the target of this pointer.
|
Modifier and Type | Method and Description |
---|---|
PointerTargetNodeList |
PointerUtils.getAlsoSees(Synset synset)
Find what words are related to
synset |
PointerTargetTree |
PointerUtils.getAlsoSeeTree(Synset synset,
int depth)
Find all See Also relations to depth
depth . |
PointerTargetNodeList |
PointerUtils.getAntonyms(Synset synset)
Get the words that mean the opposite of
synset |
PointerTargetNodeList |
PointerUtils.getAttributes(Synset synset)
Get the attributes of
synset |
PointerTargetNodeList |
PointerUtils.getCauses(Synset synset)
Find direct cause links of
synset |
PointerTargetTree |
PointerUtils.getCauseTree(Synset synset)
Find all cause links for
synset . |
PointerTargetTree |
PointerUtils.getCauseTree(Synset synset,
int depth)
Find all cause links for
synset to depth depth . |
PointerTargetNodeList |
PointerUtils.getCoordinateTerms(Synset synset)
Get
synset 's siblings (the hyponyms of its hypernyms) |
PointerTargetNodeList |
PointerUtils.getDerived(Synset synset)
Find derrived links of
synset |
PointerTargetNodeList |
PointerUtils.getDirectHypernyms(Synset synset)
Get the immediate parents of
synset |
PointerTargetNodeList |
PointerUtils.getDirectHyponyms(Synset synset)
Get the immediate children of
synset |
PointerTargetNodeList |
PointerUtils.getEntailedBy(Synset synset)
Find direct entailed bys of
synset |
PointerTargetTree |
PointerUtils.getEntailedByTree(Synset synset)
Find all entailed bys of
synset . |
PointerTargetTree |
PointerUtils.getEntailedByTree(Synset synset,
int depth)
Find all entailed bys of
synset to depth depth . |
PointerTargetNodeList |
PointerUtils.getEntailments(Synset synset)
Find direct entailments of
synset |
PointerTargetTree |
PointerUtils.getEntailmentTree(Synset synset)
Find all entailments for
synset |
PointerTargetTree |
PointerUtils.getEntailmentTree(Synset synset,
int depth)
Find all entailments for
synset to depth depth |
PointerTargetTree |
PointerUtils.getExtendedAntonyms(Synset synset)
Get the words that mean the opposite of
synset and the immediate synonyms of those words |
PointerTargetTree |
PointerUtils.getExtendedAntonyms(Synset synset,
int depth)
Find all antonyms of
synset , and all synonyms of those antonyms to depth depth . |
PointerTargetNodeList |
PointerUtils.getHolonyms(Synset synset)
Get holonyms of
synset |
PointerTargetTree |
PointerUtils.getHypernymTree(Synset synset)
Get all of the ancestors of
synset |
PointerTargetTree |
PointerUtils.getHypernymTree(Synset synset,
int depth)
Get all of the ancestors of
synset to depth depth |
PointerTargetTree |
PointerUtils.getHyponymTree(Synset synset)
Get all of the children of
synset |
PointerTargetTree |
PointerUtils.getHyponymTree(Synset synset,
int depth)
Get all of the children of
synset to depth depth |
PointerTargetTree |
PointerUtils.getIndirectAntonyms(Synset synset)
Get the immediate antonyms of all words that mean the same as
synset . |
PointerTargetTree |
PointerUtils.getIndirectAntonyms(Synset synset,
int depth)
Get the antonyms of all words that mean the same as
synset to depth depth . |
PointerTargetTree |
PointerUtils.getInheritedHolonyms(Synset synset)
Get holonyms of
synset and of all its ancestors |
PointerTargetTree |
PointerUtils.getInheritedHolonyms(Synset synset,
int pointerDepth,
int ancestorDepth)
Get holonyms of each synset, to depth
pointerDepth , starting at synset
and going for all of synset 's ancestors to depth ancestorDepth . |
PointerTargetTree |
PointerUtils.getInheritedMemberHolonyms(Synset synset)
Get member holonyms of
synset and of all its ancestors |
PointerTargetTree |
PointerUtils.getInheritedMemberHolonyms(Synset synset,
int pointerDepth,
int ancestorDepth)
Get member holonyms of each synset, to depth
pointerDepth , starting at synset
and going for all of synset 's ancestors to depth ancestorDepth . |
PointerTargetTree |
PointerUtils.getInheritedMemberMeronyms(Synset synset)
Get member meronyms of synset and of its ancestors
|
PointerTargetTree |
PointerUtils.getInheritedMemberMeronyms(Synset synset,
int pointerDepth,
int ancestorDepth)
Get member meronyms of each synset, to depth
pointerDepth , starting at
synset and going for all of synset 's ancestors to depth
ancestorDepth . |
PointerTargetTree |
PointerUtils.getInheritedMeronyms(Synset synset,
int pointerDepth,
int ancestorDepth)
Get meronyms of each synset, to depth
pointerDepth starting at
synset and going for all of synset 's ancestors to depth
ancestorDepth . |
PointerTargetTree |
PointerUtils.getInheritedPartHolonyms(Synset synset)
Get part holonyms of
synset and of all its ancestors |
PointerTargetTree |
PointerUtils.getInheritedPartHolonyms(Synset synset,
int pointerDepth,
int ancestorDepth)
Get part holonyms of each synset, to depth
pointerDepth , starting at synset
and going for all of synset 's ancestors to depth ancestorDepth . |
PointerTargetTree |
PointerUtils.getInheritedPartMeronyms(Synset synset)
Get part meronyms of
synset and of all its ancestors |
PointerTargetTree |
PointerUtils.getInheritedPartMeronyms(Synset synset,
int pointerDepth,
int ancestorDepth)
Get part meronyms of each synset, to depth
pointerDepth , starting at
synset and going for all of synset 's ancestors to depth
ancestorDepth . |
PointerTargetTree |
PointerUtils.getInheritedSubstanceHolonyms(Synset synset)
Get substance holonyms of
synset and of all its ancestors |
PointerTargetTree |
PointerUtils.getInheritedSubstanceHolonyms(Synset synset,
int pointerDepth,
int ancestorDepth)
Get substance holonyms of each synset, to depth
pointerDepth , starting at synset
and going for all of synset 's ancestors to depth ancestorDepth . |
PointerTargetTree |
PointerUtils.getInheritedSubstanceMeronyms(Synset synset)
Get substance meronyms of
synset and of its ancestors |
PointerTargetTree |
PointerUtils.getInheritedSubstanceMeronyms(Synset synset,
int pointerDepth,
int ancestorDepth)
Get substance meronyms of each synset, to depth
pointerDepth , starting at
synset and going for all of synset 's ancestors to depth
ancestorDepth . |
PointerTargetTree |
PointerUtils.getInteritedMeronyms(Synset synset)
Get meronyms of
synset and of all its ancestors |
PointerTargetNodeList |
PointerUtils.getMemberHolonyms(Synset synset)
Get member holonyms of
synset |
PointerTargetNodeList |
PointerUtils.getMemberMeronyms(Synset synset)
Get member meronyms of
synset |
PointerTargetNodeList |
PointerUtils.getMeronyms(Synset synset)
Get meronyms of
synset . |
PointerTargetNodeList |
PointerUtils.getPartHolonyms(Synset synset)
Get part holonyms of
synset |
PointerTargetNodeList |
PointerUtils.getParticipleOf(Synset synset)
Find participle of links of
synset |
PointerTargetNodeList |
PointerUtils.getPartMeronyms(Synset synset)
Get part meronyms of
synset |
PointerTargetNodeList |
PointerUtils.getSubstanceHolonyms(Synset synset)
Get substance holonyms of
synset |
PointerTargetNodeList |
PointerUtils.getSubstanceMeronyms(Synset synset)
Get substance meronyms of
synset |
PointerTargetNodeList |
PointerUtils.getSynonyms(Synset synset)
Get the synonyms for
synset . |
PointerTargetTree |
PointerUtils.getSynonymTree(Synset synset,
int depth)
Get all the synonyms of
synset to depth depth . |
PointerTargetNodeList |
PointerUtils.getVerbGroup(Synset synset)
Get the group that this verb belongs to.
|
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,
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.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 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 . |
void |
SynsetProxy.setSource(Synset source) |
Constructor and Description |
---|
Adjective(Synset synset,
int index,
String lemma,
Adjective.AdjectivePosition adjectivePosition) |
Verb(Synset synset,
int index,
String lemma,
BitSet verbFrameFlags) |
Word(Synset synset,
int index,
String lemma)
Constructs a word tied to a synset, it's position within the synset, and the lemma.
|
Modifier and Type | Method and Description |
---|---|
Synset |
PointerTargetNode.getSynset()
If the target is a synset, return it, otherwise it's a word
so return the word's parent synset.
|
Constructor and Description |
---|
PointerTargetTree(Synset synset,
PointerTargetTreeNodeList list) |
Modifier and Type | Method and Description |
---|---|
Synset |
Relationship.getSourceSynset()
Get the Synset that is the source of this relationship.
|
Synset |
Relationship.getTargetSynset()
Get the Synset that is the target of this relationship.
|
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) |
Modifier and Type | Method and Description |
---|---|
protected Synset |
AbstractCachingDictionary.getCachedSynset(POSKey key) |
abstract Synset |
Dictionary.getSynsetAt(POS pos,
long offset)
Return the
Synset at offset offset from the database. |
Synset |
DatabaseBackedDictionary.getSynsetAt(POS pos,
long offset) |
Synset |
FileBackedDictionary.getSynsetAt(POS pos,
long offset) |
Synset |
MapBackedDictionary.getSynsetAt(POS pos,
long offset) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractCachingDictionary.cacheSynset(POSKey key,
Synset synset) |
Modifier and Type | Method and Description |
---|---|
Synset |
PrincetonWN30DatabaseDictionaryElementFactory.createSynset(POS pos,
long offset,
ResultSet synset,
ResultSet words,
ResultSet pointers,
ResultSet verbFrames)
Create a synset.
|
Synset |
AbstractPrincetonDatabaseDictionaryElementFactory.createSynset(POS pos,
long offset,
ResultSet synset,
ResultSet words,
ResultSet pointers,
ResultSet verbFrames) |
Synset |
AbstractPrincetonFileDictionaryElementFactory.createSynset(POS pos,
String line) |
Modifier and Type | Method and Description |
---|---|
protected Word |
AbstractPrincetonFileDictionaryElementFactory.createWord(Synset synset,
int index,
String lemma)
Creates a word, also access the sense.idx file.
|
protected Word |
PrincetonWN16FileDictionaryElementFactory.createWord(Synset synset,
int index,
String lemma) |
protected Word |
PrincetonWN16DatabaseDictionaryElementFactory.createWord(Synset synset,
int index,
String lemma) |
protected Word |
AbstractPrincetonDatabaseDictionaryElementFactory.createWord(Synset synset,
int index,
String lemma) |
protected Word |
PrincetonWN30DatabaseDictionaryElementFactory.createWord(Synset synset,
int index,
String lemma,
String senseKey,
int usageCnt)
Creates a word object from.
|
Copyright © 2015. All rights reserved.