| Modifier and Type | Field and Description |
|---|---|
static java.util.WeakHashMap<java.lang.String,Dictionary> |
Dictionary.defaultDictionaries
Default loaded dictionaries.
|
| Modifier and Type | Method and Description |
|---|---|
Dictionary |
DictionaryLookup.getDictionary() |
static Dictionary |
Dictionary.getForLanguage(java.lang.String languageCode)
Return a built-in dictionary for a given ISO language code.
|
static Dictionary |
Dictionary.read(java.io.File fsaFile)
Attempts to load a dictionary using the path to the FSA file and the
expected metadata extension.
|
static Dictionary |
Dictionary.read(java.net.URL fsaURL)
Attempts to load a dictionary using the URL to the FSA file and the
expected metadata extension.
|
static Dictionary |
Dictionary.readAndClose(java.io.InputStream fsaData,
java.io.InputStream featuresData)
Attempts to load a dictionary from opened streams of FSA dictionary data
and associated metadata.
|
| Constructor and Description |
|---|
DictionaryIterator(Dictionary dictionary,
java.nio.charset.CharsetDecoder decoder,
boolean decodeStems) |
DictionaryLookup(Dictionary dictionary)
Creates a new object of this class using the given FSA for word lookups
and encoding for converting characters to bytes.
|
Copyright © 2015. All Rights Reserved.