Package | Description |
---|---|
net.didion.jwnl | |
net.didion.jwnl.data |
Classes for extracting and containing data from the dictionary.
|
net.didion.jwnl.data.relationship |
Tools for finding pointer relationships between words.
|
net.didion.jwnl.dictionary |
Classes for acessing dictionary information.
|
net.didion.jwnl.dictionary.database |
Classes for accessing databases that contain dictionary information.
|
net.didion.jwnl.dictionary.file_manager |
Classes used by
FileBackedDictionary to interface with the filesystem. |
net.didion.jwnl.dictionary.morph | |
net.didion.jwnl.princeton.data |
Implementations of
DictionaryElementFactory for Princeton's release of WordNet. |
net.didion.jwnl.util.factory |
Classes involved in reflective creation of JWNL components.
|
net.didion.jwnl.utilities |
Modifier and Type | Method and Description |
---|---|
static void |
JWNL.initialize(InputStream propertiesStream)
Parses a properties file and sets the ready state at various points.
|
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 |
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.
|
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 . |
PointerTarget |
Pointer.getTarget()
Get the actual target of this pointer.
|
PointerTarget[] |
SynsetProxy.getTargets() |
PointerTarget[] |
PointerTarget.getTargets()
Get all the pointer targets of this synset
|
PointerTarget[] |
SynsetProxy.getTargets(PointerType type) |
PointerTarget[] |
PointerTarget.getTargets(PointerType type)
Get all the targets of the pointers of type
type . |
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.
|
PointerTargetNodeList |
PointerUtils.getVerbGroup(Synset synset)
Get the group that this verb belongs to.
|
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,
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.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 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 . |
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.
|
int |
RelationshipFinder.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.
|
Modifier and Type | Method and Description |
---|---|
Exc |
DatabaseBackedDictionary.getException(POS pos,
String derivation) |
abstract Exc |
Dictionary.getException(POS pos,
String derivation)
Lookup
derivation in the exceptions file of part-of-speech
pos and return an Exc object containing the results. |
Exc |
FileBackedDictionary.getException(POS pos,
String derivation) |
Iterator |
DatabaseBackedDictionary.getExceptionIterator(POS pos) |
abstract Iterator |
Dictionary.getExceptionIterator(POS pos)
Return an Iterator over all the Exceptions in the database.
|
IndexWord |
DatabaseBackedDictionary.getIndexWord(POS pos,
String lemma) |
abstract IndexWord |
Dictionary.getIndexWord(POS pos,
String lemma)
Look up a word in the database.
|
IndexWord |
FileBackedDictionary.getIndexWord(POS pos,
String lemma) |
Iterator |
DatabaseBackedDictionary.getIndexWordIterator(POS pos) |
abstract Iterator |
Dictionary.getIndexWordIterator(POS pos)
Return an Iterator over all the IndexWords of part-of-speech
pos in the database.
|
Iterator |
FileBackedDictionary.getIndexWordIterator(POS pos) |
Iterator |
DatabaseBackedDictionary.getIndexWordIterator(POS pos,
String substring) |
abstract Iterator |
Dictionary.getIndexWordIterator(POS pos,
String substring)
Return an Iterator over all the IndexWords of part-of-speech pos
whose lemmas contain substring as a substring.
|
Iterator |
FileBackedDictionary.getIndexWordIterator(POS pos,
String substring) |
IndexWord |
DatabaseBackedDictionary.getRandomIndexWord(POS pos) |
abstract IndexWord |
Dictionary.getRandomIndexWord(POS pos) |
IndexWord |
MapBackedDictionary.getRandomIndexWord(POS pos) |
IndexWord |
FileBackedDictionary.getRandomIndexWord(POS pos) |
Synset |
DatabaseBackedDictionary.getSynsetAt(POS pos,
long offset) |
abstract Synset |
Dictionary.getSynsetAt(POS pos,
long offset)
Return the
Synset at offset offset from the database. |
Synset |
FileBackedDictionary.getSynsetAt(POS pos,
long offset) |
Iterator |
DatabaseBackedDictionary.getSynsetIterator(POS pos) |
abstract Iterator |
Dictionary.getSynsetIterator(POS pos)
Return an Iterator over all the Synsets of part-of-speech pos
in the database.
|
void |
DatabaseBackedDictionary.install(Map params) |
void |
MapBackedDictionary.install(Map params)
Install a
MapBackedDictionary from a map of parameters. |
void |
FileBackedDictionary.install(Map params)
Install a FileBackedDictionary from a map of parameters.
|
static void |
MapBackedDictionary.install(String searchDir,
Class dictionaryFileType) |
static void |
MapBackedDictionary.install(String searchDir,
Class dictionaryFileType,
MorphologicalProcessor morph) |
List |
MorphologicalProcessor.lookupAllBaseForms(POS pos,
String derivation)
Return all the base forms of derivation
|
IndexWordSet |
Dictionary.lookupAllIndexWords(String lemma)
Return a set of
IndexWord s, with each element in the set
corresponding to a part-of-speech of word. |
IndexWord |
MorphologicalProcessor.lookupBaseForm(POS pos,
String derivation)
Try to turn derivation into a word that is found in the index file for pos.
|
IndexWord |
Dictionary.lookupIndexWord(POS pos,
String lemma)
Main word lookup procedure.
|
Modifier and Type | Method and Description |
---|---|
Object |
SenseAndUsageDatabaseManager.create(Map params)
Creates a new database manager from the parameters.
|
Object |
DatabaseManagerImpl.create(Map params) |
protected Query |
DatabaseManagerImpl.createPOSIdQuery(POS pos,
int id,
String sql) |
protected Query |
DatabaseManagerImpl.createPOSOffsetQuery(POS pos,
long offset,
String sql) |
protected Query |
DatabaseManagerImpl.createPOSQuery(POS pos,
String sql) |
protected Query |
DatabaseManagerImpl.createPOSStringQuery(POS pos,
String str,
String sql) |
Connection |
ConnectionManager.getConnection() |
Query |
DatabaseManager.getExceptionQuery(POS pos,
String derivation) |
Query |
DatabaseManagerImpl.getExceptionQuery(POS pos,
String derivation) |
Query |
DatabaseManager.getExceptionsQuery(POS pos) |
Query |
DatabaseManagerImpl.getExceptionsQuery(POS pos) |
Query |
DatabaseManager.getIndexWordLemmasQuery(POS pos) |
Query |
DatabaseManagerImpl.getIndexWordLemmasQuery(POS pos) |
Query |
DatabaseManager.getIndexWordLemmasQuery(POS pos,
String substring) |
Query |
DatabaseManagerImpl.getIndexWordLemmasQuery(POS pos,
String substring) |
Query |
DatabaseManager.getIndexWordSynsetsQuery(POS pos,
String lemma) |
Query |
DatabaseManagerImpl.getIndexWordSynsetsQuery(POS pos,
String lemma) |
Query |
DatabaseManager.getPointerQuery(POS pos,
long offset) |
Query |
DatabaseManagerImpl.getPointerQuery(POS pos,
long offset) |
Query |
ConnectionManager.getQuery(String sql) |
Query |
DatabaseManager.getRandomIndexWordQuery(POS pos) |
Query |
DatabaseManagerImpl.getRandomIndexWordQuery(POS pos) |
Query |
DatabaseManager.getSynsetQuery(POS pos,
long offset) |
Query |
DatabaseManagerImpl.getSynsetQuery(POS pos,
long offset) |
Query |
DatabaseManager.getSynsetsQuery(POS pos) |
Query |
DatabaseManagerImpl.getSynsetsQuery(POS pos) |
Query |
SenseAndUsageDatabaseManager.getSynsetWordQuery(POS pos,
long offset) |
Query |
DatabaseManager.getSynsetWordQuery(POS pos,
long offset) |
Query |
DatabaseManagerImpl.getSynsetWordQuery(POS pos,
long offset) |
Query |
DatabaseManager.getVerbFrameQuery(POS pos,
long offset) |
Query |
DatabaseManagerImpl.getVerbFrameQuery(POS pos,
long offset) |
Modifier and Type | Method and Description |
---|---|
Object |
FileManagerImpl.create(Map params) |
Modifier and Type | Method and Description |
---|---|
Object |
AbstractDelegatingOperation.create(Map params) |
Object |
DefaultMorphologicalProcessor.create(Map params) |
Object |
RemovePrepPhrasesOperation.create(Map params) |
Object |
LookupIndexWordOperation.create(Map params) |
Object |
LookupExceptionsOperation.create(Map params) |
protected boolean |
AbstractDelegatingOperation.delegate(POS pos,
String lemma,
BaseFormSet forms,
String key) |
boolean |
TokenizerOperation.execute(POS pos,
String lemma,
BaseFormSet forms) |
boolean |
DetachSuffixesOperation.execute(POS pos,
String derivation,
BaseFormSet forms) |
boolean |
LookupIndexWordOperation.execute(POS pos,
String lemma,
BaseFormSet baseForms) |
boolean |
Operation.execute(POS pos,
String lemma,
BaseFormSet baseForms)
Execute the operation.
|
boolean |
LookupExceptionsOperation.execute(POS pos,
String derivation,
BaseFormSet form) |
protected AbstractDelegatingOperation |
TokenizerOperation.getInstance(Map params) |
protected abstract AbstractDelegatingOperation |
AbstractDelegatingOperation.getInstance(Map params) |
protected AbstractDelegatingOperation |
DetachSuffixesOperation.getInstance(Map params) |
List |
DefaultMorphologicalProcessor.lookupAllBaseForms(POS pos,
String derivation) |
IndexWord |
DefaultMorphologicalProcessor.lookupBaseForm(POS pos,
String derivation)
Lookup the base form of a word.
|
Modifier and Type | Method and Description |
---|---|
Object |
PrincetonWN17FileDictionaryElementFactory.create(Map params) |
Object |
PrincetonWN17DatabaseDictionaryElementFactory.create(Map params) |
Object |
PrincetonWN16DatabaseDictionaryElementFactory.create(Map params) |
Object |
PrincetonWN30DatabaseDictionaryElementFactory.create(Map params)
Creates a blank factory, takes no parameters.
|
Object |
PrincetonWN16FileDictionaryElementFactory.create(Map params) |
Modifier and Type | Method and Description |
---|---|
Object |
ParamList.create() |
Object |
Param.create() |
Object |
AbstractValueParam.create()
If the value of this parameter is a class name, and that class is creatable, this method will create
an instance of it using this Param's parameters.
|
Object |
Createable.create(Map params) |
void |
Element.install()
If the class is installable, this method will install it using the parameters
|
void |
Installable.install(Map params) |
Modifier and Type | Method and Description |
---|---|
void |
DictionaryToMap.convert()
Converts the current Dictionary to a MapBackedDictionary.
|
void |
Examples.go() |
Constructor and Description |
---|
DictionaryToMap(String destDirectory,
String propFile)
Initalize with the given map destination directory, using the properties file(usually file_properties.xml)
|
Examples() |
Copyright © 2024. All rights reserved.