Package org.apache.lucene.search.spell
Interface Dictionary
-
- All Known Implementing Classes:
FileDictionary
,HighFrequencyDictionary
,LuceneDictionary
,PlainTextDictionary
public interface Dictionary
A simple interface representing a Dictionary. A Dictionary here is just a list of words.- Version:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BytesRefIterator
getWordsIterator()
Return all words present in the dictionary
-
-
-
Method Detail
-
getWordsIterator
BytesRefIterator getWordsIterator() throws IOException
Return all words present in the dictionary- Returns:
- Iterator
- Throws:
IOException
-
-