Dictionarypublic class PlainTextDictionary extends Object implements Dictionary
| Constructor | Description |
|---|---|
PlainTextDictionary(File file) |
|
PlainTextDictionary(InputStream dictFile) |
|
PlainTextDictionary(Reader reader) |
Creates a dictionary based on a reader.
|
| Modifier and Type | Method | Description |
|---|---|---|
BytesRefIterator |
getWordsIterator() |
Return all words present in the dictionary
|
public PlainTextDictionary(File file) throws FileNotFoundException
FileNotFoundExceptionpublic PlainTextDictionary(InputStream dictFile)
public PlainTextDictionary(Reader reader)
public BytesRefIterator getWordsIterator() throws IOException
DictionarygetWordsIterator in interface DictionaryIOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.