| Package | Description |
|---|---|
| edu.mit.jwi |
Provides the main dictionary interface and a default implementation.
|
| edu.mit.jwi.morph |
Provides several simple classes that can be used to find the stems of words using Wordnet.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ICachingDictionary
Provides a governing interface for dictionaries that cache their results.
|
interface |
IDataSourceDictionary
A type of
IDictionary which uses an instance of an
IDataProvider to obtain its data. |
interface |
IRAMDictionary
Interface that governs dictionaries that can be completely loaded into memory.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CachingDictionary
A dictionary that caches the results of another dictionary
|
class |
DataSourceDictionary
Basic implementation of the
IDictionary interface. |
class |
Dictionary
Basic
IDictionary implementation that mounts files on disk and has
caching. |
class |
RAMDictionary
Default implementation of the
IRAMDictionary interface. |
| Modifier and Type | Field and Description |
|---|---|
protected IDictionary |
RAMDictionary.backing |
| Modifier and Type | Method and Description |
|---|---|
static IDictionary |
RAMDictionary.createBackingDictionary(File file)
Creates a
DataSourceDictionary out of the specified file, as long
as the file points to an existing local directory. |
static IDictionary |
RAMDictionary.createBackingDictionary(URL url)
Creates a
DataSourceDictionary out of the specified url, as long
as the url points to an existing local directory. |
IDictionary |
CachingDictionary.getBackingDictionary()
Returns the dictionary that is wrapped by this dictionary; will never
return
null |
IDictionary |
RAMDictionary.getBackingDictionary()
Returns the dictionary that backs this instance.
|
| Constructor and Description |
|---|
CachingDictionary(IDictionary backing)
Constructs a new caching dictionary that caches the results of the
specified backing dictionary
|
DataLoader(IDictionary source)
Constructs a new data loader object, that uses the specified
dictionary to load its data.
|
RAMDictionary(IDictionary dict,
int loadPolicy)
Constructs a new RAMDictionary that will load the contents of
the wrapped dictionary into memory, with the specified load policy.
|
RAMDictionary(IDictionary backing,
IRAMDictionary.IInputStreamFactory factory,
int loadPolicy)
This is a internal constructor that unifies the constructor decision
matrix.
|
| Modifier and Type | Method and Description |
|---|---|
IDictionary |
WordnetStemmer.getDictionary()
Returns the dictionary in use by the stemmer; will not return
null |
| Constructor and Description |
|---|
WordnetStemmer(IDictionary dict)
Constructs a WordnetStemmer that, naturally, requires a Wordnet
dictionary.
|
Copyright © 2018. All rights reserved.