org.apache.lucene.search.spell

Class LuceneDictionary

Implemented Interfaces:
Dictionary

public class LuceneDictionary
extends Object
implements Dictionary

Lucene Dictionary
Author:
Nicolas Maisonneuve

Constructor Summary

LuceneDictionary(IndexReader reader, String field)

Method Summary

Iterator
getWordsIterator()
return all the words present in the dictionnary

Constructor Details

LuceneDictionary

public LuceneDictionary(IndexReader reader,
                        String field)

Method Details

getWordsIterator

public final Iterator getWordsIterator()
return all the words present in the dictionnary
Specified by:
getWordsIterator in interface Dictionary
Returns:
Iterator

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.