Java Access to WordNet
A B C D E F G H I J K L M N O P R S T U V W

A

addAll(HashSet, Vector) - Static method in class danbikel.wordnet.Utility
Adds every element in the hash set hs to the vector v.
addAll(Vector, Object[]) - Static method in class danbikel.wordnet.Utility
Adds every object in arr to the vector v.
addAll(Vector, Vector) - Static method in class danbikel.wordnet.Utility
Adds every element of vector b to vector a (functionally identical to Vector.addAll(Vector) in JDK1.2 jdk 1.1 backward compat fix
adjPos - Static variable in interface danbikel.wordnet.WordNetRemote
The constant representing an adjective in WordNet.
adjPos - Static variable in class danbikel.wordnet.WordNet
The constant representing an adjective in WordNet.
adjPosIdx - Static variable in interface danbikel.wordnet.WordNetRemote
The integer constant representing an adjective in WordNet.
adjPosIdx - Static variable in class danbikel.wordnet.WordNet
The integer constant representing an adjective in WordNet.
adjSatellite - Variable in class danbikel.wordnet.WNDataEntry
Indicator of whether this adjective synset is an adjective satellite (used only for adjectives).
adjSuffixes - Static variable in class danbikel.wordnet.Morphy
Array of two-element String arrays, where the first element of each two-element array is a potential adjective suffix and the second element is a replacement suffix to canonicalize the word form.
advPos - Static variable in interface danbikel.wordnet.WordNetRemote
The constant representing an adverb in WordNet.
advPos - Static variable in class danbikel.wordnet.WordNet
The constant representing an adverb in WordNet.
advPosIdx - Static variable in interface danbikel.wordnet.WordNetRemote
The integer constant representing an adverb in WordNet.
advPosIdx - Static variable in class danbikel.wordnet.WordNet
The integer constant representing an adverb in WordNet.
allCached - Variable in class danbikel.wordnet.Morphy
 
allDataEntriesCached - Variable in class danbikel.wordnet.WordNet
Array indexed by part of speech integer indicating whether all data entries for that part of speech have been cached.
allIndexEntriesCached - Variable in class danbikel.wordnet.WordNet
Array indexed by part of speech integer indicating whether all index entries for that part of speech have been cached.
allParentsCache - Variable in class danbikel.wordnet.WordNet
Cache used by WordNet.getAllParentsBFS(java.lang.String, int).
alsoSee - Static variable in class danbikel.wordnet.WNPointer
A pointer type of the same name.
antonym - Static variable in class danbikel.wordnet.WNPointer
A pointer type of the same name.
attribute - Static variable in class danbikel.wordnet.WNPointer
A pointer type of the same name.

B

backEdges - Variable in class danbikel.wordnet.WordNet
Sets indexed by part of speech integer that contain erroneous back edges in WordNet for those parts of speech.

C

cache - Variable in class danbikel.wordnet.Morphy
 
cacheAll() - Method in class danbikel.wordnet.Morphy
 
cacheAll() - Method in class danbikel.wordnet.WordNet
Caches the index and data entries for all four parts of speech.
cacheAll(int) - Method in class danbikel.wordnet.Morphy
 
cacheAll(String) - Method in class danbikel.wordnet.Morphy
 
cacheAll(String) - Method in class danbikel.wordnet.WordNet
Caches all index and data entries for the specified part of speech.
cacheLemmasAndSynsets() - Method in class danbikel.wordnet.WordNet
Caches all lemmas and synsets.
canonical - Variable in class danbikel.wordnet.WordNet
A reflexive map used for canonicalizing various types of objects.
cause - Static variable in class danbikel.wordnet.WNPointer
A pointer type of the same name.
ChildPointerFilter - class danbikel.wordnet.ChildPointerFilter.
Allows filtering out all WNPointer objects that are not child (hyponym) pointers.
ChildPointerFilter() - Constructor for class danbikel.wordnet.ChildPointerFilter
 
childrenCache - Variable in class danbikel.wordnet.WordNet
Cache of synset children.
ChildSemanticPointerFilter - class danbikel.wordnet.ChildSemanticPointerFilter.
Allows filtering out all WNPointer objects that are not child (hyponym) semantic pointers.
ChildSemanticPointerFilter() - Constructor for class danbikel.wordnet.ChildSemanticPointerFilter
 
className - Variable in class danbikel.wordnet.WordNet
A cache of this.getClass().getName().
clearAllParentsCache() - Method in class danbikel.wordnet.WordNet
Clears the cache used by WordNet.getAllParentsBFS(java.lang.String, int) for all parts of speech.
clearAllParentsCache(int) - Method in class danbikel.wordnet.WordNet
Clears the cache used by WordNet.getAllParentsBFS(java.lang.String, int) for the specified part of speech.
clearAllParentsCache(String) - Method in class danbikel.wordnet.WordNet
Clears the cache used by WordNet.getAllParentsBFS(java.lang.String, int) for the specified part of speech.
clearCache() - Method in class danbikel.wordnet.WordNet
Clears the index and data entry caches.
clearHalfIfNeeded(Hashtable, int) - Static method in class danbikel.wordnet.WordNet
Utility method that clears every other element from the hashtable h, thereby resulting in a random replacement strategy (assuming a random hash-bucket dispersion).
contains(String, String) - Method in class danbikel.wordnet.WordNetServer
Returns whether a given word and part of speech exist in the database.
contains(String, String) - Method in interface danbikel.wordnet.WordNetRemote
Returns whether a given word and part of speech exist in the database.
contains(String, String) - Method in class danbikel.wordnet.WordNetLocal
Returns whether a given word and part of speech exist in the database.
contains(String, String) - Method in class danbikel.wordnet.WordNet
Returns whether a given word and part of speech exists in the database.
containsNonAlnum(String) - Static method in class danbikel.wordnet.Morphy
Predicate for determining if any characters in s are non-alphanumeric.
counter - Static variable in class danbikel.wordnet.Debug
 
countWords(String, char) - Static method in class danbikel.wordnet.Morphy
Same as countWords, but with word-delimiters specifically set to separator, ' ' and '_'.
countWords(String, String) - Static method in class danbikel.wordnet.Morphy
Counts number of tokens in s separated by the delimiter characters specified by delim.

D

danbikel.wordnet - package danbikel.wordnet
Provides a Java interface to the WordNet database.
dataEntryCache - Variable in class danbikel.wordnet.WordNet
Cache of WNDataEntry objects.
Debug - class danbikel.wordnet.Debug.
Debug is a static class that stores the current debugging level (default is zero, for no debugging output), debugging options, and other utility functions for debugging.
Debug() - Constructor for class danbikel.wordnet.Debug
 
derivedFromAdjective - Static variable in class danbikel.wordnet.WNPointer
A pointer type of the same name.
detectCycle(Set, String, int) - Method in class danbikel.wordnet.WordNet
Detects cycles in the hypernym subgraph of synset.
dontGrabGlosses() - Method in class danbikel.wordnet.WordNet
 

E

entailment - Static variable in class danbikel.wordnet.WNPointer
A pointer type of the same name.
equals(Object) - Method in class danbikel.wordnet.WNWord
Returns true if the object o is of type WNWord and is equal to ths object.
equals(Object) - Method in class danbikel.wordnet.WNDataEntry
Returns whether the WNDataEntry object o is equal to this object.
equals(Object) - Method in class danbikel.wordnet.WNIndexEntry
Returns whether the WNIndexEntry object o is equal to this object.
equals(Object) - Method in class danbikel.wordnet.WNPointer
Returns true if the object o is of type WNPointer and if it is equal to this object.
exceptionLookup(String, String) - Method in class danbikel.wordnet.Morphy
Looks up exceptions for str in the WordNet exception file for pos
excFiles - Variable in class danbikel.wordnet.Morphy
Array of WNFile objects, representing exception lists for each of the three morphable parts of speech: nouns, verbs and adjectives.
exists(String, String) - Method in class danbikel.wordnet.WordNetServer
Returns whether a given word and part of speech exist in the database.
exists(String, String) - Method in interface danbikel.wordnet.WordNetRemote
Returns whether a given word and part of speech exist in the database.
exists(String, String) - Method in class danbikel.wordnet.WordNetLocal
Returns whether a given word and part of speech exist in the database.
exists(String, String) - Method in class danbikel.wordnet.WordNet
Returns whether a given word and part of speech exists in the database.
extension - Static variable in class danbikel.wordnet.Morphy
Filename extension for WordNet exception list files.

F

f(Object) - Method in class danbikel.wordnet.SemanticPointerFilter
Returns true if o is a WNPointer object that represents a semantic relation, as specified by WNPointer.isSemanticRelation().
f(Object) - Method in class danbikel.wordnet.LexicalPointerFilter
Returns true if o is a WNPointer object that represents a lexical relation, as specified by WNPointer.isLexicalRelation().
f(Object) - Method in class danbikel.wordnet.ChildPointerFilter
Returns true if o is a WNPointer object that represents a hyponym pointer.
f(Object) - Method in class danbikel.wordnet.ParentPointerFilter
Returns true if o is a WNPointer object that represents a hypernym pointer.
f(Object) - Method in class danbikel.wordnet.ChildSemanticPointerFilter
Returns true if o is a WNPointer object that represents a semantic hyponym pointer.
f(Object) - Method in class danbikel.wordnet.ParentSemanticPointerFilter
Returns true if o is a WNPointer object that represents a semantic hypernym pointer.
f(Object) - Method in interface danbikel.wordnet.Filter
Predicate for filtering: by convention, if this method returns true, then o should pass through the filter.
f(Object) - Method in class danbikel.wordnet.PointerTypeFilter
Returns true if o is a WNPointer object that represents a pointer of the type with which this filter was constructed.
file - Variable in class danbikel.wordnet.WNFile
 
fileNum - Variable in class danbikel.wordnet.WNDataEntry
The lexicographer's file number for this data entry.
fileSep - Static variable in class danbikel.wordnet.Morphy
Cache of the file separator obtained by calling System.getProperty(java.lang.String) with "file.separator".
fileSep - Static variable in class danbikel.wordnet.WordNet
Cache of System.getProperty("file.separator").
fillStringArray(String[], String) - Static method in class danbikel.wordnet.Debug
 
Filter - interface danbikel.wordnet.Filter.
Delegate to allow the passing of a predicate for filtering objects.
frame - Variable in class danbikel.wordnet.WNWord
The verb frames of this lemma (used only for verbs).
frame - Variable in class danbikel.wordnet.WNDataEntry
The synset-level verb frames for this synset (used only for verbs).

G

getAllParentsBFS(String, int) - Method in class danbikel.wordnet.WordNetServer
Returns a breadth-first search of the hypernym subgraph of synset.
getAllParentsBFS(String, int) - Method in interface danbikel.wordnet.WordNetRemote
Returns a breadth-first search of the hypernym subgraph of synset.
getAllParentsBFS(String, int) - Method in class danbikel.wordnet.WordNetLocal
Returns a breadth-first search of the hypernym subgraph of synset.
getAllParentsBFS(String, int) - Method in class danbikel.wordnet.WordNet
Returns a breadth-first search of the hypernym subgraph of synset.
getAllSynsets(String, String) - Method in class danbikel.wordnet.WordNetServer
Gets all synsets for word and pos.
getAllSynsets(String, String) - Method in interface danbikel.wordnet.WordNetRemote
Gets all synsets for word and pos.
getAllSynsets(String, String) - Method in class danbikel.wordnet.WordNetLocal
Gets all synsets for word and pos.
getAllSynsets(String, String) - Method in class danbikel.wordnet.WordNet
Gets all synsets for word and pos.
getCachedDataEntries(int) - Method in class danbikel.wordnet.WordNetServer
Returns a RemoteEnumeraton to allow iteration over all cached data entries.
getCachedDataEntries(int) - Method in interface danbikel.wordnet.WordNetRemote
Returns a RemoteEnumeraton to allow iteration over all cached data entries.
getCachedDataEntries(int) - Method in class danbikel.wordnet.WordNetLocal
Returns a RemoteEnumeraton to allow iteration over all cached data entries.
getCachedDataEntries(int) - Method in class danbikel.wordnet.WordNet
Returns an Enumeraton to allow iteration over all cached data entries.
getCachedDataEntries(String) - Method in class danbikel.wordnet.WordNetServer
Returns a RemoteEnumeraton to allow iteration over all cached data entries.
getCachedDataEntries(String) - Method in interface danbikel.wordnet.WordNetRemote
Returns a RemoteEnumeraton to allow iteration over all cached data entries.
getCachedDataEntries(String) - Method in class danbikel.wordnet.WordNetLocal
Returns a RemoteEnumeraton to allow iteration over all cached data entries.
getCachedDataEntries(String) - Method in class danbikel.wordnet.WordNet
Returns an Enumeraton to allow iteration over all cached data entries.
getCachedIndexEntries(int) - Method in class danbikel.wordnet.WordNetServer
Returns an RemoteEnumeraton to allow iteration over all cached index entries.
getCachedIndexEntries(int) - Method in interface danbikel.wordnet.WordNetRemote
Returns an RemoteEnumeraton to allow iteration over all cached index entries.
getCachedIndexEntries(int) - Method in class danbikel.wordnet.WordNetLocal
Returns an RemoteEnumeraton to allow iteration over all cached index entries.
getCachedIndexEntries(int) - Method in class danbikel.wordnet.WordNet
Returns an Enumeraton to allow iteration over all cached index entries.
getCachedIndexEntries(String) - Method in class danbikel.wordnet.WordNetServer
Returns an RemoteEnumeraton to allow iteration over all cached index entries.
getCachedIndexEntries(String) - Method in interface danbikel.wordnet.WordNetRemote
Returns an RemoteEnumeraton to allow iteration over all cached index entries.
getCachedIndexEntries(String) - Method in class danbikel.wordnet.WordNetLocal
Returns an RemoteEnumeraton to allow iteration over all cached index entries.
getCachedIndexEntries(String) - Method in class danbikel.wordnet.WordNet
Returns an Enumeraton to allow iteration over all cached index entries.
getCanonical(Object, Map) - Static method in class danbikel.wordnet.Utility
Returns a canonical version of the specified object using the specified reflexive map for canonicalization.
getCanonical(String, int) - Static method in class danbikel.wordnet.WNPointer
 
getCanonical(String, String) - Static method in class danbikel.wordnet.WNPointer
 
getCanonicalPos(String) - Static method in class danbikel.wordnet.WordNet
Returns the canonical String object for the specified part of speech.
getChildPointers(String, int) - Method in class danbikel.wordnet.WordNetServer
Gets the child (hyponym) pointers for the synset specified by pos and synset, as defined by pointers that pass through ChildSemanticPointerFilter.
getChildPointers(String, int) - Method in interface danbikel.wordnet.WordNetRemote
Gets the child (hyponym) pointers for the synset specified by pos and synset, as defined by pointers that pass through ChildSemanticPointerFilter.
getChildPointers(String, int) - Method in class danbikel.wordnet.WordNetLocal
Gets the child (hyponym) pointers for the synset specified by pos and synset, as defined by pointers that pass through ChildSemanticPointerFilter.
getChildPointers(String, int) - Method in class danbikel.wordnet.WordNet
Gets the child (hyponym) pointers for the synset specified by pos and synset, as defined by pointers that pass through ChildSemanticPointerFilter.
getChildren(String, int) - Method in class danbikel.wordnet.WordNetServer
Gets all synsets that are children (hyponyms) of synset.
getChildren(String, int) - Method in interface danbikel.wordnet.WordNetRemote
Gets all synsets that are children (hyponyms) of synset.
getChildren(String, int) - Method in class danbikel.wordnet.WordNetLocal
Gets all synsets that are children (hyponyms) of synset.
getChildren(String, int) - Method in class danbikel.wordnet.WordNet
Gets all synsets that are children (hyponyms) of synset.
getDataEntry(String, int) - Method in class danbikel.wordnet.WordNetServer
Gets the WNDataEntry object for pos and synset.
getDataEntry(String, int) - Method in interface danbikel.wordnet.WordNetRemote
Gets the WNDataEntry object for pos and synset.
getDataEntry(String, int) - Method in class danbikel.wordnet.WordNetLocal
Gets the WNDataEntry object for pos and synset.
getDataEntry(String, int) - Method in class danbikel.wordnet.WordNet
Gets the WNDataEntry object for pos and synset.
getFileNum() - Method in class danbikel.wordnet.WNDataEntry
Returns the lexicographer's file number for this data entry.
getFilteredPointers(Filter) - Method in class danbikel.wordnet.WNDataEntry
Returns the pointers from or to this synset or its lemmas as filtered by filter.
getFrames() - Method in class danbikel.wordnet.WNWord
Gets the verb frames of this lemma (used only for verbs).
getFrames() - Method in class danbikel.wordnet.WNDataEntry
Returns the synset-level verb frames of this synset (used only for verbs).
getFrameText(int) - Static method in class danbikel.wordnet.WNWord
Gets the verb frame gloss for the specified verb frame.
getGloss() - Method in class danbikel.wordnet.WNDataEntry
Returns the gloss of this synset.
getGrabGlosses() - Method in class danbikel.wordnet.WordNet
 
getIndexEntry(String, String) - Method in class danbikel.wordnet.WordNetServer
Gets the WNIndexEntry for word and pos, printing errors if there is no such word-pos pair in the database.
getIndexEntry(String, String) - Method in interface danbikel.wordnet.WordNetRemote
Gets the WNIndexEntry for word and pos, printing errors if there is no such word-pos pair in the database.
getIndexEntry(String, String) - Method in class danbikel.wordnet.WordNetLocal
Gets the WNIndexEntry for word and pos, printing errors if there is no such word-pos pair in the database.
getIndexEntry(String, String) - Method in class danbikel.wordnet.WordNet
Gets the WNIndexEntry for word and pos, printing errors if there is no such word-pos pair in the database.
getIndexEntry(String, String, boolean) - Method in class danbikel.wordnet.WordNetServer
Gets the WNIndexEntry for word and pos.
getIndexEntry(String, String, boolean) - Method in interface danbikel.wordnet.WordNetRemote
Gets the WNIndexEntry for word and pos.
getIndexEntry(String, String, boolean) - Method in class danbikel.wordnet.WordNetLocal
Gets the WNIndexEntry for word and pos.
getIndexEntry(String, String, boolean) - Method in class danbikel.wordnet.WordNet
Gets the WNIndexEntry for word and pos.
getLevel() - Static method in class danbikel.wordnet.Debug
 
getMaxDataCacheSize() - Method in class danbikel.wordnet.WordNet
Returns the maximum size for data entry caching, or -1 if the cache size is unlimited.
getMaxIndexCacheSize() - Method in class danbikel.wordnet.WordNet
Returns the maximum size for index entry caching, or -1 if the cache size is unlimited.
getNumSenses() - Method in class danbikel.wordnet.WNIndexEntry
Gets the number of synsets of which this lemma is a member.
getOptions() - Static method in class danbikel.wordnet.Debug
 
getParentPointers(String, int) - Method in class danbikel.wordnet.WordNetServer
Gets the parent (hypernym) pointers for the synset specified by pos and synset, as defined by pointers that pass through ParentSemanticPointerFilter.
getParentPointers(String, int) - Method in interface danbikel.wordnet.WordNetRemote
Gets the parent (hypernym) pointers for the synset specified by pos and synset, as defined by pointers that pass through ParentSemanticPointerFilter.
getParentPointers(String, int) - Method in class danbikel.wordnet.WordNetLocal
Gets the parent (hypernym) pointers for the synset specified by pos and synset, as defined by pointers that pass through ParentSemanticPointerFilter.
getParentPointers(String, int) - Method in class danbikel.wordnet.WordNet
Gets the parent (hypernym) pointers for the synset specified by pos and synset, as defined by pointers that pass through ParentSemanticPointerFilter.
getParents(String, int) - Method in class danbikel.wordnet.WordNetServer
Gets all synsets that are parents (hypernyms) of synset.
getParents(String, int) - Method in interface danbikel.wordnet.WordNetRemote
Gets all synsets that are parents (hypernyms) of synset.
getParents(String, int) - Method in class danbikel.wordnet.WordNetLocal
Gets all synsets that are parents (hypernyms) of synset.
getParents(String, int) - Method in class danbikel.wordnet.WordNet
Gets all synsets that are parents (hypernyms) of synset.
getPointers() - Method in class danbikel.wordnet.WNDataEntry
Returns the pointers from or to this synset or its lemmas.
getPolyCnt() - Method in class danbikel.wordnet.WNIndexEntry
Gets the polysemy of the lemma of this index entry.
getPos() - Method in class danbikel.wordnet.WNDataEntry
Returns the part of speech of this data entry.
getPos() - Method in class danbikel.wordnet.WNIndexEntry
Gets the part of speech of the lemma of this index entry.
getPos() - Method in class danbikel.wordnet.WNPointer
Gets the part of speech of the source and target of this pointer.
getPos(int) - Static method in class danbikel.wordnet.WordNet
Returns the String representation of the part of speech specified by idx.
getPosIdx(char) - Static method in class danbikel.wordnet.WordNet
Returns the index of the specified WordNet part of speech.
getPosIdx(String) - Static method in class danbikel.wordnet.WordNet
Returns the index of the WordNet part of speech specified by pos.
getPosName(int) - Static method in class danbikel.wordnet.WordNet
Gets the unabbreviated name for the WordNet part of speech specified by idx.
getPosName(String) - Static method in class danbikel.wordnet.WordNet
Gets the unabbreviated name for pos.
getPtrTypes() - Method in class danbikel.wordnet.WNIndexEntry
Gets the pointers from or to this lemma or its synsets.
getSenseNum() - Method in class danbikel.wordnet.WNWord
Gets the sense number of this lemma as determined by its index entry.
getSenseNum(String, String, int) - Method in class danbikel.wordnet.WordNetServer
Gets the sense number for the passed synset of word and pos.
getSenseNum(String, String, int) - Method in interface danbikel.wordnet.WordNetRemote
Gets the sense number for the passed synset of word and pos.
getSenseNum(String, String, int) - Method in class danbikel.wordnet.WordNetLocal
Gets the sense number for the passed synset of word and pos.
getSenseNum(String, String, int) - Method in class danbikel.wordnet.WordNet
Gets the sense number for the passed synset of word and pos.
getSourceWordIdx() - Method in class danbikel.wordnet.WNPointer
Gets the index of the source word of this pointer, or 0 if this pointer has the entire source synset as its source.
getSuffix(int) - Static method in class danbikel.wordnet.Morphy
Gets the suffix array for a particular part of speech, either nounSuffixes, verbSuffixes or adjSuffixes.
getSuffix(String) - Static method in class danbikel.wordnet.Morphy
Gets the suffix array for a particular part of speech, either nounSuffixes, verbSuffixes or adjSuffixes.
getSynset() - Method in class danbikel.wordnet.WNDataEntry
Returns the synset of this data entry.
getSynset() - Method in class danbikel.wordnet.WNPointer
Gets the source synset of this pointer.
getSynset(String, String, int) - Method in class danbikel.wordnet.WordNetServer
Gets the senseNumth synset for word and pos.
getSynset(String, String, int) - Method in interface danbikel.wordnet.WordNetRemote
Gets the senseNumth synset for word and pos.
getSynset(String, String, int) - Method in class danbikel.wordnet.WordNetLocal
Gets the senseNumth synset for word and pos.
getSynset(String, String, int) - Method in class danbikel.wordnet.WordNet
Gets the senseNumth synset for word and pos.
getSynsetName(String, int) - Method in class danbikel.wordnet.WordNetServer
Gets the name of a synset.
getSynsetName(String, int) - Method in interface danbikel.wordnet.WordNetRemote
Gets the name of a synset.
getSynsetName(String, int) - Method in class danbikel.wordnet.WordNetLocal
Gets the name of a synset.
getSynsetName(String, int) - Method in class danbikel.wordnet.WordNet
Gets the name of a synset.
getSynsets() - Method in class danbikel.wordnet.WNIndexEntry
Gets the synsets of which this lemma is a member.
getSyntacticMarker() - Method in class danbikel.wordnet.WNWord
Gets the syntactic marker of this lemma (an appendage that is optionally used only for adjectives.
getTargetSynset() - Method in class danbikel.wordnet.WNPointer
Gets the target synset of this pointer.
getTargetWordIdx() - Method in class danbikel.wordnet.WNPointer
Gets the index of the target word of this pointer, or 0 if this poitner has the entire target synset as its target.
getType() - Method in class danbikel.wordnet.WNPointer
Gets the type of this pointer.
getUseAllParentsCache() - Method in class danbikel.wordnet.WordNet
Returns whether WordNet.getAllParentsBFS(java.lang.String, int) is doing caching.
getUseCache() - Method in class danbikel.wordnet.WordNet
Returns whether this WordNet object is doing caching.
getVersion() - Static method in class danbikel.wordnet.WordNet
Gets the value of the environment variable (property) WNDBVERSION.
getWNDataDir() - Method in class danbikel.wordnet.WordNet
Gets the full path of the directory of the database files.
getWNDBversion() - Method in class danbikel.wordnet.WordNet
Returns the String that represents the current version of the WordNet database used by this object.
getWNHOME() - Static method in class danbikel.wordnet.WordNet
Gets the environment variable WNHOME.
getWord() - Method in class danbikel.wordnet.WNWord
Gets the lemma of the lemma-synset pair represented by this object.
getWord() - Method in class danbikel.wordnet.WNIndexEntry
Gets the word (lemma) of this index entry.
getWordLC() - Method in class danbikel.wordnet.WNWord
Gets the lower-case version of the lemma of this object.
getWords() - Method in class danbikel.wordnet.WNDataEntry
Returns the lemmas in the synset of this data entry.
gloss - Variable in class danbikel.wordnet.WNDataEntry
The gloss for this synset.
good - Variable in class danbikel.wordnet.WNDataEntry
Indicator of whether the data entry file line used to construct this object was valid.
good - Variable in class danbikel.wordnet.WNIndexEntry
Indicator of whether the parse of the line of the index file used to contruct this object was successful.
good() - Method in class danbikel.wordnet.WNDataEntry
Returns whether the parse of the data file line with which this object was constructed was valid.
good() - Method in class danbikel.wordnet.WNIndexEntry
Returns whether the parse of the line of the index.pos file used to construct this object was successful.
grabGlosses() - Method in class danbikel.wordnet.WordNet
Indicates whether this WordNet object should grab glosses from the data files when constructor its internal WNDataEntry objects.

H

hashCode() - Method in class danbikel.wordnet.WNWord
 
hashCode() - Method in class danbikel.wordnet.WNPointer
 
hasMoreElements() - Method in interface danbikel.wordnet.RemoteEnumeration
Tests if the underlying enumeration object contains more elements.
hasMoreElements() - Method in class danbikel.wordnet.RemoteEnumerator
Tests if the underlying enumeration object contains more elements.
hasPrep(String) - Method in class danbikel.wordnet.Morphy
Returns true if any word in (assumed collocated) str other than first or last contains a preposition.
hypernym - Static variable in class danbikel.wordnet.WNPointer
A pointer type of the same name.
hyponym - Static variable in class danbikel.wordnet.WNPointer
A pointer type of the same name.

I

indexEntryCache - Variable in class danbikel.wordnet.WordNet
Cache of WNIndexEntry objects.
isAdjPos(String) - Static method in class danbikel.wordnet.WordNet
Returns true of pos is string-equal to WordNet.adjPos.
isAdjSatellite() - Method in class danbikel.wordnet.WNDataEntry
Returns whether this adjective synset is an adjective satellite (used only for adjectives).
isAdjSatellite(String) - Static method in class danbikel.wordnet.WordNet
Returns true if and only if pos is string-equal to "s", representing an adjective satellite in the WordNet database.
isAdvPos(String) - Static method in class danbikel.wordnet.WordNet
Returns true of pos is string-equal to WordNet.advPos.
isChildPointer() - Method in class danbikel.wordnet.WNPointer
Returns true if this pointer is a hyponym.
isIntransitiveFrame(int) - Static method in class danbikel.wordnet.WNWord
Returns true if the verb frame specified by fnum is intransitive, which is to say a frame for which WNWord.isTransitiveFrame(int) would return false.
isLexicalRelation() - Method in class danbikel.wordnet.WNPointer
Returns true if either the source of the target of this pointer is a lemma, making this pointer a lexical relation, in WordNet parlance.
isNounPos(String) - Static method in class danbikel.wordnet.WordNet
Returns true of pos is string-equal to WordNet.nounPos.
isParentPointer() - Method in class danbikel.wordnet.WNPointer
Returns true if this pointer is a hypernym.
isSemanticRelation() - Method in class danbikel.wordnet.WNPointer
Returns true if this pointer's source is the entire source synset and if this pointer's target is the entire target synset, making this a semantic relation, in WordNet parlance.
isTransitiveFrame(int) - Static method in class danbikel.wordnet.WNWord
Returns true if the verb frame specified by fnum is transitive.
isVerbPos(String) - Static method in class danbikel.wordnet.WordNet
Returns true of pos is string-equal to WordNet.verbPos.

J

join(String[], String) - Static method in class danbikel.wordnet.Utility
Returns the string composed of all the tokens in toks with the delimiter delim.
join(String[], String, int, int) - Static method in class danbikel.wordnet.Utility
Returns the string composed of the tokens in toks[startIdx..endIdx] with the delimiter delim.

K

knownLemmas - Variable in class danbikel.wordnet.WordNet
Sets indexed by part of speech integer of all known lemmas (index entries) for that part of speech.
knownSynsets - Variable in class danbikel.wordnet.WordNet
Sets indexed by part of speech integer of all known synsets (data entries) for that part of speech.

L

lemmasAndSynsetsCached - Variable in class danbikel.wordnet.WordNet
True if WordNet.cacheLemmasAndSynsets() has been called.
level - Static variable in class danbikel.wordnet.Debug
 
LexicalPointerFilter - class danbikel.wordnet.LexicalPointerFilter.
Allows filtering out all WNPointer objects that are not lexical relations (i.e., non-semantic pointers).
LexicalPointerFilter() - Constructor for class danbikel.wordnet.LexicalPointerFilter
 
look(String, RandomAccessFile) - Static method in class danbikel.wordnet.WordNet
Returns the line of file that begins with key, using a binary search.

M

main(String[]) - Static method in class danbikel.wordnet.WordNetServer
Constructs a new WordNetServer object and binds it to a running rmiregistry, using Naming.rebind.
main(String[]) - Static method in class danbikel.wordnet.WordNetTest
Test function that expects no arguments.
main(String[]) - Static method in class danbikel.wordnet.Morphy
Simple test driver for Morphy, reading one word/collocation per line from System.in, and spitting out possible morphs for each of the three morphable parts of speech: nouns, verbs and ajdectives.
main(String[]) - Static method in class danbikel.wordnet.Debug
 
main(String[]) - Static method in class danbikel.wordnet.WordNet
Allows users to save a WordNet object to a Java object file, with control over how much is cached.
usage: <WNHOME> [-cache <n | v | a | r | all>]* <object output filename>
makeUnique(int[]) - Static method in class danbikel.wordnet.WordNet
Utility method that returns an array containing the unique elements of arr.
makeUnique(Vector) - Static method in class danbikel.wordnet.WordNet
Utility method to make all the elements of the Vector v pairwise unique, as determined by their equals methods.
makeVector(int[]) - Static method in class danbikel.wordnet.WordNet
Makes a Vector object of Integer objects, initialized from the int array.
maxFrameNum() - Static method in class danbikel.wordnet.WNWord
Gets the maximum index of a verb frame.
maxPosIdx - Static variable in interface danbikel.wordnet.WordNetRemote
The maximum integer constant used to represent parts of speech.
maxPosIdx - Static variable in class danbikel.wordnet.WordNet
The maximum integer constant used to represent parts of speech.
memberHolonym - Static variable in class danbikel.wordnet.WNPointer
A pointer type of the same name.
memberMeronym - Static variable in class danbikel.wordnet.WNPointer
A pointer type of the same name.
minPosIdx - Static variable in interface danbikel.wordnet.WordNetRemote
The minimum integer constant used to represent parts of speech.
minPosIdx - Static variable in class danbikel.wordnet.WordNet
The minimum integer constant used to represent parts of speech.
morphPrep(String) - Method in class danbikel.wordnet.Morphy
Tries to find morphs for str, which is assumed to be a collocation containing a verb, a preposition and a noun.
morphStr(String, String) - Method in interface danbikel.wordnet.MorphyRemote
 
morphStr(String, String) - Method in class danbikel.wordnet.Morphy
Tries several techniques on origstr to find possible base forms (lemmas).
morphWord(String, String) - Method in class danbikel.wordnet.Morphy
Tries to find morph of a single word
Morphy - class danbikel.wordnet.Morphy.
Implementation of morphological analyzer Morphy that is part of WordNet.
Morphy(WordNet) - Constructor for class danbikel.wordnet.Morphy
Initialize a new Morphy object for finding lemmas for instances of words or collocations.
MorphyRemote - interface danbikel.wordnet.MorphyRemote.
 

N

name - Variable in class danbikel.wordnet.WNFile
 
nextElement() - Method in interface danbikel.wordnet.RemoteEnumeration
Returns the next element of the underlying enumeration if the underlying enumeration object has at least one more element to provide.
nextElement() - Method in class danbikel.wordnet.RemoteEnumerator
Returns the next element of the underlying enumeration if the underlying enumeration object has at least one more element to provide.
notAdjPos(String) - Static method in class danbikel.wordnet.WordNet
Returns true of pos is not string-equal to WordNet.adjPos.
notAdvPos(String) - Static method in class danbikel.wordnet.WordNet
Returns true of pos is not string-equal to WordNet.advPos.
notNounPos(String) - Static method in class danbikel.wordnet.WordNet
Returns true of pos is not string-equal to WordNet.nounPos.
notVerbPos(String) - Static method in class danbikel.wordnet.WordNet
Returns true of pos is not string-equal to WordNet.verbPos.
nounPos - Static variable in interface danbikel.wordnet.WordNetRemote
The constant representing a noun in WordNet.
nounPos - Static variable in class danbikel.wordnet.WordNet
The constant representing a noun in WordNet.
nounPosIdx - Static variable in interface danbikel.wordnet.WordNetRemote
The integer constant representing a noun in WordNet.
nounPosIdx - Static variable in class danbikel.wordnet.WordNet
The integer constant representing a noun in WordNet.
nounSuffixes - Static variable in class danbikel.wordnet.Morphy
Array of two-element String arrays, where the first element of each two-element array is a potential noun suffix and the second element is a replacement suffix to canonicalize the word form.
numPartsOfSpeech - Static variable in interface danbikel.wordnet.WordNetRemote
The total number of parts of speech in WordNet, collapsing adjective satellites to be adjectives, i.e., 4.
numPartsOfSpeech - Static variable in class danbikel.wordnet.WordNet
The total number of parts of speech in WordNet, collapsing adjective satellites to be adjectives, i.e., 4.

O

options - Static variable in class danbikel.wordnet.Debug
 

P

ParentPointerFilter - class danbikel.wordnet.ParentPointerFilter.
Allows filtering out all WNPointer objects that are not parent (hypernym) pointers.
ParentPointerFilter() - Constructor for class danbikel.wordnet.ParentPointerFilter
 
parentsCache - Variable in class danbikel.wordnet.WordNet
Cache of synset parents.
ParentSemanticPointerFilter - class danbikel.wordnet.ParentSemanticPointerFilter.
Allows filtering out all WNPointer objects that are not parent (hypernym) semantic pointers.
ParentSemanticPointerFilter() - Constructor for class danbikel.wordnet.ParentSemanticPointerFilter
 
partHolonym - Static variable in class danbikel.wordnet.WNPointer
A pointer type of the same name.
participle - Static variable in class danbikel.wordnet.WNPointer
A pointer type of the same name.
partMeronym - Static variable in class danbikel.wordnet.WNPointer
A pointer type of the same name.
partsOfSpeech - Static variable in class danbikel.wordnet.WordNet
An array that forms a mapping from the integer representations of parts of speech to their canonical String representations.
pertainym - Static variable in class danbikel.wordnet.WNPointer
A pointer type of the same name.
pointer - Variable in class danbikel.wordnet.WNDataEntry
The pointers from or to this synset or its elements.
PointerTypeFilter - class danbikel.wordnet.PointerTypeFilter.
Allows the filtering of arbitrary pointer types.
PointerTypeFilter(String) - Constructor for class danbikel.wordnet.PointerTypeFilter
Constructs a filter that lets only WNPointer objects whose type is of ptrType pass through.
poly_cnt - Variable in class danbikel.wordnet.WNIndexEntry
The polysemy of this lemma.
pos - Variable in class danbikel.wordnet.WNDataEntry
The part of speech for this data entry.
pos - Variable in class danbikel.wordnet.WNIndexEntry
The part of speech of the lemma of this index entry.
pos - Variable in class danbikel.wordnet.WNPointer
The part of speech of the source and target of this pointer.
posIdxMap - Static variable in class danbikel.wordnet.WordNet
A mapping between part of speech names and and the corresponding integers for those parts of speech.
posNames - Static variable in class danbikel.wordnet.WordNet
An array that forms a mapping from the integer representations of parts of speech to their unabbreviated names.
prepArr - Static variable in class danbikel.wordnet.Morphy
Array of prepositions.
prepositions - Static variable in class danbikel.wordnet.Morphy
Hashed set of String objects in prepArr, used for determining if a collocation contains a preposition.
printError(String) - Static method in class danbikel.wordnet.WordNet
Prints the error message msg, prepended by a class identifier as would be printed by getClass().getName().
ptr_types - Variable in class danbikel.wordnet.WNIndexEntry
The pointer types from or to this lemma or its synsets.

R

RemoteEnumeration - interface danbikel.wordnet.RemoteEnumeration.
Provides an interface for using Enumeration objects remotely via RMI.
RemoteEnumerator - class danbikel.wordnet.RemoteEnumerator.
This class provides a wrapper for Enumeration objects to be accessed remotely via RMI.
RemoteEnumerator(Enumeration) - Constructor for class danbikel.wordnet.RemoteEnumerator
Constructs a RemoteEnumerator object, wrapping a locally-accessed Enumeration object.

S

save(String) - Method in class danbikel.wordnet.WordNet
Saves this WordNet object to the file specified by filename.
secretFlag - Static variable in class danbikel.wordnet.WordNet
Debugging flag.
SemanticPointerFilter - class danbikel.wordnet.SemanticPointerFilter.
Allows filtering out all WNPointer objects that are not semantic pointers.
SemanticPointerFilter() - Constructor for class danbikel.wordnet.SemanticPointerFilter
 
senseNum - Variable in class danbikel.wordnet.WNWord
The sense number of this lemma as determined by its index entry.
setAllParentsCache(boolean) - Method in class danbikel.wordnet.WordNet
Indicates whether WordNet.getAllParentsBFS(java.lang.String, int) should perform caching.
setFrames(int[]) - Method in class danbikel.wordnet.WNWord
Sets the verb frames for this object (used only for verbs).
setLevel(int) - Static method in class danbikel.wordnet.Debug
 
setMaxDataCacheSize(int) - Method in class danbikel.wordnet.WordNet
Sets the maximum cache size for the data entry cache.
setMaxIndexCacheSize(int) - Method in class danbikel.wordnet.WordNet
Sets the maximum cache size for the index entry cache.
setOptions(String) - Static method in class danbikel.wordnet.Debug
 
setOutputStream(PrintStream) - Static method in class danbikel.wordnet.Debug
 
setSynsets(int[]) - Method in class danbikel.wordnet.WNIndexEntry
Sets the synsets for this index entry.
setUseCache(boolean) - Method in class danbikel.wordnet.WordNet
Sets the caching mode specified by useCache.
setWNDBversion(String) - Method in class danbikel.wordnet.WordNet
Sets the version of the WordNet database files used for lookup to be version.
similarTo - Static variable in class danbikel.wordnet.WNPointer
A pointer type of the same name.
sourceWord - Variable in class danbikel.wordnet.WNPointer
The source word of this pointer.
split(String, String) - Static method in class danbikel.wordnet.Utility
Tokenizes the string s treating delimiters as tokens.
split(String, String, boolean) - Static method in class danbikel.wordnet.Utility
Returns an array of tokens contained in the string s.
substanceHolonym - Static variable in class danbikel.wordnet.WNPointer
A pointer type of the same name.
substanceMeronym - Static variable in class danbikel.wordnet.WNPointer
A pointer type of the same name.
subtreesExplored - Variable in class danbikel.wordnet.WordNet
Sets indexed by part of speech integer that contain subtrees already explored by WordNet.detectCycle(java.util.Set, java.lang.String, int).
suffixArr - Static variable in class danbikel.wordnet.Morphy
Array containing references to suffix arrays nounSuffixes, verbSuffixes and adjSuffixes.
synset - Variable in class danbikel.wordnet.WNWord
The synset of the lemma-synset pair represented by this object.
synset - Variable in class danbikel.wordnet.WNDataEntry
The unique integer representing a synset.
synset - Variable in class danbikel.wordnet.WNPointer
The source synset of this pointer.
synsets - Variable in class danbikel.wordnet.WNIndexEntry
The synsets of which this lemma is a member.
syntacticMarker - Variable in class danbikel.wordnet.WNWord
The syntactic marker of this lemma (an appendage that is optionally used only for adjectives.

T

tagsense_cnt - Variable in class danbikel.wordnet.WNIndexEntry
The number of tagged senses of this lemma.
targetSynset - Variable in class danbikel.wordnet.WNPointer
The target synset of this pointer.
targetWord - Variable in class danbikel.wordnet.WNPointer
The target word of this pointer.
toArray(Vector, Object[]) - Static method in class danbikel.wordnet.Utility
functionally identical to Vector.toArray() in jdk 1.2 jdk 1.1 backward compat fix
toString() - Method in class danbikel.wordnet.WNIndexEntry
Returns a string representation of this index entry.
toString() - Method in class danbikel.wordnet.WNPointer
Returns a string representation of this pointer.
type - Variable in class danbikel.wordnet.WNPointer
The type of this pointer.

U

Utility - class danbikel.wordnet.Utility.
A set of static utility functions.

V

v15 - Static variable in class danbikel.wordnet.WordNet
The String object representing version 1.5 of WordNet.
v16 - Static variable in class danbikel.wordnet.WordNet
The String object representing version 1.6 of WordNet.
verbGroup - Static variable in class danbikel.wordnet.WNPointer
A pointer type of the same name.
verbPos - Static variable in interface danbikel.wordnet.WordNetRemote
The constant representing a verb in WordNet.
verbPos - Static variable in class danbikel.wordnet.WordNet
The constant representing a verb in WordNet.
verbPosIdx - Static variable in interface danbikel.wordnet.WordNetRemote
The integer constant representing a verb in WordNet.
verbPosIdx - Static variable in class danbikel.wordnet.WordNet
The integer constant representing a verb in WordNet.
verbSuffixes - Static variable in class danbikel.wordnet.Morphy
Array of two-element String arrays, where the first element of each two-element array is a potential verb suffix and the second element is a replacement suffix to canonicalize the word form.

W

wn - Variable in class danbikel.wordnet.WordNetServer
WordNet object used to carry out remotely-requested method calls.
wn - Variable in class danbikel.wordnet.WordNetLocal
WordNet object used to carry out remotely-requested method calls.
wn - Variable in class danbikel.wordnet.Morphy
Reference to WordNet object.
WNDataEntry - class danbikel.wordnet.WNDataEntry.
Container of all information associated with a synset's data entry in WordNet.
WNFile - class danbikel.wordnet.WNFile.
A coupling of a filename with its associated RandomAccessFile object.
WNFile(String, RandomAccessFile) - Constructor for class danbikel.wordnet.WNFile
 
WNIndexEntry - class danbikel.wordnet.WNIndexEntry.
Container of all information associated with a lemma's index entry in WordNet.
WNIndexException - exception danbikel.wordnet.WNIndexException.
An (as yet) unused class to represent parse errors encountered during the constructed of WNIndexEntry objects.
WNPointer - class danbikel.wordnet.WNPointer.
Container of all information about a pointer in the WordNet database.
WNWord - class danbikel.wordnet.WNWord.
Representation of a lemma that is a member of a particular synset.
word - Variable in class danbikel.wordnet.WNWord
The lemma of the lemma-synset pair represented by this object.
word - Variable in class danbikel.wordnet.WNDataEntry
The lemmas in this synset.
word - Variable in class danbikel.wordnet.WNIndexEntry
The word (lemma) of this index entry.
wordBase(String, String[][], int) - Method in class danbikel.wordnet.Morphy
Tries to form the base form of a word using information in a suffix lookup table.
WordNet - class danbikel.wordnet.WordNet.
The main object through which the WordNet database is accessed.
WordNet() - Constructor for class danbikel.wordnet.WordNet
Constructs a new WordNet object with default index and data files and the default caching option.
WordNet(boolean) - Constructor for class danbikel.wordnet.WordNet
Constructs a new WordNet object with default index and data files.
WordNet(String) - Constructor for class danbikel.wordnet.WordNet
Constructs a new WordNet object with default index and data files and the default caching option.
WordNet(String, boolean) - Constructor for class danbikel.wordnet.WordNet
Constructs a new WordNet object with default index and data files.
WordNet(String, String, String, String, String, String, String, String, boolean) - Constructor for class danbikel.wordnet.WordNet
Constructs this WordNet object with the specified index and data files and boolean as to whether to perform caching.
WordNetLocal - class danbikel.wordnet.WordNetLocal.
Implementation of the WordNetRemote interface, allowing access to the WordNet database via RMI.
WordNetLocal(WordNet) - Constructor for class danbikel.wordnet.WordNetLocal
Constructs a new WordNetRMI object, using the passed WordNet object to carry out the remotely-requested WordNet method calls.
WordNetRemote - interface danbikel.wordnet.WordNetRemote.
An interface describing methods that can be called via RMI to access the WordNet database.
WordNetServer - class danbikel.wordnet.WordNetServer.
Implementation of the WordNetRemote interface, allowing access to the WordNet database via RMI.
WordNetServer(WordNet) - Constructor for class danbikel.wordnet.WordNetServer
Constructs a new WordNetRMI object, using the passed WordNet object to carry out the remotely-requested WordNet method calls.
WordNetTest - class danbikel.wordnet.WordNetTest.
Test driver for this package, using RMI.
WordNetTest() - Constructor for class danbikel.wordnet.WordNetTest
 

A B C D E F G H I J K L M N O P R S T U V W
Java Access to WordNet

Author: Dan Bikel