Uses of Class
net.didion.jwnl.data.Synset
Packages that use Synset
Package
Description
Classes for extracting and containing data from the dictionary.
Lists and associated classes that hold the results of relationship operations.
Tools for finding pointer relationships between words.
Classes for acessing dictionary information.
Implementations of
DictionaryElementFactory
for Princeton's release of WordNet.-
Uses of Synset in net.didion.jwnl.data
Subclasses of Synset in net.didion.jwnl.dataFields in net.didion.jwnl.data declared as SynsetModifier and TypeFieldDescriptionprivate Synset
SynsetProxy._source
private Synset
Word._synset
The Synset to which this word belongs.private Synset[]
IndexWord._synsets
This is null until getSenses has been called.Methods in net.didion.jwnl.data that return SynsetModifier and TypeMethodDescriptionDatabaseDictionaryElementFactory.createSynset
(POS pos, long offset, ResultSet synset, ResultSet words, ResultSet pointers, ResultSet verbFrames) Create a Synset from a row in the database.FileDictionaryElementFactory.createSynset
(POS pos, String line) Creates a synset from a line in a data file.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()
Word.getSynset()
Gets the synset associated with this word.Pointer.getTargetSynset()
Get the synset that is a) the target of this pointer, or b) the * synset that contains the target of this pointer.Methods in net.didion.jwnl.data with parameters of type SynsetModifier and TypeMethodDescriptionPointerUtils.getAlsoSees
(Synset synset) Find what words are related tosynset
PointerUtils.getAlsoSeeTree
(Synset synset, int depth) Find all See Also relations to depthdepth
.PointerUtils.getAntonyms
(Synset synset) Get the words that mean the opposite ofsynset
PointerUtils.getAttributes
(Synset synset) Get the attributes ofsynset
Find direct cause links ofsynset
PointerUtils.getCauseTree
(Synset synset) Find all cause links forsynset
.PointerUtils.getCauseTree
(Synset synset, int depth) Find all cause links forsynset
to depthdepth
.PointerUtils.getCoordinateTerms
(Synset synset) Getsynset
's siblings (the hyponyms of its hypernyms)PointerUtils.getDerived
(Synset synset) Find derrived links ofsynset
PointerUtils.getDirectHypernyms
(Synset synset) Get the immediate parents ofsynset
PointerUtils.getDirectHyponyms
(Synset synset) Get the immediate children ofsynset
PointerUtils.getEntailedBy
(Synset synset) Find direct entailed bys ofsynset
PointerUtils.getEntailedByTree
(Synset synset) Find all entailed bys ofsynset
.PointerUtils.getEntailedByTree
(Synset synset, int depth) Find all entailed bys ofsynset
to depthdepth
.PointerUtils.getEntailments
(Synset synset) Find direct entailments ofsynset
PointerUtils.getEntailmentTree
(Synset synset) Find all entailments forsynset
PointerUtils.getEntailmentTree
(Synset synset, int depth) Find all entailments forsynset
to depthdepth
PointerUtils.getExtendedAntonyms
(Synset synset) Get the words that mean the opposite ofsynset
and the immediate synonyms of those wordsPointerUtils.getExtendedAntonyms
(Synset synset, int depth) Find all antonyms ofsynset
, and all synonyms of those antonyms to depthdepth
.PointerUtils.getHolonyms
(Synset synset) Get holonyms ofsynset
PointerUtils.getHypernymTree
(Synset synset) Get all of the ancestors ofsynset
PointerUtils.getHypernymTree
(Synset synset, int depth) Get all of the ancestors ofsynset
to depthdepth
PointerUtils.getHyponymTree
(Synset synset) Get all of the children ofsynset
PointerUtils.getHyponymTree
(Synset synset, int depth) Get all of the children ofsynset
to depthdepth
PointerUtils.getIndirectAntonyms
(Synset synset) Get the immediate antonyms of all words that mean the same assynset
.PointerUtils.getIndirectAntonyms
(Synset synset, int depth) Get the antonyms of all words that mean the same assynset
to depthdepth
.PointerUtils.getInheritedHolonyms
(Synset synset) Get holonyms ofsynset
and of all its ancestorsPointerUtils.getInheritedHolonyms
(Synset synset, int pointerDepth, int ancestorDepth) Get holonyms of each synset, to depthpointerDepth
, starting atsynset
and going for all ofsynset
's ancestors to depthancestorDepth
.PointerUtils.getInheritedMemberHolonyms
(Synset synset) Get member holonyms ofsynset
and of all its ancestorsPointerUtils.getInheritedMemberHolonyms
(Synset synset, int pointerDepth, int ancestorDepth) Get member holonyms of each synset, to depthpointerDepth
, starting atsynset
and going for all ofsynset
's ancestors to depthancestorDepth
.PointerUtils.getInheritedMemberMeronyms
(Synset synset) Get member meronyms of synset and of its ancestorsPointerUtils.getInheritedMemberMeronyms
(Synset synset, int pointerDepth, int ancestorDepth) Get member meronyms of each synset, to depthpointerDepth
, starting atsynset
and going for all ofsynset
's ancestors to depthancestorDepth
.PointerUtils.getInheritedMeronyms
(Synset synset, int pointerDepth, int ancestorDepth) Get meronyms of each synset, to depthpointerDepth
starting atsynset
and going for all ofsynset
's ancestors to depthancestorDepth
.PointerUtils.getInheritedPartHolonyms
(Synset synset) Get part holonyms ofsynset
and of all its ancestorsPointerUtils.getInheritedPartHolonyms
(Synset synset, int pointerDepth, int ancestorDepth) Get part holonyms of each synset, to depthpointerDepth
, starting atsynset
and going for all ofsynset
's ancestors to depthancestorDepth
.PointerUtils.getInheritedPartMeronyms
(Synset synset) Get part meronyms ofsynset
and of all its ancestorsPointerUtils.getInheritedPartMeronyms
(Synset synset, int pointerDepth, int ancestorDepth) Get part meronyms of each synset, to depthpointerDepth
, starting atsynset
and going for all ofsynset
's ancestors to depthancestorDepth
.PointerUtils.getInheritedSubstanceHolonyms
(Synset synset) Get substance holonyms ofsynset
and of all its ancestorsPointerUtils.getInheritedSubstanceHolonyms
(Synset synset, int pointerDepth, int ancestorDepth) Get substance holonyms of each synset, to depthpointerDepth
, starting atsynset
and going for all ofsynset
's ancestors to depthancestorDepth
.PointerUtils.getInheritedSubstanceMeronyms
(Synset synset) Get substance meronyms ofsynset
and of its ancestorsPointerUtils.getInheritedSubstanceMeronyms
(Synset synset, int pointerDepth, int ancestorDepth) Get substance meronyms of each synset, to depthpointerDepth
, starting atsynset
and going for all ofsynset
's ancestors to depthancestorDepth
.PointerUtils.getInteritedMeronyms
(Synset synset) Get meronyms ofsynset
and of all its ancestorsPointerUtils.getMemberHolonyms
(Synset synset) Get member holonyms ofsynset
PointerUtils.getMemberMeronyms
(Synset synset) Get member meronyms ofsynset
PointerUtils.getMeronyms
(Synset synset) Get meronyms ofsynset
.PointerUtils.getPartHolonyms
(Synset synset) Get part holonyms ofsynset
PointerUtils.getParticipleOf
(Synset synset) Find participle of links ofsynset
PointerUtils.getPartMeronyms
(Synset synset) Get part meronyms ofsynset
private PointerTargetNodeList
PointerUtils.getPointerTargets
(Synset synset, PointerType type) Get all the pointer targets of synset of type type.PointerUtils.getSubstanceHolonyms
(Synset synset) Get substance holonyms ofsynset
PointerUtils.getSubstanceMeronyms
(Synset synset) Get substance meronyms ofsynset
PointerUtils.getSynonyms
(Synset synset) Get the synonyms forsynset
.PointerUtils.getSynonymTree
(Synset synset, int depth) Get all the synonyms ofsynset
to depthdepth
.PointerUtils.getVerbGroup
(Synset synset) Get the group that this verb belongs to.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.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.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.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.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.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.PointerUtils.makePointerTargetTreeList
(Synset set, PointerType searchType) Make a nested list of pointer targets to the default depth, starting atsynset
.PointerUtils.makePointerTargetTreeList
(Synset set, PointerType[] searchTypes) Make a nested list of pointer targets to the default depth, starting atsynset
.PointerUtils.makePointerTargetTreeList
(Synset set, PointerType[] searchTypes, int depth) Make a nested list of pointer targets to depth depth, starting atsynset
.PointerUtils.makePointerTargetTreeList
(Synset synset, PointerType[] searchTypes, PointerType labelType, int depth, boolean allowRedundancies) Make a nested list of pointer targets to depth depth, starting atsynset
.private PointerTargetTreeNodeList
PointerUtils.makePointerTargetTreeList
(Synset synset, PointerType[] searchTypes, PointerType labelType, int depth, boolean allowRedundancies, PointerTargetTreeNode parent) PointerUtils.makePointerTargetTreeList
(Synset set, PointerType searchType, int depth) Make a nested list of pointer targets to depth depth, starting atsynset
.PointerUtils.makePointerTargetTreeList
(Synset set, PointerType searchType, PointerType labelType, int depth, boolean allowRedundancies) Make a nested list of pointer targets to depth depth, starting atsynset
.void
Constructors in net.didion.jwnl.data with parameters of type SynsetModifierConstructorDescriptionAdjective
(Synset synset, int index, String lemma, Adjective.AdjectivePosition adjectivePosition) Constructs a word tied to a synset, it's position within the synset, and the lemma. -
Uses of Synset in net.didion.jwnl.data.list
Methods in net.didion.jwnl.data.list that return SynsetModifier and TypeMethodDescriptionPointerTargetNode.getSynset()
If the target is a synset, return it, otherwise it's a word so return the word's parent synset.Constructors in net.didion.jwnl.data.list with parameters of type Synset -
Uses of Synset in net.didion.jwnl.data.relationship
Fields in net.didion.jwnl.data.relationship declared as SynsetModifier and TypeFieldDescriptionprivate Synset
Relationship._sourceSynset
private Synset
Relationship._targetSynset
Methods in net.didion.jwnl.data.relationship that return SynsetModifier and TypeMethodDescriptionRelationship.getSourceSynset()
Get the Synset that is the source of this relationship.Relationship.getTargetSynset()
Get the Synset that is the target of this relationship.Methods in net.didion.jwnl.data.relationship with parameters of type SynsetModifier and TypeMethodDescriptionprivate Relationship
RelationshipFinder.findAsymmetricRelationship
(PointerTargetNodeList sourceNodes, PointerTargetNodeList targetNodes, PointerType type, Synset sourceSynset, Synset targetSynset) Find a relationship between two asymmetric lists ordered from deepest to shallowest ancestor.private RelationshipList
RelationshipFinder.findAsymmetricRelationships
(Synset sourceSynset, Synset targetSynset, PointerType type) Finds the asymmetric relationship(s) between two words.private RelationshipList
RelationshipFinder.findAsymmetricRelationships
(Synset sourceSynset, Synset targetSynset, PointerType type, int depth) Finds the asymmetric relationship(s) between two words.RelationshipFinder.findRelationships
(Synset sourceSynset, Synset targetSynset, PointerType type) Find all relationships of type type between sourceSynset and targetSynset.RelationshipFinder.findRelationships
(Synset sourceSynset, Synset targetSynset, PointerType type, int depth) Find all relationships of type type between sourceSynset and targetSynset to depth depth.private RelationshipList
RelationshipFinder.findSymmetricRelationships
(Synset sourceSynset, Synset targetSynset, PointerType type) A symmetric relationship is one whose type is symmetric (i.e.private RelationshipList
RelationshipFinder.findSymmetricRelationships
(Synset sourceSynset, Synset targetSynset, PointerType type, int depth) A symmetric relationship is one whose type is symmetric (i.e.Constructors in net.didion.jwnl.data.relationship with parameters of type SynsetModifierConstructorDescriptionAsymmetricRelationship
(PointerType type, PointerTargetNodeList nodes, int commonParentIndex, Synset sourceSynset, Synset targetSynset) protected
Relationship
(PointerType type, PointerTargetNodeList nodes, Synset sourceSynset, Synset targetSynset) SymmetricRelationship
(PointerType type, PointerTargetNodeList nodes, Synset sourceSynset, Synset targetSynset) -
Uses of Synset in net.didion.jwnl.dictionary
Methods in net.didion.jwnl.dictionary that return SynsetModifier and TypeMethodDescriptionprotected Synset
AbstractCachingDictionary.getCachedSynset
(POSKey key) private Synset
DatabaseBackedDictionary.getSynsetAt
(POS pos, long offset) abstract Synset
Dictionary.getSynsetAt
(POS pos, long offset) Return theSynset
at offsetoffset
from the database.FileBackedDictionary.getSynsetAt
(POS pos, long offset) MapBackedDictionary.getSynsetAt
(POS pos, long offset) Methods in net.didion.jwnl.dictionary with parameters of type SynsetModifier and TypeMethodDescriptionprotected void
AbstractCachingDictionary.cacheSynset
(POSKey key, Synset synset) -
Uses of Synset in net.didion.jwnl.princeton.data
Methods in net.didion.jwnl.princeton.data that return SynsetModifier and TypeMethodDescriptionAbstractPrincetonDatabaseDictionaryElementFactory.createSynset
(POS pos, long offset, ResultSet synset, ResultSet words, ResultSet pointers, ResultSet verbFrames) AbstractPrincetonFileDictionaryElementFactory.createSynset
(POS pos, String line) PrincetonWN30DatabaseDictionaryElementFactory.createSynset
(POS pos, long offset, ResultSet synset, ResultSet words, ResultSet pointers, ResultSet verbFrames) Create a synset.Methods in net.didion.jwnl.princeton.data with parameters of type SynsetModifier and TypeMethodDescriptionprotected Word
AbstractPrincetonDatabaseDictionaryElementFactory.createWord
(Synset synset, int index, String lemma) protected Word
AbstractPrincetonFileDictionaryElementFactory.createWord
(Synset synset, int index, String lemma) Creates a word, also access the sense.idx file.protected Word
PrincetonWN16DatabaseDictionaryElementFactory.createWord
(Synset synset, int index, String lemma) protected Word
PrincetonWN16FileDictionaryElementFactory.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.Constructors in net.didion.jwnl.princeton.data with parameters of type Synset