コード例 #1
0
        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);
            }
        }
コード例 #2
0
    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();
    }