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 |
---|---|
BytesRefIterator |
getWordsIterator()
Return all words present in the dictionary
|
public PlainTextDictionary(File file) throws FileNotFoundException
FileNotFoundException
public PlainTextDictionary(InputStream dictFile)
public PlainTextDictionary(Reader reader)
public BytesRefIterator getWordsIterator() throws IOException
Dictionary
getWordsIterator
in interface Dictionary
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.