String CheckText(String text)
    {
        SpellCheckerBase checker = new SpellCheckerBase();

        checker.NotInDictionaryWordFound += new NotInDictionaryWordFoundEventHandler(checker_NotInDictionaryWordFound);

        SpellCheckerISpellDictionary dict = new SpellCheckerISpellDictionary(Server.MapPath("~/Dictionaries/american.xlg"),
                                                                             Server.MapPath("~/Dictionaries/english.aff"),
                                                                             new CultureInfo("en-us"));

        dict.AlphabetPath = Server.MapPath("~/Dictionaries/EnglishAlphabet.txt");
        dict.CacheKey     = "ispellDic";
        dict.Load();

        checker.Dictionaries.Add(dict);

        checker.LevenshteinDistance = 4;

        String result = checker.Check(text);

        return(result);
    }