Java Access to WordNet

Serialized Form


Package danbikel.wordnet

Class danbikel.wordnet.ChildPointerFilter implements Serializable

Class danbikel.wordnet.ChildSemanticPointerFilter implements Serializable

Class danbikel.wordnet.Debug implements Serializable

Class danbikel.wordnet.LexicalPointerFilter implements Serializable

Class danbikel.wordnet.Morphy implements Serializable

Serialized Fields

wn

WordNet wn
Reference to WordNet object.


excFiles

WNFile[] excFiles
Array of WNFile objects, representing exception lists for each of the three morphable parts of speech: nouns, verbs and adjectives.


cache

HashMap[] cache

allCached

boolean[] allCached

Class danbikel.wordnet.ParentPointerFilter implements Serializable

Class danbikel.wordnet.ParentSemanticPointerFilter implements Serializable

Class danbikel.wordnet.PointerTypeFilter implements Serializable

Serialized Fields

ptrType

String ptrType

Class danbikel.wordnet.RemoteEnumerator implements Serializable

Serialized Fields

e

Enumeration e

Class danbikel.wordnet.SemanticPointerFilter implements Serializable

Class danbikel.wordnet.Utility implements Serializable

Class danbikel.wordnet.WNDataEntry implements Serializable

Serialized Fields

synset

int synset
The unique integer representing a synset.


fileNum

int fileNum
The lexicographer's file number for this data entry.


pos

String pos
The part of speech for this data entry.


word

WNWord[] word
The lemmas in this synset.


pointer

WNPointer[] pointer
The pointers from or to this synset or its elements.


frame

int[] frame
The synset-level verb frames for this synset (used only for verbs).


gloss

String gloss
The gloss for this synset.


good

boolean good
Indicator of whether the data entry file line used to construct this object was valid.


adjSatellite

boolean adjSatellite
Indicator of whether this adjective synset is an adjective satellite (used only for adjectives).

Class danbikel.wordnet.WNFile implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Serialized Fields

name

String name

file

RandomAccessFile file

Class danbikel.wordnet.WNIndexEntry implements Serializable

Serialized Fields

word

String word
The word (lemma) of this index entry.


pos

String pos
The part of speech of the lemma of this index entry.


poly_cnt

int poly_cnt
The polysemy of this lemma.


ptr_types

String[] ptr_types
The pointer types from or to this lemma or its synsets.


tagsense_cnt

int tagsense_cnt
The number of tagged senses of this lemma.


synsets

int[] synsets
The synsets of which this lemma is a member.


good

boolean good
Indicator of whether the parse of the line of the index file used to contruct this object was successful.

Class danbikel.wordnet.WNIndexException implements Serializable

Class danbikel.wordnet.WNPointer implements Serializable

Serialized Fields

synset

int synset
The source synset of this pointer.


pos

String pos
The part of speech of the source and target of this pointer.


type

String type
The type of this pointer.


targetSynset

int targetSynset
The target synset of this pointer.


sourceWord

short sourceWord
The source word of this pointer. A value of 0 means the entire synset is the source.


targetWord

short targetWord
The target word of this pointer. A value of 0 means the entire synset is the target.

Class danbikel.wordnet.WNWord implements Serializable

Serialized Fields

word

String word
The lemma of the lemma-synset pair represented by this object.


syntacticMarker

String syntacticMarker
The syntactic marker of this lemma (an appendage that is optionally used only for adjectives.


senseNum

int senseNum
The sense number of this lemma as determined by its index entry.


synset

int synset
The synset of the lemma-synset pair represented by this object.


frame

int[] frame
The verb frames of this lemma (used only for verbs).

Class danbikel.wordnet.WordNet implements Serializable

Serialized Fields

className

String className
A cache of this.getClass().getName().


indexFiles

WNFile[] indexFiles

dataFiles

WNFile[] dataFiles

WNDataDir

String WNDataDir

dataEntryCache

Hashtable[] dataEntryCache
Cache of WNDataEntry objects.


indexEntryCache

Hashtable[] indexEntryCache
Cache of WNIndexEntry objects.


parentsCache

Hashtable[] parentsCache
Cache of synset parents.

See Also:
WordNet.getParents(java.lang.String, int)

childrenCache

Hashtable[] childrenCache
Cache of synset children.

See Also:
WordNet.getChildren(java.lang.String, int)

allDataEntriesCached

boolean[] allDataEntriesCached
Array indexed by part of speech integer indicating whether all data entries for that part of speech have been cached.


allIndexEntriesCached

boolean[] allIndexEntriesCached
Array indexed by part of speech integer indicating whether all index entries for that part of speech have been cached.


knownLemmas

Set[] knownLemmas
Sets indexed by part of speech integer of all known lemmas (index entries) for that part of speech.


knownSynsets

Set[] knownSynsets
Sets indexed by part of speech integer of all known synsets (data entries) for that part of speech.


lemmasAndSynsetsCached

boolean lemmasAndSynsetsCached
True if WordNet.cacheLemmasAndSynsets() has been called.


allParentsCache

Hashtable[] allParentsCache
Cache used by WordNet.getAllParentsBFS(java.lang.String, int).


useAllParentsCache

boolean useAllParentsCache

useCache

boolean useCache

grabGlosses

boolean grabGlosses

maxDataCacheSize

int maxDataCacheSize

maxIndexCacheSize

int maxIndexCacheSize

maxParentsCacheSize

int maxParentsCacheSize

wndbVersion

String wndbVersion

parentSemPtrFilter

ParentSemanticPointerFilter parentSemPtrFilter

childSemPtrFilter

ChildSemanticPointerFilter childSemPtrFilter

backEdges

Set[] backEdges
Sets indexed by part of speech integer that contain erroneous back edges in WordNet for those parts of speech.

See Also:
WordNet.detectCycle(java.util.Set, java.lang.String, int)

subtreesExplored

Set[] subtreesExplored
Sets indexed by part of speech integer that contain subtrees already explored by WordNet.detectCycle(java.util.Set, java.lang.String, int).


canonical

Map canonical
A reflexive map used for canonicalizing various types of objects.

Class danbikel.wordnet.WordNetServer implements Serializable

Serialized Fields

wn

WordNet wn
WordNet object used to carry out remotely-requested method calls. While we could have extended the WordNet class to implement WordNetRMI, that would have required re-implementing all of the methods that this class now inherits from UnicastRemoteObject. Therefore, this class acts as a flow-through to methods implemented by the WordNet class.


Java Access to WordNet

Author: Dan Bikel