| 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 | Method and Description |
|---|---|
void |
RAMDictionary.DictionaryData.WordBuilder.addRelatedWord(IPointer type,
IWordID id) |
IWord |
CachingDictionary.getWord(IWordID id) |
IWord |
RAMDictionary.getWord(IWordID id) |
IWord |
IDictionary.getWord(IWordID id)
Retrieves the word with the specified id from the database.
|
IWord |
DataSourceDictionary.getWord(IWordID id) |
| Modifier and Type | Class and Description |
|---|---|
class |
WordID
Default implementation of the
IWordID interface. |
| Modifier and Type | Method and Description |
|---|---|
IWordID |
Word.getID() |
static IWordID |
WordID.parseWordID(String value)
Parses the result of the
WordID.toString() method back into an
WordID. |
| Modifier and Type | Method and Description |
|---|---|
Map<IPointer,List<IWordID>> |
Word.getRelatedMap() |
Map<IPointer,List<IWordID>> |
IWord.getRelatedMap()
Returns an immutable map of from pointers to immutable maps.
|
List<IWordID> |
Word.getRelatedWords() |
List<IWordID> |
IWord.getRelatedWords()
Returns an immutable list of all word ids related to this word by
pointers in the database.
|
List<IWordID> |
Word.getRelatedWords(IPointer type) |
List<IWordID> |
IWord.getRelatedWords(IPointer ptr)
Returns an immutable list of all word ids related to this word by the
specified pointer type.
|
List<IWordID> |
IIndexWord.getWordIDs()
Returns an immutable list of word id objects, that point to the words for
this root form and part of speech combination.
|
List<IWordID> |
IndexWord.getWordIDs() |
| Modifier and Type | Method and Description |
|---|---|
void |
Synset.IWordBuilder.addRelatedWord(IPointer type,
IWordID id)
Adds a pointer from this word to another word with the specified id.
|
void |
Synset.WordBuilder.addRelatedWord(IPointer type,
IWordID id) |
| Constructor and Description |
|---|
IndexWord(IIndexWordID id,
int tagSenseCnt,
IPointer[] ptrs,
IWordID... words)
Constructs a new index word.
|
IndexWord(IIndexWordID id,
int tagSenseCnt,
IWordID... words)
Constructs a new index word.
|
IndexWord(String lemma,
POS pos,
int tagSenseCnt,
IPointer[] ptrs,
IWordID... words)
Constructs a new index word.
|
IndexWord(String lemma,
POS pos,
int tagSenseCnt,
IWordID... words)
Constructs a new index word.
|
Word(ISynset synset,
IWordID id,
int lexID,
AdjMarker adjMarker,
List<IVerbFrame> frames,
Map<IPointer,? extends List<IWordID>> pointers)
Constructs a new word object.
|
| Constructor and Description |
|---|
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.