Dictionarypublic class FileDictionary extends Object implements Dictionary
| Constructor | Description |
|---|---|
FileDictionary(InputStream dictFile) |
|
FileDictionary(Reader reader) |
Creates a dictionary based on a reader.
|
| Modifier and Type | Method | Description |
|---|---|---|
TermFreqIterator |
getWordsIterator() |
Return all words present in the dictionary
|
public FileDictionary(InputStream dictFile)
public FileDictionary(Reader reader)
public TermFreqIterator getWordsIterator()
DictionarygetWordsIterator in interface DictionaryCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.