org.apache.lucene.search.spell
Class LuceneDictionary

java.lang.Object
  extended by org.apache.lucene.search.spell.LuceneDictionary
All Implemented Interfaces:
Dictionary

public class LuceneDictionary
extends java.lang.Object
implements Dictionary

Lucene Dictionary

Author:
Nicolas Maisonneuve

Constructor Summary
LuceneDictionary(IndexReader reader, java.lang.String field)
           
 
Method Summary
 java.util.Iterator getWordsIterator()
          return all the words present in the dictionnary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneDictionary

public LuceneDictionary(IndexReader reader,
                        java.lang.String field)
Method Detail

getWordsIterator

public final java.util.Iterator getWordsIterator()
Description copied from interface: Dictionary
return all the words present in the dictionnary

Specified by:
getWordsIterator in interface Dictionary
Returns:
Iterator


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