| Modifier and Type | Method and Description |
|---|---|
String |
getGloss()
Returns the gloss (brief, plain-English description) of this synset.
|
ILexFile |
getLexicalFile()
Returns a description of the lexical file.
|
int |
getOffset()
Returns the data file byte offset of this synset.
|
Map<IPointer,List<ISynsetID>> |
getRelatedMap()
Returns an immutable map from semantic pointers to immutable lists of
synsets.
|
List<ISynsetID> |
getRelatedSynsets()
Returns an immutable list of synset ids for all synsets that are
connected by pointers to this synset.
|
List<ISynsetID> |
getRelatedSynsets(IPointer ptr)
Returns an immutable list of the ids of all synsets that are related to
this synset by the specified pointer type.
|
int |
getType()
Returns the type of the synset, encoded as follows: 1=Noun, 2=Verb,
3=Adjective, 4=Adverb, 5=Adjective Satellite.
|
IWord |
getWord(int wordNumber)
Returns the word with the specified word number.
|
List<IWord> |
getWords()
Returns an immutable list of the word objects (synset, index word pairs)
associated with this synset.
|
boolean |
isAdjectiveHead()
Returns
true if this synset is an adjective head;
false otherwise. |
boolean |
isAdjectiveSatellite()
Returns
true if this synset is an adjective satellite;
false otherwise. |
int getOffset()
ILexFile getLexicalFile()
int getType()
String getGloss()
null, non-empty gloss.List<IWord> getWords()
null, immutable list of words for this synsetIWord getWord(int wordNumber)
wordNumber - the number of the word to be retrievedIndexOutOfBoundsException - if the word number is not an appropriate word number for this
synset.boolean isAdjectiveHead()
true if this synset is an adjective head;
false otherwise.true if this synset represents an adjective head;
false otherwise.boolean isAdjectiveSatellite()
true if this synset is an adjective satellite;
false otherwise.true if this synset represents an adjective satellite;
false otherwise.Map<IPointer,List<ISynsetID>> getRelatedMap()
IWord.getRelatedMap() on the appropriate word.null, unmodifiable map from pointers to
synsetsList<ISynsetID> getRelatedSynsets(IPointer ptr)
IWord.getRelatedWords()() on the
appropriate object.
If there are no such synsets, this method returns the empty list.
ptr - the pointer for which related synsets are to be retrieved.List<ISynsetID> getRelatedSynsets()
IWord objects.Copyright © 2018. All rights reserved.