org.apache.lucene.spelt
Class SpellTestCmdLine.SpeltSuggTester

Object
  extended by SpellTestCmdLine.SpeltSuggTester
All Implemented Interfaces:
SpellTestCmdLine.SuggTester
Enclosing class:
SpellTestCmdLine

private static class SpellTestCmdLine.SpeltSuggTester
extends Object
implements SpellTestCmdLine.SuggTester

Get spelling suggestions using the Spelt (new) algorithm


Field Summary
(package private)  SpellReader spellReader
           
 
Constructor Summary
SpellTestCmdLine.SpeltSuggTester(String dictDir)
           
 
Method Summary
 void close()
           
 String[] suggest(String[] origPhrase)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

spellReader

SpellReader spellReader
Constructor Detail

SpellTestCmdLine.SpeltSuggTester

SpellTestCmdLine.SpeltSuggTester(String dictDir)
                           throws IOException
Throws:
IOException
Method Detail

suggest

public String[] suggest(String[] origPhrase)
                 throws IOException
Specified by:
suggest in interface SpellTestCmdLine.SuggTester
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface SpellTestCmdLine.SuggTester
Throws:
IOException