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