|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.search.spell.PlainTextDictionary
public class PlainTextDictionary
Dictionary represented by a text file.
Format allowed: 1 word per line:
| Constructor Summary | |
|---|---|
PlainTextDictionary(java.io.File file)
|
|
PlainTextDictionary(java.io.InputStream dictFile)
|
|
PlainTextDictionary(java.io.Reader reader)
Creates a dictionary based on a reader. |
|
| Method Summary | |
|---|---|
java.util.Iterator |
getWordsIterator()
Return all words present in the dictionary |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlainTextDictionary(java.io.File file)
throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic PlainTextDictionary(java.io.InputStream dictFile)
public PlainTextDictionary(java.io.Reader reader)
| Method Detail |
|---|
public java.util.Iterator getWordsIterator()
Dictionary
getWordsIterator in interface Dictionary
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||