org.apache.lucene.search.spell
public class PlainTextDictionary extends Object implements Dictionary
| Modifier | Constructor and Description |
|---|---|
|
PlainTextDictionary(File file) |
|
PlainTextDictionary(InputStream dictFile) |
protected |
PlainTextDictionary(Reader reader)
Create a dictionary based on a reader.
|
public PlainTextDictionary(File file) throws FileNotFoundException
FileNotFoundExceptionpublic PlainTextDictionary(InputStream dictFile)
protected PlainTextDictionary(Reader reader)
public Iterator getWordsIterator()
DictionarygetWordsIterator in interface DictionaryCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.