| Package | Description |
|---|---|
| edu.mit.jwi |
Provides the main dictionary interface and a default implementation.
|
| edu.mit.jwi.item |
Provides classes and interfaces that represent the Wordnet data structures.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<POS,Map<ISynsetID,ISynset>> |
RAMDictionary.DictionaryData.synsets |
| Modifier and Type | Method and Description |
|---|---|
ISynset |
CachingDictionary.getSynset(ISynsetID id) |
ISynset |
RAMDictionary.getSynset(ISynsetID id) |
ISynset |
IDictionary.getSynset(ISynsetID id)
Retrieves the synset with the specified id from the database.
|
ISynset |
DataSourceDictionary.getSynset(ISynsetID id) |
| Modifier and Type | Class and Description |
|---|---|
class |
SynsetID
Default implementation of the
ISynsetID interface |
| Modifier and Type | Method and Description |
|---|---|
ISynsetID |
Synset.getID() |
ISynsetID |
WordID.getSynsetID() |
ISynsetID |
IWordID.getSynsetID()
Returns the synset id object associated with this word.
|
| Modifier and Type | Method and Description |
|---|---|
Map<IPointer,List<ISynsetID>> |
Synset.getRelatedMap() |
Map<IPointer,List<ISynsetID>> |
ISynset.getRelatedMap()
Returns an immutable map from semantic pointers to immutable lists of
synsets.
|
List<ISynsetID> |
Synset.getRelatedSynsets() |
List<ISynsetID> |
ISynset.getRelatedSynsets()
Returns an immutable list of synset ids for all synsets that are
connected by pointers to this synset.
|
List<ISynsetID> |
Synset.getRelatedSynsets(IPointer type) |
List<ISynsetID> |
ISynset.getRelatedSynsets(IPointer ptr)
Returns an immutable list of the ids of all synsets that are related to
this synset by the specified pointer type.
|
| Constructor and Description |
|---|
Synset(ISynsetID id,
ILexFile lexFile,
boolean isAdjSat,
boolean isAdjHead,
String gloss,
List<Synset.IWordBuilder> wordBuilders,
Map<IPointer,? extends List<ISynsetID>> ids)
Constructs a new synset object with the specified parameters.
|
WordID(ISynsetID id,
int num)
Constructs a word id from the specified arguments.
|
WordID(ISynsetID id,
int num,
String lemma)
Constructs a fully specified word id
|
WordID(ISynsetID id,
String lemma)
Constructs a word id from the specified arguments.
|
| Constructor and Description |
|---|
Synset(ISynsetID id,
ILexFile lexFile,
boolean isAdjSat,
boolean isAdjHead,
String gloss,
List<Synset.IWordBuilder> wordBuilders,
Map<IPointer,? extends List<ISynsetID>> ids)
Constructs a new synset object with the specified parameters.
|
Copyright © 2018. All rights reserved.