Uses of Class
net.didion.jwnl.JWNLException
Packages that use JWNLException
Package
Description
Classes for extracting and containing data from the dictionary.
Tools for finding pointer relationships between words.
Classes for acessing dictionary information.
Classes for accessing databases that contain dictionary information.
Classes used by
FileBackedDictionary
to interface with the filesystem.Implementations of
DictionaryElementFactory
for Princeton's release of WordNet.Classes involved in reflective creation of JWNL components.
-
Uses of JWNLException in net.didion.jwnl
Methods in net.didion.jwnl that throw JWNLExceptionModifier and TypeMethodDescriptionprivate static Element
JWNL.createElementFromNode
(Node node) private static Param[]
static void
JWNL.initialize
(InputStream propertiesStream) Parses a properties file and sets the ready state at various points. -
Uses of JWNLException in net.didion.jwnl.data
Methods in net.didion.jwnl.data that throw JWNLExceptionModifier and TypeMethodDescriptionprivate PointerTarget[]
PointerTarget.collectTargets
(Pointer[] pointers) Get an array of all the targets ofpointers
.PointerUtils.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.IndexWord.getSense
(int index) Get a particular sense of this word.Synset[]
IndexWord.getSenses()
Get an array of all the senses of this word.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
.Pointer.getTarget()
Get the actual target of this pointer.PointerTarget.getTargets()
Get all the pointer targets of this synsetPointerTarget.getTargets
(PointerType type) Get all the targets of the pointers of typetype
.SynsetProxy.getTargets()
SynsetProxy.getTargets
(PointerType type) Pointer.getTargetSynset()
Get the synset that is a) the target of this pointer, or b) the * synset that contains the target of this pointer.PointerUtils.getVerbGroup
(Synset synset) Get the group that this verb belongs to.private void
IndexWord.loadSynset
(int i) PointerUtils.makeInheritedTree
(PointerTargetTree tree, PointerType[] searchTypes, PointerType labelType, int pointerDepth, int ancestorDepth, boolean allowRedundancies) Turn an existing tree into an inheritance tree.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.makeInheritedTreeList
(PointerTargetTreeNodeList list, PointerType[] searchTypes, PointerType labelType, int pointerDepth, int ancestorDepth, boolean allowRedundancies) Turn an existing tree list into an inheritance tree list.PointerUtils.makePointerTargetTreeList
(PointerTargetNodeList list, PointerType[] searchTypes, PointerType labelType, int depth, boolean allowRedundancies) Make a nested list of pointer targets to depth depth, starting at eachsynset
in list.PointerUtils.makePointerTargetTreeList
(PointerTargetNodeList list, PointerType searchType, PointerType labelType, int depth, boolean allowRedundancies) Make a nested list of pointer targets to depth depth, starting at eachsynset
in list.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
. -
Uses of JWNLException in net.didion.jwnl.data.relationship
Methods in net.didion.jwnl.data.relationship that throw JWNLExceptionModifier and TypeMethodDescriptionprivate 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.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. -
Uses of JWNLException in net.didion.jwnl.dictionary
Methods in net.didion.jwnl.dictionary that throw JWNLExceptionModifier and TypeMethodDescriptionDatabaseBackedDictionary.getException
(POS pos, String derivation) abstract Exc
Dictionary.getException
(POS pos, String derivation) Lookupderivation
in the exceptions file of part-of-speechpos
and return an Exc object containing the results.FileBackedDictionary.getException
(POS pos, String derivation) DatabaseBackedDictionary.getExceptionIterator
(POS pos) abstract Iterator
Dictionary.getExceptionIterator
(POS pos) Return an Iterator over all the Exceptions in the database.DatabaseBackedDictionary.getIndexWord
(POS pos, String lemma) abstract IndexWord
Dictionary.getIndexWord
(POS pos, String lemma) Look up a word in the database.FileBackedDictionary.getIndexWord
(POS pos, String lemma) DatabaseBackedDictionary.getIndexWordIterator
(POS pos) DatabaseBackedDictionary.getIndexWordIterator
(POS pos, String substring) abstract Iterator
Dictionary.getIndexWordIterator
(POS pos) Return an Iterator over all the IndexWords of part-of-speech pos in the database.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.FileBackedDictionary.getIndexWordIterator
(POS pos) FileBackedDictionary.getIndexWordIterator
(POS pos, String substring) protected long
FileBackedDictionary.FileLookaheadIterator.getNextOffset
(long currentOffset) protected long
FileBackedDictionary.SubstringIndexFileLookaheadIterator.getNextOffset
(long currentOffset) DatabaseBackedDictionary.getRandomIndexWord
(POS pos) abstract IndexWord
Dictionary.getRandomIndexWord
(POS pos) FileBackedDictionary.getRandomIndexWord
(POS pos) MapBackedDictionary.getRandomIndexWord
(POS pos) 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) 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
void
Install a FileBackedDictionary from a map of parameters.static void
static void
MapBackedDictionary.install
(String searchDir, Class dictionaryFileType, MorphologicalProcessor morph) void
Install aMapBackedDictionary
from a map of parameters.private Map
MapBackedDictionary.loadDictFile
(DictionaryFile file) MorphologicalProcessor.lookupAllBaseForms
(POS pos, String derivation) Return all the base forms of derivationDictionary.lookupAllIndexWords
(String lemma) Return a set ofIndexWord
s, with each element in the set corresponding to a part-of-speech of word.MorphologicalProcessor.lookupBaseForm
(POS pos, String derivation) Try to turn derivation into a word that is found in the index file for pos.Dictionary.lookupIndexWord
(POS pos, String lemma) Main word lookup procedure.protected final void
FileBackedDictionary.FileLookaheadIterator.nextOffset()
Constructors in net.didion.jwnl.dictionary that throw JWNLExceptionModifierConstructorDescriptionprivate
MapBackedDictionary
(DictionaryCatalogSet files, MorphologicalProcessor morph) Create aMapBackedDictionary
with the specified set of files.SubstringIndexFileLookaheadIterator
(POS pos, String substring) -
Uses of JWNLException in net.didion.jwnl.dictionary.database
Methods in net.didion.jwnl.dictionary.database that throw JWNLExceptionModifier and TypeMethodDescriptionCreates a new database manager from the parameters.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) ConnectionManager.getConnection()
DatabaseManager.getExceptionQuery
(POS pos, String derivation) DatabaseManagerImpl.getExceptionQuery
(POS pos, String derivation) DatabaseManager.getExceptionsQuery
(POS pos) DatabaseManagerImpl.getExceptionsQuery
(POS pos) DatabaseManager.getIndexWordLemmasQuery
(POS pos) DatabaseManager.getIndexWordLemmasQuery
(POS pos, String substring) DatabaseManagerImpl.getIndexWordLemmasQuery
(POS pos) DatabaseManagerImpl.getIndexWordLemmasQuery
(POS pos, String substring) DatabaseManager.getIndexWordSynsetsQuery
(POS pos, String lemma) DatabaseManagerImpl.getIndexWordSynsetsQuery
(POS pos, String lemma) DatabaseManager.getPointerQuery
(POS pos, long offset) DatabaseManagerImpl.getPointerQuery
(POS pos, long offset) DatabaseManager.getRandomIndexWordQuery
(POS pos) DatabaseManagerImpl.getRandomIndexWordQuery
(POS pos) DatabaseManager.getSynsetQuery
(POS pos, long offset) DatabaseManagerImpl.getSynsetQuery
(POS pos, long offset) DatabaseManager.getSynsetsQuery
(POS pos) DatabaseManagerImpl.getSynsetsQuery
(POS pos) DatabaseManager.getSynsetWordQuery
(POS pos, long offset) DatabaseManagerImpl.getSynsetWordQuery
(POS pos, long offset) SenseAndUsageDatabaseManager.getSynsetWordQuery
(POS pos, long offset) DatabaseManager.getVerbFrameQuery
(POS pos, long offset) DatabaseManagerImpl.getVerbFrameQuery
(POS pos, long offset) private void
ConnectionManager.registerDriver()
-
Uses of JWNLException in net.didion.jwnl.dictionary.file_manager
Methods in net.didion.jwnl.dictionary.file_manager that throw JWNLException -
Uses of JWNLException in net.didion.jwnl.dictionary.morph
Methods in net.didion.jwnl.dictionary.morph that throw JWNLExceptionModifier and TypeMethodDescriptionprotected boolean
AbstractDelegatingOperation.delegate
(POS pos, String lemma, BaseFormSet forms, String key) boolean
DetachSuffixesOperation.execute
(POS pos, String derivation, BaseFormSet forms) boolean
LookupExceptionsOperation.execute
(POS pos, String derivation, BaseFormSet form) boolean
LookupIndexWordOperation.execute
(POS pos, String lemma, BaseFormSet baseForms) boolean
Operation.execute
(POS pos, String lemma, BaseFormSet baseForms) Execute the operation.boolean
TokenizerOperation.execute
(POS pos, String lemma, BaseFormSet forms) boolean
DefaultMorphologicalProcessor.LookupInfo.executeNextOperation()
protected abstract AbstractDelegatingOperation
AbstractDelegatingOperation.getInstance
(Map params) protected AbstractDelegatingOperation
DetachSuffixesOperation.getInstance
(Map params) protected AbstractDelegatingOperation
TokenizerOperation.getInstance
(Map params) private String[][]
DetachSuffixesOperation.getSuffixArray
(String suffixes) DefaultMorphologicalProcessor.lookupAllBaseForms
(POS pos, String derivation) DefaultMorphologicalProcessor.lookupBaseForm
(POS pos, String derivation) Lookup the base form of a word.private IndexWord
DefaultMorphologicalProcessor.lookupNextBaseForm
(POS pos, String derivation, DefaultMorphologicalProcessor.LookupInfo info) Lookup the next base form of a pos/word pair.private boolean
TokenizerOperation.tryAllCombinations
(POS pos, String[] tokens, String delimiter, BaseFormSet forms) private boolean
TokenizerOperation.tryAllCombinations
(POS pos, BaseFormSet[] tokenForms, int startIndex, int endIndex, BaseFormSet forms) -
Uses of JWNLException in net.didion.jwnl.princeton.data
Methods in net.didion.jwnl.princeton.data that throw JWNLExceptionModifier and TypeMethodDescriptionCreates a blank factory, takes no parameters. -
Uses of JWNLException in net.didion.jwnl.util.factory
Methods in net.didion.jwnl.util.factory that throw JWNLExceptionModifier and TypeMethodDescriptionAbstractValueParam.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.Param.create()
ParamList.create()
void
Element.install()
If the class is installable, this method will install it using the parametersvoid
-
Uses of JWNLException in net.didion.jwnl.utilities
Methods in net.didion.jwnl.utilities that throw JWNLExceptionModifier and TypeMethodDescriptionvoid
DictionaryToMap.convert()
Converts the current Dictionary to a MapBackedDictionary.private void
Examples.demonstrateAsymmetricRelationshipOperation
(IndexWord start, IndexWord end) private void
Examples.demonstrateListOperation
(IndexWord word) private void
Examples.demonstrateMorphologicalAnalysis
(String phrase) private void
Examples.demonstrateSymmetricRelationshipOperation
(IndexWord start, IndexWord end) private void
Examples.demonstrateTreeOperation
(IndexWord word) private Iterator
DictionaryToMap.getIterator
(POS pos, DictionaryFileType fileType) void
Examples.go()
private void
DictionaryToMap.serialize
(POS pos, DictionaryFileType fileType) Constructors in net.didion.jwnl.utilities that throw JWNLExceptionModifierConstructorDescriptionDictionaryToMap
(String destDirectory, String propFile) Initalize with the given map destination directory, using the properties file(usually file_properties.xml)Examples()