public void TestMethod1() { var input = File.ReadAllLines(@"c:\users\rasmus\documents\visual studio 2015\Projects\TextAnalysis\TextAnalysisTest\Input\TextFile1.txt"); var textAnalyzer = new TextAnalyzer(); var keyWords = textAnalyzer.FindKeyWords(input); foreach (var item in keyWords) { Console.WriteLine(item); } }
private void TextBox_TextChanged(object sender, TextChangedEventArgs e) { KeyWords.Text = string.Join <KeyWord>("\n", _analyser.FindKeyWords(Input.Text)); }