private void button1_Click(object sender, EventArgs e) { txt_Ozet.Clear(); try { SummaryTool summaryTool = new SummaryTool(txt_Makale.Text.ToLower()); txt_Ozet.Text = summaryTool.GetSummaryText(); } catch (Exception hata) { MessageBox.Show(hata.Message); } }
public static void main(string[] args) { SummaryTool summary = new SummaryTool(); summary.init(); summary.extractSentenceFromContext(); summary.groupSentencesIntoParagraphs(); summary.printSentences(); summary.createIntersectionMatrix(); summary.createDictionary(); Console.WriteLine("SUMMMARY"); summary.createSummary(); summary.printSummary(); summary.printStats(); }