com.swabunga.spell.engine
Class SpellDictionaryMultiLingual

java.lang.Object
  extended by com.swabunga.spell.engine.SpellDictionaryASpell
      extended by com.swabunga.spell.engine.SpellDictionaryHashMap
          extended by com.swabunga.spell.engine.SpellDictionaryMultiLingual
All Implemented Interfaces:
SpellDictionary

public class SpellDictionaryMultiLingual
extends SpellDictionaryHashMap


Constructor Summary
SpellDictionaryMultiLingual(java.io.File wordList, java.io.Reader phonetic, boolean language)
          Constructor for the SpellDictionaryMultiLingual object
SpellDictionaryMultiLingual(java.io.Reader wordList, java.io.Reader phonetic, boolean language)
          Dictionary constructor that uses an aspell phonetic file to build the transformation table.
 
Method Summary
 
Methods inherited from class com.swabunga.spell.engine.SpellDictionaryHashMap
addDictionary, addDictionary, addWord, getWords, isCorrect
 
Methods inherited from class com.swabunga.spell.engine.SpellDictionaryASpell
getCode, getSuggestions
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpellDictionaryMultiLingual

public SpellDictionaryMultiLingual(java.io.File wordList,
                                   java.io.Reader phonetic,
                                   boolean language)
                            throws java.io.FileNotFoundException,
                                   java.io.IOException
Constructor for the SpellDictionaryMultiLingual object

Parameters:
wordList - Description of the Parameter
phonetic - Description of the Parameter
Throws:
java.io.FileNotFoundException - Description of the Exception
java.io.IOException - Description of the Exception

SpellDictionaryMultiLingual

public SpellDictionaryMultiLingual(java.io.Reader wordList,
                                   java.io.Reader phonetic,
                                   boolean language)
                            throws java.io.IOException
Dictionary constructor that uses an aspell phonetic file to build the transformation table.

Parameters:
wordList - Description of the Parameter
phonetic - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception