org.apache.lucene.spelt
Class SpellTestCmdLine.SpeltDictBuilder

Object
  extended by SpellTestCmdLine.DictBuilder
      extended by SpellTestCmdLine.SpeltDictBuilder
Enclosing class:
SpellTestCmdLine

private static class SpellTestCmdLine.SpeltDictBuilder
extends SpellTestCmdLine.DictBuilder

Builds a new-style Spelt spelling dictionary


Field Summary
(package private)  SpellWriter spellWriter
           
 
Constructor Summary
SpellTestCmdLine.SpeltDictBuilder(File dictDir)
           
 
Method Summary
(package private)  void add(Iterator words)
           
(package private)  void finish(ProgressTracker prog)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

spellWriter

SpellWriter spellWriter
Constructor Detail

SpellTestCmdLine.SpeltDictBuilder

SpellTestCmdLine.SpeltDictBuilder(File dictDir)
                            throws IOException
Throws:
IOException
Method Detail

add

void add(Iterator words)
   throws IOException
Overrides:
add in class SpellTestCmdLine.DictBuilder
Throws:
IOException

finish

void finish(ProgressTracker prog)
      throws IOException
Overrides:
finish in class SpellTestCmdLine.DictBuilder
Throws:
IOException