| Package | Description |
|---|---|
| edu.mit.jwi |
Provides the main dictionary interface and a default implementation.
|
| edu.mit.jwi.data.parse |
Provides classes and interfaces that parse lines from Wordnet files.
|
| edu.mit.jwi.item |
Provides classes and interfaces that represent the Wordnet data structures.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<ISenseKey,IWord> |
CachingDictionary.ItemCache.keyCache |
protected Map<ISenseKey,ISenseEntry> |
CachingDictionary.ItemCache.senseCache |
protected Map<ISenseKey,ISenseEntry> |
RAMDictionary.DictionaryData.senses |
protected Map<ISenseKey,IWord> |
RAMDictionary.DictionaryData.words |
| Modifier and Type | Method and Description |
|---|---|
ISenseEntry |
CachingDictionary.getSenseEntry(ISenseKey key) |
ISenseEntry |
RAMDictionary.getSenseEntry(ISenseKey key) |
ISenseEntry |
IDictionary.getSenseEntry(ISenseKey key)
Retrieves the sense entry for the specified sense key from the database.
|
ISenseEntry |
DataSourceDictionary.getSenseEntry(ISenseKey key) |
IWord |
CachingDictionary.getWord(ISenseKey key) |
IWord |
RAMDictionary.getWord(ISenseKey key) |
IWord |
IDictionary.getWord(ISenseKey key)
Retrieves the word with the specified sense key from the database.
|
IWord |
DataSourceDictionary.getWord(ISenseKey key) |
protected ISenseEntry |
RAMDictionary.DataLoader.makeSenseEntry(ISenseKey key,
ISenseEntry old)
Creates a new sense entry that replicates the specified sense entry.
|
ISenseEntry |
CachingDictionary.ItemCache.retrieveSenseEntry(ISenseKey key) |
ISenseEntry |
ICachingDictionary.IItemCache.retrieveSenseEntry(ISenseKey key)
Retrieves the sense entry identified by the specified sense key.
|
IWord |
CachingDictionary.ItemCache.retrieveWord(ISenseKey key) |
IWord |
ICachingDictionary.IItemCache.retrieveWord(ISenseKey key)
Retrieves the word identified by the specified sense key.
|
| Modifier and Type | Field and Description |
|---|---|
protected ILineParser<ISenseKey> |
SenseLineParser.keyParser |
| Modifier and Type | Method and Description |
|---|---|
ISenseKey |
SenseKeyParser.parseLine(String key) |
| Constructor and Description |
|---|
SenseLineParser(ILineParser<ISenseKey> keyParser)
This constructor is marked protected so that the class may be
sub-classed, but not directly instantiated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SenseKey
Concrete, default implementation of the
ISenseKey interface. |
| Modifier and Type | Method and Description |
|---|---|
ISenseKey |
Word.getSenseKey() |
ISenseKey |
SenseEntry.getSenseKey() |
ISenseKey |
IWord.getSenseKey()
Returns the sense key for this word.
|
ISenseKey |
ISenseEntry.getSenseKey()
Returns the sense key for this sense entry.
|
| Modifier and Type | Method and Description |
|---|---|
int |
SenseKey.compareTo(ISenseKey key) |
static String |
SenseKey.toString(ISenseKey key)
Returns a a string representation of the specified sense key object.
|
| Constructor and Description |
|---|
SenseEntry(ISenseKey key,
int offset,
int num,
int count)
Constructs a new sense entry object.
|
Copyright © 2018. All rights reserved.