public static void Main(string[] args) { if (!File.Exists("big.txt")) { Console.Error.WriteLine("Cannot find big.txt."); return; } var sample = File.ReadAllText("big.txt"); var corpus = new Corpus(sample); corrector = new SpellCorrect(corpus); ReadFromStdIn(); }