| 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 | Method and Description |
|---|---|
void |
RAMDictionary.DictionaryData.WordBuilder.addRelatedWord(IPointer type,
IWordID id) |
| Modifier and Type | Method and Description |
|---|---|
protected IPointer |
IndexLineParser.resolvePointer(String symbol,
POS pos)
Retrieves the pointer objects for the
IndexLineParser.parseLine(String) method. |
protected IPointer |
DataLineParser.resolvePointer(String symbol,
POS pos)
Retrieves the pointer objects for the
DataLineParser.parseLine(String) method. |
| Modifier and Type | Class and Description |
|---|---|
class |
Pointer
Concrete implementation of the
IPointer interface. |
| Modifier and Type | Method and Description |
|---|---|
Set<IPointer> |
IIndexWord.getPointers()
Returns an immutable set containing all the different types of pointers
that this index word has in all synsets containing this word.
|
Set<IPointer> |
IndexWord.getPointers() |
Map<IPointer,List<IWordID>> |
Word.getRelatedMap() |
Map<IPointer,List<IWordID>> |
IWord.getRelatedMap()
Returns an immutable map of from pointers to immutable maps.
|
Map<IPointer,List<ISynsetID>> |
Synset.getRelatedMap() |
Map<IPointer,List<ISynsetID>> |
ISynset.getRelatedMap()
Returns an immutable map from semantic pointers to immutable lists of
synsets.
|
| 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) |
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.
|
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.
|
| Constructor and Description |
|---|
IndexWord(IIndexWordID id,
int tagSenseCnt,
IPointer[] ptrs,
IWordID... words)
Constructs a new index word.
|
IndexWord(String lemma,
POS pos,
int tagSenseCnt,
IPointer[] ptrs,
IWordID... words)
Constructs a new index word.
|
| 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.
|
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.