| Package | Description |
|---|---|
| edu.mit.jwi |
Provides the main dictionary interface and a default implementation.
|
| edu.mit.jwi.data |
Provides classes and interfaces for the creation, searching, and interpretation of dictionary data sources.
|
| 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<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) |
protected ISynset |
RAMDictionary.DictionaryData.makeSynset(ISynset old)
Creates a new synset object that replaces all the old internal
ISynsetID objects with those from the denoted synsets,
thus throwing away redundant sysnet ids. |
ISynset |
DataSourceDictionary.DataFileIterator.parseLine(String line) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<ISynset> |
CachingDictionary.getSynsetIterator(POS pos) |
Iterator<ISynset> |
RAMDictionary.getSynsetIterator(POS pos) |
Iterator<ISynset> |
IDictionary.getSynsetIterator(POS pos)
Returns an iterator that will iterate over all synsets of the specified
part of speech.
|
Iterator<ISynset> |
DataSourceDictionary.getSynsetIterator(POS pos) |
protected Iterator<ISynset> |
RAMDictionary.HotSwappableSynsetIterator.makeIterator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CachingDictionary.cacheSynset(ISynset synset)
Caches the specified synset and its words.
|
protected ISynset |
RAMDictionary.DictionaryData.makeSynset(ISynset old)
Creates a new synset object that replaces all the old internal
ISynsetID objects with those from the denoted synsets,
thus throwing away redundant sysnet ids. |
protected IWord |
RAMDictionary.DictionaryData.makeWord(ISynset newSynset,
ISynset oldSynset,
IWord old)
Creates a new word object that replaces all the old internal
IWordID objects with those from the denoted words, thus
throwing away redundant word ids. |
protected void |
DataSourceDictionary.setHeadWord(ISynset synset)
This method sets the head word on the specified synset by searching in
the dictionary to find the head of its cluster.
|
IWord |
RAMDictionary.DictionaryData.WordBuilder.toWord(ISynset synset) |
| Constructor and Description |
|---|
WordBuilder(ISynset oldSynset,
IWord oldWord)
Constructs a new word builder object out of the specified old
synset and word.
|
| Modifier and Type | Field and Description |
|---|---|
static DataType<ISynset> |
DataType.DATA |
static ContentType<ISynset> |
ContentType.DATA_ADJECTIVE |
static ContentType<ISynset> |
ContentType.DATA_ADVERB |
static ContentType<ISynset> |
ContentType.DATA_NOUN |
static ContentType<ISynset> |
ContentType.DATA_VERB |
| Modifier and Type | Method and Description |
|---|---|
static IContentType<ISynset> |
ContentType.getDataContentType(POS pos)
Use this convenience method to retrieve the appropriate
ISynset content type for the specified POS. |
| Modifier and Type | Method and Description |
|---|---|
ISynset |
DataLineParser.parseLine(String line) |
| Modifier and Type | Class and Description |
|---|---|
class |
Synset
Default implementation of the
ISynset interface. |
| Modifier and Type | Method and Description |
|---|---|
ISynset |
Word.getSynset() |
ISynset |
IWord.getSynset()
Returns the synset uniquely identified by this word.
|
| Modifier and Type | Method and Description |
|---|---|
IWord |
Synset.IWordBuilder.toWord(ISynset synset)
Creates the word represented by this builder.
|
IWord |
Synset.WordBuilder.toWord(ISynset synset) |
| Constructor and Description |
|---|
SenseKey(String lemma,
int lexID,
ISynset synset)
Constructs a new sense key.
|
Word(ISynset synset,
int number,
String lemma,
int lexID,
AdjMarker adjMarker,
List<IVerbFrame> frames,
Map<IPointer,? extends List<IWordID>> pointers)
Constructs a new word object.
|
Word(ISynset synset,
IWordID id,
int lexID,
AdjMarker adjMarker,
List<IVerbFrame> frames,
Map<IPointer,? extends List<IWordID>> pointers)
Constructs a new word object.
|
Copyright © 2018. All rights reserved.