public void ProcessTextFiles(string file1, string file2) { var input = _iTextProcessor.PrepareData(file1, file2); var refWords = _iTextProcessor.TextToList(file2); var sentences = _parser.InputParser(input); var output = _parser.ProcessOutput(sentences, refWords); _iTextProcessor.TextWriter(output, _outputPath, true); Console.WriteLine(); Console.WriteLine("Output------------------------------"); foreach (var word in output) { Console.WriteLine(word); } Console.ReadLine(); }