private SpellChecker loadSpellChecker(final String lang) throws SpellCheckException {
String pathToDictionaries = getServletContext().getRealPath(JMYSPELL_DICTIONARIES_WEBAPP_PATH);
File dictionariesDir = new File(pathToDictionaries);
File dictionaryFile = new File(dictionariesDir, lang + ".zip");
SpellDictionary dict = null;
try {
dict = new com.dotcms.repackage.org.dts.spell.dictionary.openoffice.OpenOfficeSpellDictionary(new ZipFile(dictionaryFile));
} catch (IOException e) {
throw new SpellCheckException("Failed to load dictionary for language" + lang, e);
}