public static IEnumerable <string> GetCorrections(string data) { return(GetCorrectionPermutations(data).Where(w => w.Split(' ').All(one => SpellChecker.Checkword(one)))); }